Skip to content

feat: generate cmfpackage.json schema at build time#714

Draft
amsousa97 wants to merge 15 commits intocriticalmanufacturing:development-6xfrom
amsousa97:development-v6-generate-cmfpackage-schema
Draft

feat: generate cmfpackage.json schema at build time#714
amsousa97 wants to merge 15 commits intocriticalmanufacturing:development-6xfrom
amsousa97:development-v6-generate-cmfpackage-schema

Conversation

@amsousa97
Copy link
Copy Markdown

@amsousa97 amsousa97 commented Apr 10, 2026

What was done

  • Added logic for generating a cmfpackage.schema.json file at build time based on the CmfPackage file
    • This will allow for cmfpackage.json files to be created more easily by referencing our published schema

Dependencies

Because these changes use JsonSchemaExporter which does not exist in .NET 8, this can only be merged after #684

Validation checklist

Please ensure the following conditions are met in order for this PR to be merged:

  • Code validation (careful with side-effects)
  • Integration test run provided
  • Main WorkItem is linked
  • Target branch version is correct

@amsousa97
Copy link
Copy Markdown
Author

Not quite sure yet where the schema file should be published so that we can easily reference it in files outside this repo. We should probably have versioned routes for the schemas too

@joaoopereira joaoopereira force-pushed the development-6x branch 8 times, most recently from c3be994 to 43228b6 Compare April 20, 2026 14:07
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.

4 participants