Skip to content

Class: InTotoAnnotation

One vendor-specific annotation on a resource descriptor: a key and its values.

URI: slsa:InTotoAnnotation

 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
used by used in type used
SlsaVerificationSummaryPolicy annotations range InTotoAnnotation
SlsaVerificationSummaryInputAttestation annotations range InTotoAnnotation
InTotoResourceDescriptor annotations range InTotoAnnotation
InTotoStatementSubject annotations range InTotoAnnotation
  • 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.
Mapping Type Mapped Value
self slsa:InTotoAnnotation
native slsa:InTotoAnnotation
name: InTotoAnnotation
description: '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/slsa
attributes:
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: true
name: InTotoAnnotation
description: '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/slsa
attributes:
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