-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheffectiveprivileges.schema.json
40 lines (40 loc) · 1.19 KB
/
effectiveprivileges.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"meta:license": [
"Copyright 2018 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$id": "https://ns.adobe.com/xdm/external/repo/effectiveprivileges",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Effective Privileges",
"description": "Schema for the Effective Privileges resource",
"type": "object",
"definitions": {
"effectiveprivileges": {
"type": "object",
"properties": {
"*": {
"$ref": "#/definitions/privilege"
}
},
"additionalProperties": {
"$ref": "#/definitions/privilege"
}
},
"privilege": {
"description": "Privilege granted to the current Subject",
"type": "array",
"items": {
"type": "string",
"enum": ["ack", "read", "write", "attach", "delete"]
}
}
},
"allOf": [
{
"$ref": "#/definitions/effectiveprivileges"
}
],
"meta:status": "experimental"
}