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

34 lines
985 B
JSON

{
"title": "Function Set",
"description": "Describes a set of functions",
"type": "object",
"properties": {
"function_sets": {
"description": "A list of function sets",
"type": "array",
"items": {
"description": "A function set object",
"type": "object",
"properties": {
"id": {
"description": "An integer representing the function tag id",
"type": "integer"
},
"functions": {
"description": "A list of functions associated with this set",
"type": "array",
"items": {
"$ref": "function.schema.json#/properties/functions/items"
}
}
},
"required": ["id", "functions"],
"additionalProperties": false
}
},
"function_set_update": {
"$ref": "functionset.schema.json#/properties/function_sets/items"
}
},
"required": ["function_sets", "function_set_update"]
}