mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-20 23:07:33 +00:00
28 lines
641 B
JSON
28 lines
641 B
JSON
|
{
|
||
|
"$id": "urn:zitadel:schema:permission-schema:v1",
|
||
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||
|
"$defs": {
|
||
|
"urn:zitadel:schema:property-permission": {
|
||
|
"oneOf": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"pattern": "^[rw]$"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"properties": {
|
||
|
"urn:zitadel:schema:permission": {
|
||
|
"type": "object",
|
||
|
"additionalProperties": false,
|
||
|
"properties": {
|
||
|
"owner": {
|
||
|
"$ref": "#/$defs/urn:zitadel:schema:property-permission"
|
||
|
},
|
||
|
"self": {
|
||
|
"$ref": "#/$defs/urn:zitadel:schema:property-permission"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|