Skip to content

Commit

Permalink
Add experimental formulation schema
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Rutkowski <[email protected]>
  • Loading branch information
mrutkows committed Feb 22, 2023
1 parent bfb0da6 commit 2805158
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions resources/schema/cyclonedx/1.5/bom-1.5-dev-formulation-test.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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"},
Expand Down

0 comments on commit 2805158

Please sign in to comment.