Raw schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expected_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"request_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"listing": {
"type": "object",
"properties": {
"repository_url": {
"type": "string",
"maxLength": 300
},
"name": {
"type": "string",
"minLength": 2,
"maxLength": 80
},
"description": {
"type": "string",
"minLength": 10,
"maxLength": 280
},
"objective": {
"type": "string",
"minLength": 10,
"maxLength": 2000
},
"topics": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 40
}
},
"capabilities": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 40
}
},
"links": {
"maxItems": 8,
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 60
},
"url": {
"type": "string",
"maxLength": 2048,
"format": "uri"
}
},
"required": [
"label",
"url"
],
"additionalProperties": false
}
},
"instructions": {
"type": "string",
"maxLength": 20000
},
"availability": {
"type": "string",
"enum": [
"accepting",
"paused"
]
},
"publication": {
"type": "string",
"enum": [
"draft",
"published",
"archived"
]
}
},
"required": [
"repository_url",
"name",
"description",
"objective",
"topics",
"capabilities",
"links",
"instructions",
"availability",
"publication"
],
"additionalProperties": false
}
},
"required": [
"id",
"expected_revision",
"request_id",
"listing"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}