Skip to content

Commit 68b0575

Browse files
(SCHEMA) Regenerate schemas
1 parent 86f0f74 commit 68b0575

File tree

210 files changed

+3225
-2787
lines changed

Some content is hidden

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

210 files changed

+3225
-2787
lines changed

schemas/v3.0.0/bundled/config/document.json

Lines changed: 31 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
33
"$id": "https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0.0/config/document.json",
4-
"title": "DSC Configuration Document schema",
5-
"description": "Describes a valid DSC Configuration Document.",
4+
"title": "DSC configuration document schema",
5+
"description": "Describes a valid DSC configuration document.",
66
"type": "object",
77
"required": [
88
"$schema",
@@ -11,23 +11,32 @@
1111
"properties": {
1212
"$schema": {
1313
"title": "Schema",
14-
"description": "This property must be the canonical URL of the DSC Configuration Document schema that the document is implemented for.",
14+
"description": "Indicates the URI that resolves to the version of this schema that the document adheres to. DSC uses this property when validating and processing the configuration document.",
1515
"type": "string",
1616
"format": "uri",
1717
"enum": [
18+
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3/config/document.json",
19+
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3/bundled/config/document.json",
20+
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3/bundled/config/document.vscode.json",
21+
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0/config/document.json",
22+
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0/bundled/config/document.json",
23+
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0/bundled/config/document.vscode.json",
1824
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0.0/config/document.json",
1925
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0.0/bundled/config/document.json",
2026
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0.0/bundled/config/document.vscode.json",
21-
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2023/10/config/document.json",
22-
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2023/10/bundled/config/document.json",
23-
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2023/10/bundled/config/document.vscode.json",
24-
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2023/08/config/document.json",
25-
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2023/08/bundled/config/document.json",
26-
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2023/08/bundled/config/document.vscode.json"
27+
"https://aka.ms/dsc/schemas/v3/config/document.json",
28+
"https://aka.ms/dsc/schemas/v3/bundled/config/document.json",
29+
"https://aka.ms/dsc/schemas/v3/bundled/config/document.vscode.json",
30+
"https://aka.ms/dsc/schemas/v3.0/config/document.json",
31+
"https://aka.ms/dsc/schemas/v3.0/bundled/config/document.json",
32+
"https://aka.ms/dsc/schemas/v3.0/bundled/config/document.vscode.json",
33+
"https://aka.ms/dsc/schemas/v3.0.0/config/document.json",
34+
"https://aka.ms/dsc/schemas/v3.0.0/bundled/config/document.json",
35+
"https://aka.ms/dsc/schemas/v3.0.0/bundled/config/document.vscode.json"
2736
]
2837
},
2938
"parameters": {
30-
"title": "DSC Configuration document parameters",
39+
"title": "DSC configuration document parameters",
3140
"description": "Defines runtime options for the configuration. Users and integrating tools can override use the defined parameters to pass alternate values to the configuration.",
3241
"type": "object",
3342
"additionalProperties": {
@@ -40,10 +49,10 @@
4049
"type": "object"
4150
},
4251
"resources": {
43-
"title": "DSC Configuration document resources",
44-
"description": "Defines a list of DSC Resource instances for the configuration to manage.",
52+
"title": "DSC configuration document resources",
53+
"description": "Defines a list of DSC resource instances for the configuration to manage.",
4554
"type": "array",
46-
"minItems": 1,
55+
"minItems": 0,
4756
"items": {
4857
"$ref": "/PowerShell/DSC/main/schemas/v3.0.0/config/document.resource.json"
4958
}
@@ -57,7 +66,7 @@
5766
"$schema": "https://json-schema.org/draft/2020-12/schema",
5867
"$id": "https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0.0/config/document.parameter.json",
5968
"title": "Parameter",
60-
"description": "Defines a runtime option for a DSC Configuration Document.",
69+
"description": "Defines a runtime option for a DSC configuration document.",
6170
"type": "object",
6271
"required": [
6372
"type"
@@ -284,8 +293,8 @@
284293
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0.0/config/document.resource.json": {
285294
"$schema": "https://json-schema.org/draft/2020-12/schema",
286295
"$id": "https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0.0/config/document.resource.json",
287-
"title": "DSC Resource instance",
288-
"description": "Defines an instance of a DSC Resource in a configuration.",
296+
"title": "DSC resource instance",
297+
"description": "Defines an instance of a DSC resource in a configuration.",
289298
"type": "object",
290299
"required": [
291300
"type",
@@ -300,7 +309,7 @@
300309
},
301310
"dependsOn": {
302311
"title": "Instance depends on",
303-
"description": "Defines a list of DSC Resource instances that DSC must successfully process before processing this instance. Each value for this property must be the `resourceID()` lookup for another instance in the configuration. Multiple instances can depend on the same instance, but every dependency for an instance must be unique in that instance's `dependsOn` property.",
312+
"description": "Defines a list of DSC resource instances that DSC must successfully process before processing this instance. Each value for this property must be the `resourceID()` lookup for another instance in the configuration. Multiple instances can depend on the same instance, but every dependency for an instance must be unique in that instance's `dependsOn` property.",
304313
"type": "array",
305314
"items": {
306315
"type": "string",
@@ -310,7 +319,7 @@
310319
},
311320
"properties": {
312321
"title": "Managed instance properties",
313-
"description": "Defines the properties of the DSC Resource this instance manages. This property's value must be an object. DSC validates the property's value against the DSC Resource's schema.",
322+
"description": "Defines the properties of the DSC resource this instance manages. This property's value must be an object. DSC validates the property's value against the DSC resource's schema.",
314323
"type": "object"
315324
}
316325
}
@@ -356,7 +365,7 @@
356365
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0.0/definitions/parameters/validValueTypes.json": {
357366
"$schema": "https://json-schema.org/draft/2020-12/schema",
358367
"$id": "https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0.0/definitions/parameters/validValueTypes.json",
359-
"$comment": "This schema fragment makes it a little easier to compose the valid properties\nfor DSC Configuration document parameters. As-written, values must be one of\nthose on this list - the schema definition for dataType excludes `null` and\nnumbers with fractional parts, like `3.5`.\n",
368+
"$comment": "This schema fragment makes it a little easier to compose the valid properties\nfor DSC configuration document parameters. As-written, values must be one of\nthose on this list - the schema definition for dataType excludes `null` and\nnumbers with fractional parts, like `3.5`.\n",
360369
"type": [
361370
"string",
362371
"integer",
@@ -368,16 +377,16 @@
368377
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0.0/definitions/resourceType.json": {
369378
"$schema": "https://json-schema.org/draft/2020-12/schema",
370379
"$id": "https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0.0/definitions/resourceType.json",
371-
"title": "DSC Resource fully qualified type name",
372-
"description": "The namespaced name of the DSC Resource, using the syntax:\n\nowner[.group][.area]/name\n\nFor example:\n\n - Microsoft.SqlServer/Database\n - Microsoft.SqlServer.Database/User\n",
380+
"title": "DSC resource fully qualified type name",
381+
"description": "The namespaced name of the DSC resource, using the syntax:\n\nowner[.group][.area]/name\n\nFor example:\n\n - Microsoft.SqlServer/Database\n - Microsoft.SqlServer.Database/User\n",
373382
"type": "string",
374383
"pattern": "^\\w+(\\.\\w+){0,2}\\/\\w+$"
375384
},
376385
"https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0.0/definitions/instanceName.json": {
377386
"$schema": "https://json-schema.org/draft/2020-12/schema",
378387
"$id": "https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0.0/definitions/instanceName.json",
379388
"title": "Instance name",
380-
"description": "The short, human-readable name for a DSC Resource instance. Must be unique within a DSC Configuration document. Must be a non-empty string containing only letters, numbers, and spaces.",
389+
"description": "The short, human-readable name for a DSC resource instance. Must be unique within a DSC Configuration document. Must be a non-empty string containing only letters, numbers, and spaces.",
381390
"type": "string",
382391
"pattern": "^[a-zA-Z0-9 ]+$",
383392
"minLength": 1

0 commit comments

Comments
 (0)