Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion schema/2.0/cyclonedx-2.0-bundled.min.schema.json

Large diffs are not rendered by default.

2,034 changes: 1,520 additions & 514 deletions schema/2.0/cyclonedx-2.0-bundled.schema.json

Large diffs are not rendered by default.

377 changes: 164 additions & 213 deletions schema/2.0/model/cyclonedx-component-2.0.schema.json

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions schema/2.0/model/cyclonedx-data-2.0.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,39 @@
"PCI-DSS"
]
},
"title": "Data flow direction",
"description": "Specifies the flow direction of the data. Direction is relative to the service."
},
"dataContents": {
Comment thread
jkowalleck marked this conversation as resolved.
"type": "object",
"title": "Data Contents",
"description": "The contents of the data, either embedded as an attachment or referenced by URL, optionally with integrity hashes and configuration properties.",
"additionalProperties": false,
"properties": {
"attachment": {
"$ref": "cyclonedx-common-2.0.schema.json#/$defs/attachment",
"title": "Data Attachment",
"description": "A way to include textual or encoded data."
},
"url": {
"type": "string",
"title": "Data URL",
"description": "The URL to where the data can be retrieved.",
"format": "iri-reference"
},
"hashes": {
"type": "array",
"title": "Hashes",
"description": "Cryptographic hashes of the referenced or attached data, so that a consumer can verify it is the same data recorded.",
"items": { "$ref": "cyclonedx-common-2.0.schema.json#/$defs/hash" }
},
"properties": {
"type": "array",
"title": "Configuration Properties",
"description": "Name-value parameters that describe or configure the data.",
"items": { "$ref": "cyclonedx-common-2.0.schema.json#/$defs/property" }
}
}
"examples": [
[
"GDPR",
Expand Down
18 changes: 2 additions & 16 deletions schema/2.0/model/cyclonedx-declaration-2.0.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,23 +234,9 @@
"type": "string"
},
"contents": {
"type": "object",
"$ref": "cyclonedx-data-2.0.schema.json#/$defs/dataContents",
"title": "Data Contents",
"description": "The contents or references to the contents of the data being described.",
"additionalProperties": false,
"properties": {
"attachment": {
"title": "Data Attachment",
"description": "A way to include textual or encoded data.",
"$ref": "cyclonedx-common-2.0.schema.json#/$defs/attachment"
},
"url": {
"type": "string",
"title": "Data URL",
"description": "The URL to where the data can be retrieved.",
"format": "iri-reference"
}
}
"description": "The contents or references to the contents of the data being described."
},
"classification": {
"$ref": "cyclonedx-data-2.0.schema.json#/$defs/dataClassification"
Expand Down
Loading
Loading