52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
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",
|
|
"EXPERIMENTAL",
|
|
"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}$"
|
|
},
|
|
"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,
|
|
"required":[
|
|
"status",
|
|
"id"
|
|
]
|
|
}
|
|
}
|
|
}
|