Skip to content

Commit 41cc75e

Browse files
author
Autogenerator Pipeline
committed
Autogenerate schemas
1 parent 87d0502 commit 41cc75e

File tree

2 files changed

+182
-0
lines changed

2 files changed

+182
-0
lines changed
Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.Easm.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.Easm",
5+
"description": "Microsoft Easm Resource Types",
6+
"resourceDefinitions": {
7+
"workspaces": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2022-04-01-preview"
14+
]
15+
},
16+
"location": {
17+
"type": "string",
18+
"description": "The geo-location where the resource lives"
19+
},
20+
"name": {
21+
"type": "string",
22+
"description": "The name of the Workspace."
23+
},
24+
"properties": {
25+
"oneOf": [
26+
{
27+
"$ref": "#/definitions/ResourceBaseProperties"
28+
},
29+
{
30+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
31+
}
32+
],
33+
"description": "Resource base properties."
34+
},
35+
"resources": {
36+
"type": "array",
37+
"items": {
38+
"oneOf": [
39+
{
40+
"$ref": "#/definitions/workspaces_labels_childResource"
41+
}
42+
]
43+
}
44+
},
45+
"tags": {
46+
"oneOf": [
47+
{
48+
"type": "object",
49+
"additionalProperties": {
50+
"type": "string"
51+
},
52+
"properties": {}
53+
},
54+
{
55+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
56+
}
57+
],
58+
"description": "Resource tags."
59+
},
60+
"type": {
61+
"type": "string",
62+
"enum": [
63+
"Microsoft.Easm/workspaces"
64+
]
65+
}
66+
},
67+
"required": [
68+
"apiVersion",
69+
"location",
70+
"name",
71+
"properties",
72+
"type"
73+
],
74+
"description": "Microsoft.Easm/workspaces"
75+
},
76+
"workspaces_labels": {
77+
"type": "object",
78+
"properties": {
79+
"apiVersion": {
80+
"type": "string",
81+
"enum": [
82+
"2022-04-01-preview"
83+
]
84+
},
85+
"name": {
86+
"type": "string",
87+
"description": "The name of the Label."
88+
},
89+
"properties": {
90+
"oneOf": [
91+
{
92+
"$ref": "#/definitions/LabelResourceProperties"
93+
},
94+
{
95+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
96+
}
97+
],
98+
"description": "Label properties."
99+
},
100+
"type": {
101+
"type": "string",
102+
"enum": [
103+
"Microsoft.Easm/workspaces/labels"
104+
]
105+
}
106+
},
107+
"required": [
108+
"apiVersion",
109+
"name",
110+
"properties",
111+
"type"
112+
],
113+
"description": "Microsoft.Easm/workspaces/labels"
114+
}
115+
},
116+
"definitions": {
117+
"LabelResourceProperties": {
118+
"type": "object",
119+
"properties": {
120+
"color": {
121+
"type": "string",
122+
"description": "Label color."
123+
},
124+
"displayName": {
125+
"type": "string",
126+
"description": "Label display name."
127+
}
128+
},
129+
"description": "Label properties."
130+
},
131+
"ResourceBaseProperties": {
132+
"type": "object",
133+
"properties": {},
134+
"description": "Resource base properties."
135+
},
136+
"workspaces_labels_childResource": {
137+
"type": "object",
138+
"properties": {
139+
"apiVersion": {
140+
"type": "string",
141+
"enum": [
142+
"2022-04-01-preview"
143+
]
144+
},
145+
"name": {
146+
"type": "string",
147+
"description": "The name of the Label."
148+
},
149+
"properties": {
150+
"oneOf": [
151+
{
152+
"$ref": "#/definitions/LabelResourceProperties"
153+
},
154+
{
155+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
156+
}
157+
],
158+
"description": "Label properties."
159+
},
160+
"type": {
161+
"type": "string",
162+
"enum": [
163+
"labels"
164+
]
165+
}
166+
},
167+
"required": [
168+
"apiVersion",
169+
"name",
170+
"properties",
171+
"type"
172+
],
173+
"description": "Microsoft.Easm/workspaces/labels"
174+
}
175+
}
176+
}

schemas/common/autogeneratedResources.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10795,6 +10795,12 @@
1079510795
{
1079610796
"$ref": "https://schema.management.azure.com/schemas/2021-02-01-preview/Microsoft.Dynamics365Fraudprotection.json#/resourceDefinitions/instances"
1079710797
},
10798+
{
10799+
"$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.Easm.json#/resourceDefinitions/workspaces"
10800+
},
10801+
{
10802+
"$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.Easm.json#/resourceDefinitions/workspaces_labels"
10803+
},
1079810804
{
1079910805
"$ref": "https://schema.management.azure.com/schemas/2020-12-01-preview/Microsoft.EdgeOrder.json#/resourceDefinitions/addresses"
1080010806
},

0 commit comments

Comments
 (0)