Skip to content

Commit f99f321

Browse files
committed
JSON Schemas for 3.11.x
1 parent a725275 commit f99f321

File tree

104 files changed

+85
-2425
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+85
-2425
lines changed

json_schemas/acl/3.11.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"allow": {
66
"description": "Arbitrary group names that are allowed to consume the service or route. One of `config.allow` or `config.deny` must be specified.",
77
"items": {
8-
"required": [],
98
"type": "string"
109
},
1110
"type": "array"
@@ -18,7 +17,6 @@
1817
"deny": {
1918
"description": "Arbitrary group names that are not allowed to consume the service or route. One of `config.allow` or `config.deny` must be specified.",
2019
"items": {
21-
"required": [],
2220
"type": "string"
2321
},
2422
"type": "array"
@@ -34,7 +32,6 @@
3432
"type": "boolean"
3533
}
3634
},
37-
"required": [],
3835
"type": "object"
3936
},
4037
"protocols": {
@@ -52,7 +49,6 @@
5249
"http",
5350
"https"
5451
],
55-
"required": [],
5652
"type": "string"
5753
},
5854
"type": "array"
@@ -65,7 +61,6 @@
6561
"type": "string"
6662
}
6763
},
68-
"required": [],
6964
"type": "object"
7065
},
7166
"service": {
@@ -76,9 +71,7 @@
7671
"type": "string"
7772
}
7873
},
79-
"required": [],
8074
"type": "object"
8175
}
82-
},
83-
"required": []
76+
}
8477
}

json_schemas/acme/3.11.json

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"properties": {
55
"account_email": {
66
"description": "The account identifier. Can be reused in a different plugin instance.\nThis field is [encrypted](/gateway/keyring/).\nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
7-
"pattern": "[a-zA-Z0-9]*[!-/:-@[-`{-~]*@+[a-zA-Z0-9]*%.?[a-zA-Z0-9]*",
87
"type": "string"
98
},
109
"account_key": {
@@ -46,17 +45,6 @@
4645
"domains": {
4746
"description": "An array of strings representing hosts. A valid host is a string containing one or more labels separated by periods, with at most one wildcard label ('*')",
4847
"items": {
49-
"match_all": {
50-
"pattern": "^[^*]*%*?[^*]*$"
51-
},
52-
"match_any": {
53-
"patterns": [
54-
"%.%*$",
55-
"^%*%.",
56-
"^[^*]*$"
57-
]
58-
},
59-
"required": [],
6048
"type": "string"
6149
},
6250
"type": "array"
@@ -142,13 +130,10 @@
142130
"type": "string"
143131
}
144132
},
145-
"required": [],
146133
"type": "object"
147134
},
148135
"kong": {
149136
"additionalProperties": true,
150-
"properties": {},
151-
"required": [],
152137
"type": "object"
153138
},
154139
"redis": {
@@ -164,7 +149,6 @@
164149
"namespace": {
165150
"default": "",
166151
"description": "A namespace to prepend to all keys stored in Redis.",
167-
"minLength": 0,
168152
"type": "string"
169153
},
170154
"scan_count": {
@@ -173,7 +157,6 @@
173157
"type": "number"
174158
}
175159
},
176-
"required": [],
177160
"type": "object"
178161
},
179162
"host": {
@@ -182,7 +165,6 @@
182165
},
183166
"password": {
184167
"description": "Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.\nThis field is [encrypted](/gateway/keyring/).\nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
185-
"minLength": 0,
186168
"type": "string"
187169
},
188170
"port": {
@@ -218,23 +200,6 @@
218200
"type": "string"
219201
}
220202
},
221-
"required": [],
222-
"shorthand_fields": {
223-
"auth": {
224-
"minLength": 0,
225-
"type": "string"
226-
},
227-
"namespace": {
228-
"minLength": 0,
229-
"type": "string"
230-
},
231-
"scan_count": {
232-
"type": "integer"
233-
},
234-
"ssl_server_name": {
235-
"type": "string"
236-
}
237-
},
238203
"type": "object"
239204
},
240205
"shm": {
@@ -245,7 +210,6 @@
245210
"type": "string"
246211
}
247212
},
248-
"required": [],
249213
"type": "object"
250214
},
251215
"vault": {
@@ -308,11 +272,9 @@
308272
"type": "string"
309273
}
310274
},
311-
"required": [],
312275
"type": "object"
313276
}
314277
},
315-
"required": [],
316278
"type": "object"
317279
},
318280
"tos_accepted": {
@@ -341,7 +303,6 @@
341303
"http",
342304
"https"
343305
],
344-
"required": [],
345306
"type": "string"
346307
},
347308
"type": "array"

json_schemas/ai-aws-guardrails/3.11.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
"type": "string"
7373
}
7474
},
75-
"required": [],
7675
"type": "object"
7776
},
7877
"consumer_group": {
@@ -83,7 +82,6 @@
8382
"type": "string"
8483
}
8584
},
86-
"required": [],
8785
"type": "object"
8886
},
8987
"protocols": {
@@ -101,7 +99,6 @@
10199
"http",
102100
"https"
103101
],
104-
"required": [],
105102
"type": "string"
106103
},
107104
"type": "array"
@@ -114,7 +111,6 @@
114111
"type": "string"
115112
}
116113
},
117-
"required": [],
118114
"type": "object"
119115
},
120116
"service": {
@@ -125,7 +121,6 @@
125121
"type": "string"
126122
}
127123
},
128-
"required": [],
129124
"type": "object"
130125
}
131126
},

json_schemas/ai-azure-content-safety/3.11.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"blocklist_names": {
2929
"description": "Use these configured blocklists (in Azure Content Services) when inspecting content.",
3030
"items": {
31-
"required": [],
3231
"type": "string"
3332
},
3433
"type": "array"
@@ -109,7 +108,6 @@
109108
"http",
110109
"https"
111110
],
112-
"required": [],
113111
"type": "string"
114112
},
115113
"type": "array"
@@ -122,7 +120,6 @@
122120
"type": "string"
123121
}
124122
},
125-
"required": [],
126123
"type": "object"
127124
},
128125
"service": {
@@ -133,7 +130,6 @@
133130
"type": "string"
134131
}
135132
},
136-
"required": [],
137133
"type": "object"
138134
}
139135
},

json_schemas/ai-prompt-compressor/3.11.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
"system",
6060
"user"
6161
],
62-
"required": [],
6362
"type": "string"
6463
},
6564
"type": "array"
@@ -88,7 +87,6 @@
8887
"type": "string"
8988
}
9089
},
91-
"required": [],
9290
"type": "object"
9391
},
9492
"consumer_group": {
@@ -99,7 +97,6 @@
9997
"type": "string"
10098
}
10199
},
102-
"required": [],
103100
"type": "object"
104101
},
105102
"protocols": {
@@ -117,7 +114,6 @@
117114
"http",
118115
"https"
119116
],
120-
"required": [],
121117
"type": "string"
122118
},
123119
"type": "array"
@@ -130,7 +126,6 @@
130126
"type": "string"
131127
}
132128
},
133-
"required": [],
134129
"type": "object"
135130
},
136131
"service": {
@@ -141,7 +136,6 @@
141136
"type": "string"
142137
}
143138
},
144-
"required": [],
145139
"type": "object"
146140
}
147141
},

json_schemas/ai-prompt-decorator/3.11.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"max_request_body_size": {
1818
"default": 8192,
1919
"description": "max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx's client_max_body_size.",
20-
"minimum": 0,
2120
"type": "integer"
2221
},
2322
"prompts": {
@@ -77,11 +76,9 @@
7776
"type": "array"
7877
}
7978
},
80-
"required": [],
8179
"type": "object"
8280
}
8381
},
84-
"required": [],
8582
"type": "object"
8683
},
8784
"consumer": {
@@ -92,7 +89,6 @@
9289
"type": "string"
9390
}
9491
},
95-
"required": [],
9692
"type": "object"
9793
},
9894
"consumer_group": {
@@ -103,7 +99,6 @@
10399
"type": "string"
104100
}
105101
},
106-
"required": [],
107102
"type": "object"
108103
},
109104
"protocols": {
@@ -121,7 +116,6 @@
121116
"http",
122117
"https"
123118
],
124-
"required": [],
125119
"type": "string"
126120
},
127121
"type": "array"
@@ -134,7 +128,6 @@
134128
"type": "string"
135129
}
136130
},
137-
"required": [],
138131
"type": "object"
139132
},
140133
"service": {
@@ -145,9 +138,7 @@
145138
"type": "string"
146139
}
147140
},
148-
"required": [],
149141
"type": "object"
150142
}
151-
},
152-
"required": []
143+
}
153144
}

0 commit comments

Comments
 (0)