Schema
Type:
object
AttestationStatement is a single in-toto statement attached to an image.
Descriptor
· required
Schema:
OCIDescriptor
PredicateType
· required
Type:
string
The in-toto predicate type URI of this statement.
All schema constraints and annotations
{
"description": "The in-toto predicate type URI of this statement.",
"example": "https://slsa.dev/provenance/v0.2",
"type": "string"
}Statement
Type:
object
The verbatim in-toto statement JSON. Only included when the caller
opts in via the
statement=true query parameter; otherwise absent.All schema constraints and annotations
{
"description": "The verbatim in-toto statement JSON. Only included when the caller\nopts in via the `statement=true` query parameter; otherwise absent.\n",
"type": "object",
"x-nullable": true
}All schema constraints and annotations
{
"description": "AttestationStatement is a single in-toto statement attached to an image.\n",
"properties": {
"Descriptor": {
"$ref": "#/components/schemas/OCIDescriptor"
},
"PredicateType": {
"description": "The in-toto predicate type URI of this statement.",
"example": "https://slsa.dev/provenance/v0.2",
"type": "string"
},
"Statement": {
"description": "The verbatim in-toto statement JSON. Only included when the caller\nopts in via the `statement=true` query parameter; otherwise absent.\n",
"type": "object",
"x-nullable": true
}
},
"required": [
"Descriptor",
"PredicateType"
],
"type": "object",
"x-go-name": "AttestationStatement"
}