cpularp-manager-api/test/fixtures/schemas/function.schema.json

45 lines
1.3 KiB
JSON

{
"title": "Function",
"description": "Describes a function",
"type": "object",
"properties": {
"functions": {
"description": "A list of functions",
"type": "array",
"items": {
"description": "A function object",
"type": "object",
"properties": {
"id": {
"description": "An integer representing the function tag id",
"type": "integer"
},
"name": {
"description": "The name for a specific function tag",
"type": "string"
},
"tags": {
"description": "A list of tags associated with this function",
"type": "array",
"items": {
"$ref": "functiontag.schema.json#/properties/function_tags/items"
}
},
"requirements": {
"description": "A list of functions required for this function",
"type": "array",
"items": {
"$ref": "#/properties/functions/items"
}
}
},
"required": ["id", "name", "tags", "requirements"],
"additionalProperties": false
}
},
"function_update": {
"$ref": "#/properties/functions/items"
}
},
"required": ["functions", "function_update"]
}