26 lines
431 B
JSON
26 lines
431 B
JSON
{
|
|
"anyOf": [
|
|
{
|
|
"$ref": "roles#/definitions/admin"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"data",
|
|
"scope"
|
|
],
|
|
"properties": {
|
|
"data": {
|
|
"$ref": "objects#/properties/users"
|
|
},
|
|
"scope": {
|
|
"type": "array",
|
|
"contains": {
|
|
"type": "string",
|
|
"pattern": "^user$"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|