KEMBAR78
(SCHEMA) Update schemas for v3.1.0 release by michaeltlombardi · Pull Request #890 · PowerShell/DSC · GitHub
Skip to content

Conversation

@michaeltlombardi
Copy link
Collaborator

PR Summary

This changeset includes:

  • Updating and regenerating the schemas for the v3.0.1 and v3.0.2 releases. Neither of these releases required any schema changes except to extend the sets of valid schema URIs for resource manifests and configuration documents.
  • Updating and regenerating the schemas for the v3.1.0 release. This release required changes to support the addition of the exporter resource kind (and associated required output for the Export operation) and the addition of the extension manifest and expected output for the Discover extension operation.

Until the changes for v3.1.0 are reviewed, I haven't regenerated the schemas to reduce the noise in the commits. After those changes are reviewed, I'll regenerate the schemas for v3.1.0.

PR Context

Copy link
Collaborator

@theJasonHelmick theJasonHelmick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Steve's comments - LGTM

@michaeltlombardi michaeltlombardi force-pushed the schema/main/v3.1.0 branch 2 times, most recently from 3858b85 to b886290 Compare July 2, 2025 13:53
@michaeltlombardi michaeltlombardi dismissed SteveL-MSFT’s stale review July 2, 2025 13:53

Addressed review comments.

Copy link
Member

@SteveL-MSFT SteveL-MSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Prior to this change, the requirements for various
resource kinds was incomplete and inaccurate. This
change updates the `allOf` applicator to correctly
define required and forbidden properties for each
resource kind.
Prior to this change, the pattern for fully qualified type names
specified that a type name required an owner and supported up to
two namespace segments, separated by a period (`.`).

This change:

- Loosens the pattern by allowing a third segment for subareas.
- Updates the in-schema documentation to reflect the change.
- Fixes PowerShell#915
Prior to this change, the schema source always expected an
embedded schema referencing a canonical property to use
the current version. It also didn't support using the
shortened form.

This change converts the constant for the restriction to
point to the valid versions of the schema.
Prior to this change, the extension schemas were
erroneously placed in the `extensions` folder
instead of the `extension` folder. The schema
for the output from `dsc extension list` was
missing as was the schema for extension
capabilities.

This change renames the folder and adds the
missing schemas.
This change makes minor adjustment to the build script for the
canonical schemas to capture the new extension schemas. It also
updates the configuration to bundle the extension schemas and the
stdout schemas.
@michaeltlombardi michaeltlombardi marked this pull request as ready for review July 2, 2025 21:00
@SteveL-MSFT SteveL-MSFT added this pull request to the merge queue Jul 4, 2025
Merged via the queue into PowerShell:main with commit 9903df4 Jul 4, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants