Skip to content

Commit ee0a807

Browse files
author
Autogenerator Pipeline
committed
Autogenerate schemas
1 parent d24ab09 commit ee0a807

File tree

1 file changed

+62
-27
lines changed

1 file changed

+62
-27
lines changed

schemas/2020-01-01/Microsoft.Marketplace.json

Lines changed: 62 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -134,52 +134,37 @@
134134
}
135135
},
136136
"definitions": {
137-
"Icon": {
137+
"OfferProperties": {
138138
"type": "object",
139139
"properties": {
140-
"iconKind": {
140+
"eTag": {
141+
"type": "string",
142+
"description": "Identifier for purposes of race condition"
143+
},
144+
"iconFileUris": {
141145
"oneOf": [
142146
{
143-
"type": "string",
144-
"enum": [
145-
"Small",
146-
"Medium",
147-
"Large",
148-
"Wide",
149-
"Hero"
150-
]
147+
"$ref": "#/definitions/OfferPropertiesIconFileUris"
151148
},
152149
{
153150
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
154151
}
155152
],
156-
"description": "Icon size."
153+
"description": "Icon File Uris"
157154
},
158-
"uri": {
159-
"type": "string",
160-
"description": "Icon uri"
161-
}
162-
}
163-
},
164-
"OfferProperties": {
165-
"type": "object",
166-
"properties": {
167-
"eTag": {
168-
"type": "string",
169-
"description": "Identifier for purposes of race condition"
170-
},
171-
"iconFileUris": {
155+
"plans": {
172156
"oneOf": [
173157
{
174158
"type": "array",
175159
"items": {
176-
"$ref": "#/definitions/Icon"
160+
"$ref": "#/definitions/Plan"
177161
}
178162
},
179163
{
180164
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
181165
}
182-
]
166+
],
167+
"description": "Offer plans"
183168
},
184169
"specificPlanIdsLimitation": {
185170
"oneOf": [
@@ -208,6 +193,56 @@
208193
}
209194
}
210195
},
196+
"OfferPropertiesIconFileUris": {
197+
"type": "object",
198+
"properties": {
199+
"iconKind": {
200+
"oneOf": [
201+
{
202+
"type": "string",
203+
"enum": [
204+
"Small",
205+
"Medium",
206+
"Large",
207+
"Wide",
208+
"Hero"
209+
]
210+
},
211+
{
212+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
213+
}
214+
],
215+
"description": "Icon size."
216+
},
217+
"uri": {
218+
"type": "string",
219+
"description": "Icon uri"
220+
}
221+
},
222+
"description": "Icon File Uris"
223+
},
224+
"Plan": {
225+
"type": "object",
226+
"properties": {
227+
"accessibility": {
228+
"oneOf": [
229+
{
230+
"type": "string",
231+
"enum": [
232+
"Unknown",
233+
"Public",
234+
"PrivateTenantOnLevel",
235+
"PrivateSubscriptionOnLevel"
236+
]
237+
},
238+
{
239+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
240+
}
241+
],
242+
"description": "Plan accessibility."
243+
}
244+
}
245+
},
211246
"PrivateStoreProperties": {
212247
"type": "object",
213248
"properties": {

0 commit comments

Comments
 (0)