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

32 lines
819 B
JSON
Raw Normal View History

{
"title": "Group",
"description": "Describes a group that users can be assigned to for access control",
"type": "object",
"properties": {
"groups": {
"description": "A list of groups",
"type": "array",
"items": {
"description": "A group object",
"type": "object",
"properties": {
"id": {
"description": "An integer representing the group id",
"type": "integer"
},
"name": {
"description": "The name for a specific group",
"type": "string"
}
},
"required": ["id", "name"],
"additionalProperties": false
}
},
"group_update": {
"$ref": "group.schema.json#/properties/groups/items"
}
},
"required": ["groups", "group_update"]
}