File tree Expand file tree Collapse file tree
fabric/item/policySet/definition/1.0.0 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "$id" : " https://developer.microsoft.com/json-schemas/fabric/item/policySet/definition/1.0.0/schema.json" ,
3+ "$schema" : " https://json-schema.org/draft-07/schema#" ,
4+ "title" : " PolicySet" ,
5+ "type" : " object" ,
6+ "properties" : {
7+ "properties" : {
8+ "type" : " object" ,
9+ "properties" : {
10+ "scope" : {
11+ "type" : " object" ,
12+ "properties" : {
13+ "type" : {
14+ "type" : " string"
15+ }
16+ },
17+ "required" : [
18+ " type"
19+ ],
20+ "additionalProperties" : false
21+ }
22+ },
23+ "required" : [
24+ " scope"
25+ ],
26+ "additionalProperties" : false
27+ },
28+ "policyRules" : {
29+ "type" : " array" ,
30+ "items" : {
31+ "$ref" : " #/definitions/policyRule"
32+ }
33+ }
34+ },
35+ "required" : [
36+ " properties" ,
37+ " policyRules"
38+ ],
39+ "additionalProperties" : false ,
40+ "definitions" : {
41+ "policyRule" : {
42+ "type" : " object" ,
43+ "properties" : {
44+ "displayName" : {
45+ "type" : " string"
46+ },
47+ "description" : {
48+ "type" : " string"
49+ },
50+ "policy" : {
51+ "type" : " string"
52+ },
53+ "conditions" : {
54+ "type" : " array" ,
55+ "items" : {
56+ "$ref" : " #/definitions/condition"
57+ }
58+ },
59+ "then" : {
60+ "type" : " array" ,
61+ "items" : {
62+ "$ref" : " #/definitions/effect"
63+ }
64+ }
65+ },
66+ "required" : [
67+ " displayName" ,
68+ " description" ,
69+ " policy" ,
70+ " conditions" ,
71+ " then"
72+ ],
73+ "additionalProperties" : false
74+ },
75+ "condition" : {
76+ "type" : " object" ,
77+ "properties" : {
78+ "type" : {
79+ "type" : " string"
80+ },
81+ "targetProperty" : {
82+ "type" : " string"
83+ },
84+ "predicate" : {
85+ "$ref" : " #/definitions/predicate"
86+ }
87+ },
88+ "required" : [
89+ " type" ,
90+ " targetProperty" ,
91+ " predicate"
92+ ],
93+ "additionalProperties" : false
94+ },
95+ "predicate" : {
96+ "type" : " object" ,
97+ "properties" : {
98+ "operator" : {
99+ "type" : " string"
100+ },
101+ "values" : {
102+ "type" : " array" ,
103+ "items" : {
104+ "type" : " string"
105+ }
106+ },
107+ "value" : {
108+ "type" : [
109+ " string" ,
110+ " number" ,
111+ " integer" ,
112+ " boolean" ,
113+ " null"
114+ ]
115+ }
116+ },
117+ "required" : [
118+ " operator"
119+ ],
120+ "oneOf" : [
121+ {
122+ "required" : [
123+ " values"
124+ ]
125+ },
126+ {
127+ "required" : [
128+ " value"
129+ ]
130+ }
131+ ],
132+ "additionalProperties" : false
133+ },
134+ "effect" : {
135+ "type" : " object" ,
136+ "properties" : {
137+ "effect" : {
138+ "type" : " string"
139+ }
140+ },
141+ "required" : [
142+ " effect"
143+ ],
144+ "additionalProperties" : false
145+ }
146+ }
147+ }
You can’t perform that action at this time.
0 commit comments