40 lines
862 B
JSON
40 lines
862 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"id": "https://git.openstack.org/cgit/openstack/project-navigator-data/plain/schema.json#",
|
|
"type": "object",
|
|
"required": ["versions"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"versions": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/version"
|
|
}
|
|
}
|
|
},
|
|
"definitions": {
|
|
"version": {
|
|
"properties": {
|
|
"status": {
|
|
"type": "string",
|
|
"enum": ["CURRENT", "SUPPORTED", "DEPRECATED"]
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"pattern": "^v[0-9]{1,2}.?[0-9]{0,2}$"
|
|
},
|
|
"max_version": {
|
|
"type": "string",
|
|
"pattern": "^[0-9]{1,2}.[0-9]{1,2}$"
|
|
},
|
|
"min_version": {
|
|
"type": "string",
|
|
"pattern": "^[0-9]{1,2}.[0-9]{1,2}$"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"reqiured": ["status", "id"]
|
|
}
|
|
}
|
|
}
|