|
1 | 1 | { |
2 | 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
3 | | - "$id": "http://cyclonedx.org/schema/bom-1.3.schema.json", |
| 3 | + "$id": "http://cyclonedx.org/schema/bom-1.3a.schema.json", |
4 | 4 | "type": "object", |
5 | 5 | "title": "CycloneDX Software Bill-of-Material Specification", |
6 | 6 | "$comment" : "CycloneDX JSON schema is published under the terms of the Apache License 2.0.", |
|
11 | 11 | ], |
12 | 12 | "additionalProperties": false, |
13 | 13 | "properties": { |
| 14 | + "$schema": { |
| 15 | + "type": "string", |
| 16 | + "enum": [ |
| 17 | + "http://cyclonedx.org/schema/bom-1.3.schema.json" |
| 18 | + ] |
| 19 | + }, |
14 | 20 | "bomFormat": { |
15 | 21 | "$id": "#/properties/bomFormat", |
16 | 22 | "type": "string", |
|
161 | 167 | "description": "The date and time (timestamp) when the document was created." |
162 | 168 | }, |
163 | 169 | "hashes": { |
164 | | - "$id": "#/properties/hashes", |
| 170 | + "$id": "#/definitions/tool/properties/hashes", |
165 | 171 | "type": "array", |
166 | 172 | "items": {"$ref": "#/definitions/hash"}, |
167 | 173 | "title": "Hashes", |
|
402 | 408 | "title": "External References" |
403 | 409 | }, |
404 | 410 | "components": { |
405 | | - "$id": "#/properties/components", |
| 411 | + "$id": "#/definitions/component/properties/components", |
406 | 412 | "type": "array", |
407 | 413 | "items": {"$ref": "#/definitions/component"}, |
408 | 414 | "uniqueItems": true, |
|
828 | 834 | ] |
829 | 835 | }, |
830 | 836 | "hashes": { |
831 | | - "$id": "#/properties/hashes", |
| 837 | + "$id": "#/definitions/externalReference/properties/hashes", |
832 | 838 | "type": "array", |
833 | 839 | "items": {"$ref": "#/definitions/hash"}, |
834 | 840 | "title": "Hashes", |
|
939 | 945 | "title": "External References" |
940 | 946 | }, |
941 | 947 | "services": { |
942 | | - "$id": "#/properties/services", |
| 948 | + "$id": "#/definitions/service/properties/services", |
943 | 949 | "type": "array", |
944 | 950 | "items": {"$ref": "#/definitions/service"}, |
945 | 951 | "uniqueItems": true, |
|
0 commit comments