Files

45 lines
931 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ResultManifest v1",
"type": "object",
"additionalProperties": false,
"required": [
"output",
"artifacts"
],
"properties": {
"output": {},
"artifacts": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"artifactId",
"digest",
"sizeBytes",
"mediaType"
],
"properties": {
"artifactId": {
"type": "string",
"minLength": 1
},
"digest": {
"type": "string",
"pattern": "^sha256:[a-f0-9]{64}$"
},
"sizeBytes": {
"type": "integer",
"minimum": 0
},
"mediaType": {
"type": "string",
"minLength": 1
}
}
}
}
}
}