Skip to content

Commit 213f54a

Browse files
(SCHEMA) Update schema source for v3.1.0 release
1 parent 4d3ccc2 commit 213f54a

File tree

2 files changed

+420
-0
lines changed

2 files changed

+420
-0
lines changed

schemas/src/config/document.yaml

Lines changed: 210 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ properties:
3434
- https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3/config/document.json
3535
- https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3/bundled/config/document.json
3636
- https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3/bundled/config/document.vscode.json
37+
- https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.1/config/document.json
38+
- https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.1/bundled/config/document.json
39+
- https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.1/bundled/config/document.vscode.json
40+
- https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.1.0/config/document.json
41+
- https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.1.0/bundled/config/document.json
42+
- https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.1.0/bundled/config/document.vscode.json
3743
- https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0/config/document.json
3844
- https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0/bundled/config/document.json
3945
- https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0/bundled/config/document.vscode.json
@@ -49,6 +55,12 @@ properties:
4955
- https://aka.ms/dsc/schemas/v3/config/document.json
5056
- https://aka.ms/dsc/schemas/v3/bundled/config/document.json
5157
- https://aka.ms/dsc/schemas/v3/bundled/config/document.vscode.json
58+
- https://aka.ms/dsc/schemas/v3.1/config/document.json
59+
- https://aka.ms/dsc/schemas/v3.1/bundled/config/document.json
60+
- https://aka.ms/dsc/schemas/v3.1/bundled/config/document.vscode.json
61+
- https://aka.ms/dsc/schemas/v3.1.0/config/document.json
62+
- https://aka.ms/dsc/schemas/v3.1.0/bundled/config/document.json
63+
- https://aka.ms/dsc/schemas/v3.1.0/bundled/config/document.vscode.json
5264
- https://aka.ms/dsc/schemas/v3.0/config/document.json
5365
- https://aka.ms/dsc/schemas/v3.0/bundled/config/document.json
5466
- https://aka.ms/dsc/schemas/v3.0/bundled/config/document.vscode.json
@@ -158,6 +170,105 @@ properties:
158170
> This URI is for the schemas in a major version folder. If you pin to a major version
159171
> folder, like `v3`, the schemas you use will update with every nonbreaking release. You
160172
> can use those schemas until you want or need to migrate to a new major version of DSC.
173+
- | # https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.1/config/document.yaml
174+
<!-- force a line break -->
175+
176+
> #### `v3.1` non-bundled, canonical URI
177+
>
178+
> Indicates that the configuration document adheres to the `v3.1` schema. This URL
179+
> points to the canonical non-bundled schema. When it's used for validation, the
180+
> validating client needs to retrieve this schema and every schema it references.
181+
>
182+
> This URI is for the schemas in a minor version folder. If you pin to a minor version
183+
> folder, like `v3.1`, the schemas you use will update with every patch release. Pinning
184+
> to a minor version folder enables you to take advantage of fixes to the schemas without
185+
> continually updating your schema URIs. However, to take advantage of any improvements
186+
> or new features, you need to update the URI whenever a new minor version is released.
187+
- | # https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.1/bundled/config/document.yaml
188+
<!-- force a line break -->
189+
190+
> #### `v3.1` bundled, canonical URI
191+
>
192+
> Indicates that the configuration document adheres to the `v3.1` schema. This URL
193+
> points to the bundled schema. When it's used for validation, the validating client
194+
> only needs to retrieve this schema.
195+
>
196+
> This schema uses the bundling model introduced for JSON Schema 2020-12. While DSC can
197+
> still validate the document when it uses this schema, other tools may error or behave
198+
> in unexpected ways.
199+
>
200+
> This URI is for the schemas in a minor version folder. If you pin to a minor version
201+
> folder, like `v3.1`, the schemas you use will update with every patch release. Pinning
202+
> to a minor version folder enables you to take advantage of fixes to the schemas without
203+
> continually updating your schema URIs. However, to take advantage of any improvements
204+
> or new features, you need to update the URI whenever a new minor version is released.
205+
- | # https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.1/bundled/config/document.vscode.yaml
206+
<!-- force a line break -->
207+
208+
> #### `v3.1` enhanced authoring, canonical URI
209+
>
210+
> Indicates that the configuration document adheres to the `v3.1` schema. This URL points
211+
> to the enhanced authoring schema. This schema is much larger than the other schemas, as
212+
> it includes additional definitions that provide contextual help and snippets that the
213+
> others don't include.
214+
>
215+
> This schema uses keywords that are only recognized by VS Code. While DSC can still
216+
> validate the document when it uses this schema, other tools may error or behave in
217+
> unexpected ways.
218+
>
219+
> This URI is for the schemas in a minor version folder. If you pin to a minor version
220+
> folder, like `v3.1`, the schemas you use will update with every patch release. Pinning
221+
> to a minor version folder enables you to take advantage of fixes to the schemas without
222+
> continually updating your schema URIs. However, to take advantage of any improvements
223+
> or new features, you need to update the URI whenever a new minor version is released.
224+
- | # https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.1.0/config/document.yaml
225+
<!-- force a line break -->
226+
227+
> #### `v3.1.0` non-bundled, canonical URI
228+
>
229+
> Indicates that the configuration document adheres to the `v3.1.0` schema. This URL
230+
> points to the canonical non-bundled schema. When it's used for validation, the
231+
> validating client needs to retrieve this schema and every schema it references.
232+
>
233+
> This URI is for the schemas in a full semantic version folder. If you pin to a full
234+
> semantic version folder, like `v3.1.0`, you're pinning to schemas that won't change.
235+
> However, to take advantage of any improvements or fixes to the schemas, you need to
236+
> update the URI with each release.
237+
- | # https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.1.0/bundled/config/document.yaml
238+
<!-- force a line break -->
239+
240+
> #### `v3.1.0` bundled, canonical URI
241+
>
242+
> Indicates that the configuration document adheres to the `v3.1.0` schema. This URL
243+
> points to the bundled schema. When it's used for validation, the validating client
244+
> only needs to retrieve this schema.
245+
>
246+
> This schema uses the bundling model introduced for JSON Schema 2020-12. While DSC can
247+
> still validate the document when it uses this schema, other tools may error or behave
248+
> in unexpected ways.
249+
>
250+
> This URI is for the schemas in a full semantic version folder. If you pin to a full
251+
> semantic version folder, like `v3.1.0`, you're pinning to schemas that won't change.
252+
> However, to take advantage of any improvements or fixes to the schemas, you need to
253+
> update the URI with each release.
254+
- | # https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.1.0/bundled/config/document.vscode.yaml
255+
<!-- force a line break -->
256+
257+
> #### `v3.1.0` enhanced authoring, canonical URI
258+
>
259+
> Indicates that the configuration document adheres to the `v3.1.0` schema. This URL
260+
> points to the enhanced authoring schema. This schema is much larger than the other
261+
> schemas, as it includes additional definitions that provide contextual help and
262+
> snippets that the others don't include.
263+
>
264+
> This schema uses keywords that are only recognized by VS Code. While DSC can still
265+
> validate the document when it uses this schema, other tools may error or behave in
266+
> unexpected ways.
267+
>
268+
> This URI is for the schemas in a full semantic version folder. If you pin to a full
269+
> semantic version folder, like `v3.1.0`, you're pinning to schemas that won't change.
270+
> However, to take advantage of any improvements or fixes to the schemas, you need to
271+
> update the URI with each release.
161272
- | # https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.0/config/document.yaml
162273
<!-- force a line break -->
163274
@@ -398,6 +509,105 @@ properties:
398509
> This URI is for the schemas in a major version folder. If you pin to a major version
399510
> folder, like `v3`, the schemas you use will update with every nonbreaking release. You
400511
> can use those schemas until you want or need to migrate to a new major version of DSC.
512+
- | # https://aka.ms/dsc/schemas/v3.1/config/document.yaml
513+
<!-- force a line break -->
514+
515+
> #### `v3.1` non-bundled, short URI
516+
>
517+
> Indicates that the configuration document adheres to the `v3.1` schema. This URL
518+
> points to the canonical non-bundled schema. When it's used for validation, the
519+
> validating client needs to retrieve this schema and every schema it references.
520+
>
521+
> This URI is for the schemas in a minor version folder. If you pin to a minor version
522+
> folder, like `v3.1`, the schemas you use will update with every patch release. Pinning
523+
> to a minor version folder enables you to take advantage of fixes to the schemas without
524+
> continually updating your schema URIs. However, to take advantage of any improvements
525+
> or new features, you need to update the URI whenever a new minor version is released.
526+
- | # https://aka.ms/dsc/schemas/v3.1/bundled/config/document.yaml
527+
<!-- force a line break -->
528+
529+
> #### `v3.1` bundled, short URI
530+
>
531+
> Indicates that the configuration document adheres to the `v3.1` schema. This URL
532+
> points to the bundled schema. When it's used for validation, the validating client
533+
> only needs to retrieve this schema.
534+
>
535+
> This schema uses the bundling model introduced for JSON Schema 2020-12. While DSC can
536+
> still validate the document when it uses this schema, other tools may error or behave
537+
> in unexpected ways.
538+
>
539+
> This URI is for the schemas in a minor version folder. If you pin to a minor version
540+
> folder, like `v3.1`, the schemas you use will update with every patch release. Pinning
541+
> to a minor version folder enables you to take advantage of fixes to the schemas without
542+
> continually updating your schema URIs. However, to take advantage of any improvements
543+
> or new features, you need to update the URI whenever a new minor version is released.
544+
- | # https://aka.ms/dsc/schemas/v3.1/bundled/config/document.vscode.yaml
545+
<!-- force a line break -->
546+
547+
> #### `v3.1` enhanced authoring, short URI
548+
>
549+
> Indicates that the configuration document adheres to the `v3.1` schema. This URL points
550+
> to the enhanced authoring schema. This schema is much larger than the other schemas, as
551+
> it includes additional definitions that provide contextual help and snippets that the
552+
> others don't include.
553+
>
554+
> This schema uses keywords that are only recognized by VS Code. While DSC can still
555+
> validate the document when it uses this schema, other tools may error or behave in
556+
> unexpected ways.
557+
>
558+
> This URI is for the schemas in a minor version folder. If you pin to a minor version
559+
> folder, like `v3.1`, the schemas you use will update with every patch release. Pinning
560+
> to a minor version folder enables you to take advantage of fixes to the schemas without
561+
> continually updating your schema URIs. However, to take advantage of any improvements
562+
> or new features, you need to update the URI whenever a new minor version is released.
563+
- | # https://aka.ms/dsc/schemas/v3.1.0/config/document.yaml
564+
<!-- force a line break -->
565+
566+
> #### `v3.1.0` non-bundled, short URI
567+
>
568+
> Indicates that the configuration document adheres to the `v3.1.0` schema. This URL
569+
> points to the canonical non-bundled schema. When it's used for validation, the
570+
> validating client needs to retrieve this schema and every schema it references.
571+
>
572+
> This URI is for the schemas in a full semantic version folder. If you pin to a full
573+
> semantic version folder, like `v3.1.0`, you're pinning to schemas that won't change.
574+
> However, to take advantage of any improvements or fixes to the schemas, you need to
575+
> update the URI with each release.
576+
- | # https://aka.ms/dsc/schemas/v3.1.0/bundled/config/document.yaml
577+
<!-- force a line break -->
578+
579+
> #### `v3.1.0` bundled, short URI
580+
>
581+
> Indicates that the configuration document adheres to the `v3.1.0` schema. This URL
582+
> points to the bundled schema. When it's used for validation, the validating client
583+
> only needs to retrieve this schema.
584+
>
585+
> This schema uses the bundling model introduced for JSON Schema 2020-12. While DSC can
586+
> still validate the document when it uses this schema, other tools may error or behave
587+
> in unexpected ways.
588+
>
589+
> This URI is for the schemas in a full semantic version folder. If you pin to a full
590+
> semantic version folder, like `v3.1.0`, you're pinning to schemas that won't change.
591+
> However, to take advantage of any improvements or fixes to the schemas, you need to
592+
> update the URI with each release.
593+
- | # https://aka.ms/dsc/schemas/v3.1.0/bundled/config/document.vscode.yaml
594+
<!-- force a line break -->
595+
596+
> #### `v3.1.0` enhanced authoring, short URI
597+
>
598+
> Indicates that the configuration document adheres to the `v3.1.0` schema. This URL
599+
> points to the enhanced authoring schema. This schema is much larger than the other
600+
> schemas, as it includes additional definitions that provide contextual help and
601+
> snippets that the others don't include.
602+
>
603+
> This schema uses keywords that are only recognized by VS Code. While DSC can still
604+
> validate the document when it uses this schema, other tools may error or behave in
605+
> unexpected ways.
606+
>
607+
> This URI is for the schemas in a full semantic version folder. If you pin to a full
608+
> semantic version folder, like `v3.1.0`, you're pinning to schemas that won't change.
609+
> However, to take advantage of any improvements or fixes to the schemas, you need to
610+
> update the URI with each release.
401611
- | # https://aka.ms/dsc/schemas/v3.0/config/document.yaml
402612
<!-- force a line break -->
403613

0 commit comments

Comments
 (0)