summaryrefslogtreecommitdiffstats
path: root/src/partition/schema/Capability.json
blob: 97defaf3390e77618453010c203b6c57cb08c540 (plain)
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
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the capability"
    },
    "partition": {
      "type":"string",
      "description": "partition where this capability should be used"
    },

    "accessRules": {
      "type": "object",
      "patternProperties": {
	".*": {
	  "type": "array",
	  "items": {
	    "type": "string",
	    "description": "A JsonDb query string. Objects matching this query will be allowed for this access type."
	  }
	}
      }
    }
  }
}