From 28051580f2982ab5567a9c54a14d376f1710fa0a Mon Sep 17 00:00:00 2001 From: Matt Rutkowski <mrutkows@us.ibm.com> Date: Wed, 22 Feb 2023 08:01:09 -0600 Subject: [PATCH] Add experimental formulation schema Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com> --- .../cyclonedx/1.5/bom-1.5-dev-formulation-test.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/resources/schema/cyclonedx/1.5/bom-1.5-dev-formulation-test.json b/resources/schema/cyclonedx/1.5/bom-1.5-dev-formulation-test.json index 1b2c2efe..3c94ba65 100644 --- a/resources/schema/cyclonedx/1.5/bom-1.5-dev-formulation-test.json +++ b/resources/schema/cyclonedx/1.5/bom-1.5-dev-formulation-test.json @@ -258,7 +258,11 @@ "enum": [ "configuration", "parameters", "environment-vars", "data", "other"] }, "source": { - "$comment": "Component or service the provided the input to the task (e.g., reference to a service data flow value of `inbound`)", + "$comment": "Component or service the provided the input to the task (e.g., reference to a service with data flow value of `inbound`)", + "$ref": "#/definitions/resourceReferenceChoice" + }, + "target": { + "$comment": "Component or service that received or stored the input if not the task itself (e.g., a local, named storage workspace)", "$ref": "#/definitions/resourceReferenceChoice" }, "environmentVars": { @@ -277,8 +281,12 @@ "type": "string", "enum": [ "log", "evidence", "metrics", "data", "other"] }, + "source": { + "$comment": "Component or service that generated or provided the output from the task (e.g., a build tool)", + "$ref": "#/definitions/resourceReferenceChoice" + }, "target": { - "$comment": "Component or service the provided the input to the task (e.g., reference to a service data flow value of `outbound`)", + "$comment": "Component or service that received the output from the task (e.g., reference to an artifactory service with data flow value of `outbound`)", "$ref": "#/definitions/resourceReferenceChoice" }, "data": {"$ref": "#/definitions/attachment"},