|
137 | 137 | "$ref": "cyclonedx-patent-2.0.schema.json#/$defs/patentAssertions", |
138 | 138 | "title": "Component Patent(s)" |
139 | 139 | }, |
140 | | - "cpe": { |
141 | | - "type": "string", |
142 | | - "title": "Common Platform Enumeration (CPE)", |
143 | | - "description": "Asserts the identity of the component using CPE. The CPE must conform to the CPE 2.2 or 2.3 specification. See [https://nvd.nist.gov/products/cpe](https://nvd.nist.gov/products/cpe). Refer to `@.evidence.identity` to optionally provide evidence that substantiates the assertion of the component's identity.", |
144 | | - "examples": ["cpe:2.3:a:acme:component_framework:-:*:*:*:*:*:*:*"] |
145 | | - }, |
146 | | - "purl": { |
147 | | - "type": "string", |
148 | | - "title": "Package URL (purl)", |
149 | | - "description": "Asserts the identity of the component using package-url (purl). The purl, if specified, must be valid and conform to the specification defined at: [https://github.com/package-url/purl-spec](https://github.com/package-url/purl-spec). Refer to `@.evidence.identity` to optionally provide evidence that substantiates the assertion of the component's identity.", |
150 | | - "examples": ["pkg:maven/com.acme/tomcat-catalina@9.0.14?packaging=jar"] |
151 | | - }, |
152 | | - "omniborId": { |
153 | | - "type": "array", |
154 | | - "title": "OmniBOR Artifact Identifier (gitoid)", |
155 | | - "description": "Asserts the identity of the component using the OmniBOR Artifact ID. The OmniBOR, if specified, must be valid and conform to the specification defined at: [https://www.iana.org/assignments/uri-schemes/prov/gitoid](https://www.iana.org/assignments/uri-schemes/prov/gitoid). Refer to `@.evidence.identity` to optionally provide evidence that substantiates the assertion of the component's identity.", |
156 | | - "items": { "type": "string" }, |
157 | | - "examples": [ |
158 | | - "gitoid:blob:sha1:a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", |
159 | | - "gitoid:blob:sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08" |
160 | | - ] |
161 | | - }, |
162 | | - "swhid": { |
163 | | - "type": "array", |
164 | | - "title": "Software Heritage Identifier", |
165 | | - "description": "Asserts the identity of the component using the Software Heritage persistent identifier (SWHID). The SWHID, if specified, must be valid and conform to the specification defined at: [https://docs.softwareheritage.org/devel/swh-model/persistent-identifiers.html](https://docs.softwareheritage.org/devel/swh-model/persistent-identifiers.html). Refer to `@.evidence.identity` to optionally provide evidence that substantiates the assertion of the component's identity.", |
166 | | - "items": { "type": "string" }, |
167 | | - "examples": ["swh:1:cnt:94a9ed024d3859793618152ea559a168bbcbb5e2"] |
168 | | - }, |
169 | | - "swid": { |
170 | | - "$ref": "#/$defs/swid", |
171 | | - "title": "SWID Tag", |
172 | | - "description": "Asserts the identity of the component using [ISO-IEC 19770-2 Software Identification (SWID) Tags](https://www.iso.org/standard/65666.html). Refer to `@.evidence.identity` to optionally provide evidence that substantiates the assertion of the component's identity." |
| 140 | + "identifiers": { |
| 141 | + "$ref": "#/$defs/identifiers" |
173 | 142 | }, |
174 | 143 | "pedigree": { |
175 | 144 | "type": "object", |
|
334 | 303 | } |
335 | 304 | } |
336 | 305 | }, |
337 | | - "swid": { |
338 | | - "type": "object", |
339 | | - "title": "SWID Tag", |
340 | | - "description": "Specifies metadata and content for ISO-IEC 19770-2 Software Identification (SWID) Tags.", |
341 | | - "required": [ |
342 | | - "tagId", |
343 | | - "name" |
344 | | - ], |
345 | | - "additionalProperties": false, |
346 | | - "properties": { |
347 | | - "tagId": { |
348 | | - "type": "string", |
349 | | - "title": "Tag ID", |
350 | | - "description": "Maps to the tagId of a SoftwareIdentity." |
351 | | - }, |
352 | | - "name": { |
353 | | - "type": "string", |
354 | | - "title": "Name", |
355 | | - "description": "Maps to the name of a SoftwareIdentity." |
356 | | - }, |
357 | | - "version": { |
358 | | - "type": "string", |
359 | | - "title": "Version", |
360 | | - "default": "0.0", |
361 | | - "description": "Maps to the version of a SoftwareIdentity." |
362 | | - }, |
363 | | - "tagVersion": { |
364 | | - "type": "integer", |
365 | | - "title": "Tag Version", |
366 | | - "default": 0, |
367 | | - "description": "Maps to the tagVersion of a SoftwareIdentity." |
368 | | - }, |
369 | | - "patch": { |
370 | | - "type": "boolean", |
371 | | - "title": "Patch", |
372 | | - "default": false, |
373 | | - "description": "Maps to the patch of a SoftwareIdentity." |
374 | | - }, |
375 | | - "text": { |
376 | | - "title": "Attachment text", |
377 | | - "description": "Specifies the metadata and content of the SWID tag.", |
378 | | - "$ref": "cyclonedx-common-2.0.schema.json#/$defs/attachment" |
379 | | - }, |
380 | | - "url": { |
381 | | - "type": "string", |
382 | | - "title": "URL", |
383 | | - "description": "The URL to the SWID file.", |
384 | | - "format": "iri-reference" |
385 | | - } |
386 | | - } |
387 | | - }, |
388 | 306 | "componentEvidence": { |
389 | 307 | "type": "object", |
390 | 308 | "title": "Evidence", |
|
542 | 460 | "type": "object", |
543 | 461 | "title": "Identity Evidence", |
544 | 462 | "description": "Evidence that substantiates the identity of a component.", |
545 | | - "required": [ "field" ], |
| 463 | + "required": [ "scheme" ], |
546 | 464 | "additionalProperties": false, |
547 | 465 | "properties": { |
548 | | - "field": { |
549 | | - "type": "string", |
550 | | - "enum": [ |
551 | | - "group", "name", "version", "purl", "cpe", "omniborId", "swhid", "swid", "hash" |
552 | | - ], |
553 | | - "title": "Field", |
554 | | - "description": "The identity field of the component which the evidence describes." |
| 466 | + "scheme": { |
| 467 | + "$ref": "#/$defs/identityScheme" |
555 | 468 | }, |
556 | 469 | "confidence": { |
557 | 470 | "type": "number", |
|
563 | 476 | "concludedValue": { |
564 | 477 | "type": "string", |
565 | 478 | "title": "Concluded Value", |
566 | | - "description": "The value of the field (cpe, purl, etc) that has been concluded based on the aggregate of all methods (if available)." |
| 479 | + "description": "The value of the scheme that has been concluded based on the aggregate of all methods (if available)." |
567 | 480 | }, |
568 | 481 | "methods": { |
569 | 482 | "type": "array", |
|
714 | 627 | "$ref": "cyclonedx-data-2.0.schema.json#/$defs/dataGovernance" |
715 | 628 | } |
716 | 629 | } |
| 630 | + }, |
| 631 | + "identifiers": { |
| 632 | + "type": "array", |
| 633 | + "title": "Identifiers", |
| 634 | + "description": "Identifiers asserted by one or more parties to identify this component. Each entry groups one or more identity claims by the party asserting them. Identifiers carry positive claims of identity. For unverified or inferred identity data, use evidence.", |
| 635 | + "items": { |
| 636 | + "$ref": "#/$defs/identifier" |
| 637 | + }, |
| 638 | + "uniqueItems": true |
| 639 | + }, |
| 640 | + "identifier": { |
| 641 | + "type": "object", |
| 642 | + "title": "Identifier", |
| 643 | + "description": "A set of identifiers attributed to a single asserting party.", |
| 644 | + "required": [ |
| 645 | + "party", |
| 646 | + "identities" |
| 647 | + ], |
| 648 | + "additionalProperties": false, |
| 649 | + "properties": { |
| 650 | + "bom-ref": { |
| 651 | + "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refType" |
| 652 | + }, |
| 653 | + "party": { |
| 654 | + "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refLinkType", |
| 655 | + "title": "Asserting Party", |
| 656 | + "description": "Reference using bom-link or bom-ref to the party making the identity assertion." |
| 657 | + }, |
| 658 | + "identities": { |
| 659 | + "type": "array", |
| 660 | + "title": "Identities", |
| 661 | + "description": "The discrete identity claims asserted by the party.", |
| 662 | + "items": { |
| 663 | + "$ref": "#/$defs/identity" |
| 664 | + }, |
| 665 | + "minItems": 1, |
| 666 | + "uniqueItems": true |
| 667 | + } |
| 668 | + } |
| 669 | + }, |
| 670 | + "identity": { |
| 671 | + "type": "object", |
| 672 | + "title": "Identity", |
| 673 | + "description": "A single identity claim, pairing a typed identifier scheme with the value asserted under that scheme.", |
| 674 | + "required": [ |
| 675 | + "scheme", |
| 676 | + "value" |
| 677 | + ], |
| 678 | + "additionalProperties": false, |
| 679 | + "properties": { |
| 680 | + "scheme": { "$ref": "#/$defs/identityScheme" }, |
| 681 | + "value": { "$ref": "#/$defs/identityValue" } |
| 682 | + } |
| 683 | + }, |
| 684 | + "identityScheme": { |
| 685 | + "title": "Identifier Scheme", |
| 686 | + "description": "The scheme under which an identifier is asserted. Either a predefined value or a custom scheme described by name and description.", |
| 687 | + "oneOf": [ |
| 688 | + { |
| 689 | + "type": "string", |
| 690 | + "enum": [ |
| 691 | + "purl", |
| 692 | + "cpe", |
| 693 | + "swid", |
| 694 | + "swhid", |
| 695 | + "omniborid", |
| 696 | + "epc-rfid", |
| 697 | + "giai", |
| 698 | + "gln", |
| 699 | + "gmn", |
| 700 | + "gtin-8", |
| 701 | + "gtin-12", |
| 702 | + "gtin-13", |
| 703 | + "gtin-14", |
| 704 | + "mpn", |
| 705 | + "part-number", |
| 706 | + "model-number", |
| 707 | + "sku", |
| 708 | + "serial-number", |
| 709 | + "asset-tag", |
| 710 | + "udi-di", |
| 711 | + "udi-pi", |
| 712 | + "fcc-id", |
| 713 | + "imei", |
| 714 | + "mac-address", |
| 715 | + "tei" |
| 716 | + ], |
| 717 | + "meta:enum": { |
| 718 | + "purl": "Package-URL identifier, conforming to the Package-URL specification.", |
| 719 | + "cpe": "Common Platform Enumeration name, conforming to NIST Interagency Report 7695.", |
| 720 | + "swid": "Software Identification tag identifier, conforming to ISO/IEC 19770-2.", |
| 721 | + "swhid": "Software Heritage persistent identifier.", |
| 722 | + "omniborid": "OmniBOR Artifact Identifier, also known as a gitoid.", |
| 723 | + "epc-rfid": "Electronic Product Code - RFID (EPC Tag Data Standard)", |
| 724 | + "giai": "Global Individual Asset Identifier (GIAI)", |
| 725 | + "gln": "Global Location Number (GLN)", |
| 726 | + "gmn": "Global Model Number (GMN)", |
| 727 | + "gtin-8": "Global Trade Identification Number (GTIN-8 / EAN/UCC-8)", |
| 728 | + "gtin-12": "Global Trade Identification Number (GTIN-12 / UPC-A)", |
| 729 | + "gtin-13": "Global Trade Identification Number (GTIN-13 / EAN/UCC-13)", |
| 730 | + "gtin-14": "Global Trade Identification Number (GTIN / EAN/UCC-14 or ITF-14)", |
| 731 | + "mpn": "Manufacturer Part Number, assigned by the original manufacturer.", |
| 732 | + "part-number": "Part number assigned by a distributor, integrator, or operator.", |
| 733 | + "model-number": "Product model number assigned by the manufacturer.", |
| 734 | + "sku": "Stock Keeping Unit, assigned by a seller or distributor.", |
| 735 | + "serial-number": "Unique identifier for an individual instance of a product.", |
| 736 | + "asset-tag": "Asset tag assigned by the owning or operating organization.", |
| 737 | + "udi-di": "Unique Device Identifier, Device Identifier portion, conforming to ISO/IEC 15459 and applicable regulatory frameworks.", |
| 738 | + "udi-pi": "Unique Device Identifier, Production Identifier portion, conforming to ISO/IEC 15459 and applicable regulatory frameworks.", |
| 739 | + "fcc-id": "United States Federal Communications Commission equipment identifier.", |
| 740 | + "imei": "International Mobile Equipment Identity, conforming to 3GPP TS 23.003.", |
| 741 | + "mac-address": "IEEE 802 Media Access Control address.", |
| 742 | + "tei": "Transparency Exchange Identifier conforming to the Transparency Exchange API specification." |
| 743 | + } |
| 744 | + }, |
| 745 | + { |
| 746 | + "type": "object", |
| 747 | + "title": "Custom Identifier Scheme", |
| 748 | + "description": "A custom identifier scheme not represented in the predefined taxonomy.", |
| 749 | + "required": [ |
| 750 | + "name" |
| 751 | + ], |
| 752 | + "additionalProperties": false, |
| 753 | + "properties": { |
| 754 | + "name": { |
| 755 | + "type": "string", |
| 756 | + "minLength": 1, |
| 757 | + "title": "Name", |
| 758 | + "description": "The name of the custom identifier scheme." |
| 759 | + }, |
| 760 | + "description": { |
| 761 | + "type": "string", |
| 762 | + "title": "Description", |
| 763 | + "description": "A description of the custom identifier scheme." |
| 764 | + } |
| 765 | + } |
| 766 | + } |
| 767 | + ] |
| 768 | + }, |
| 769 | + "identityValue": { |
| 770 | + "type": "string", |
| 771 | + "minLength": 1, |
| 772 | + "title": "Identifier Value", |
| 773 | + "description": "The value of an identifier." |
717 | 774 | } |
718 | 775 | } |
719 | 776 | } |
0 commit comments