Files
popki/schemas/project.schema.json
T

64 lines
1.2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "urn:ald-transition:project",
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 36,
"format": "uuid"
},
"schema_version": {
"const": 1
},
"target_domain": {
"type": "string",
"maxLength": 253,
"format": "hostname"
},
"source_domain": {
"type": "string",
"maxLength": 253,
"format": "hostname"
},
"desired_outcomes": {
"type": "array",
"maxItems": 32,
"items": {
"type": "string",
"maxLength": 128
}
},
"lab_mode": {
"type": "boolean"
},
"created_at": {
"type": "string",
"maxLength": 40,
"format": "date-time"
},
"updated_at": {
"type": "string",
"maxLength": 40,
"format": "date-time"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
}
},
"required": [
"id",
"schema_version",
"target_domain",
"source_domain",
"desired_outcomes",
"lab_mode",
"created_at",
"updated_at",
"version"
],
"additionalProperties": false
}