69 lines
2.2 KiB
JSON
69 lines
2.2 KiB
JSON
{
|
|
"title": "Tier",
|
|
"description": "Describes a list of function sets",
|
|
"type": "object",
|
|
"properties": {
|
|
"tiers": {
|
|
"description": "A list of tiers",
|
|
"type": "array",
|
|
"items": {
|
|
"description": "A tier object",
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"description": "Integer denoting the specific tier",
|
|
"type": "integer"
|
|
},
|
|
"function_sets": {
|
|
"description": "A list of function sets held by this tier",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"description": "Integer denoting the specific function",
|
|
"type": "integer"
|
|
},
|
|
"name": {
|
|
"description": "The name of this function",
|
|
"type": "string"
|
|
},
|
|
"tags": {
|
|
"description": "Function tags associated with this function",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"description": "Integer denoting the specific function tag",
|
|
"type": "integer"
|
|
},
|
|
"name": {
|
|
"description": "The name of this function tag",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"requirements": {
|
|
"description": "Functions required by this function",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "tier.schema.json#/properties/tiers/items/properties/function_sets/items"
|
|
}
|
|
}
|
|
},
|
|
"required": ["id", "name", "tags", "requirements"]
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": ["id", "function_sets"]
|
|
}
|
|
},
|
|
"tier_update": {
|
|
"$ref": "tier.schema.json#/properties/tiers/items"
|
|
}
|
|
},
|
|
"required": ["tiers", "tier_update"]
|
|
}
|