Class: InTotoAnnotation
One vendor-specific annotation on a resource descriptor: a key and its values.
classDiagram
class InTotoAnnotation
click InTotoAnnotation href "../InTotoAnnotation/"
InTotoAnnotation : annotation_key
InTotoAnnotation : annotation_values
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| annotation_key | 1 String |
The annotation’s key | direct |
| annotation_values | * String |
The annotation’s values | direct |
Usages
Section titled “Usages”| used by | used in | type | used |
|---|---|---|---|
| SlsaVerificationSummaryPolicy | annotations | range | InTotoAnnotation |
| SlsaVerificationSummaryInputAttestation | annotations | range | InTotoAnnotation |
| InTotoResourceDescriptor | annotations | range | InTotoAnnotation |
| InTotoStatementSubject | annotations | range | InTotoAnnotation |
Comments
Section titled “Comments”- The attestation’s JSON allows any JSON value. A string becomes one value and an array one value per item; any other value or item is written as its JSON text, so one value cannot tell a string from a one-item array.
- Each key appears once in a list, since the attestation’s JSON uses it as a key; the validator does not check this.
Identifier and Mapping Information
Section titled “Identifier and Mapping Information”Schema Source
Section titled “Schema Source”- from schema: https://w3id.org/lmodel/slsa
Mappings
Section titled “Mappings”| Mapping Type | Mapped Value |
|---|---|
| self | slsa:InTotoAnnotation |
| native | slsa:InTotoAnnotation |
LinkML Source
Section titled “LinkML Source”Direct
Section titled “Direct”name: InTotoAnnotationdescription: 'One vendor-specific annotation on a resource descriptor: a key and its values.'comments:- The attestation's JSON allows any JSON value. A string becomes one value and an array one value per item; any other value or item is written as its JSON text, so one value cannot tell a string from a one-item array.- Each key appears once in a list, since the attestation's JSON uses it as a key; the validator does not check this.from_schema: https://w3id.org/lmodel/slsaattributes: annotation_key: name: annotation_key description: The annotation's key. from_schema: https://w3id.org/lmodel/in-toto/in_toto_core rank: 1000 slot_uri: in_toto_linkml:annotation_key domain_of: - InTotoAnnotation required: true annotation_values: name: annotation_values description: The annotation's values. from_schema: https://w3id.org/lmodel/in-toto/in_toto_core rank: 1000 slot_uri: in_toto_linkml:annotation_values domain_of: - InTotoAnnotation multivalued: trueInduced
Section titled “Induced”name: InTotoAnnotationdescription: 'One vendor-specific annotation on a resource descriptor: a key and its values.'comments:- The attestation's JSON allows any JSON value. A string becomes one value and an array one value per item; any other value or item is written as its JSON text, so one value cannot tell a string from a one-item array.- Each key appears once in a list, since the attestation's JSON uses it as a key; the validator does not check this.from_schema: https://w3id.org/lmodel/slsaattributes: annotation_key: name: annotation_key description: The annotation's key. from_schema: https://w3id.org/lmodel/in-toto/in_toto_core rank: 1000 slot_uri: in_toto_linkml:annotation_key owner: InTotoAnnotation domain_of: - InTotoAnnotation range: string required: true annotation_values: name: annotation_values description: The annotation's values. from_schema: https://w3id.org/lmodel/in-toto/in_toto_core rank: 1000 slot_uri: in_toto_linkml:annotation_values owner: InTotoAnnotation domain_of: - InTotoAnnotation range: string multivalued: true