Skip to content

chore: migrate schema references from 1.0 to 1.1#1879

Merged
rocketstack-matt merged 2 commits intofinos:mainfrom
rocketstack-matt:chore/migrate-schema-1.1
Nov 28, 2025
Merged

chore: migrate schema references from 1.0 to 1.1#1879
rocketstack-matt merged 2 commits intofinos:mainfrom
rocketstack-matt:chore/migrate-schema-1.1

Conversation

@rocketstack-matt
Copy link
Member

Description

  • Update calm-ai prompts to generate 1.1 schemas
  • Update shared test fixtures and specs to use 1.1
  • Update docs quick-start guide

Note: calm/getting-started deferred - requires new modular interface format

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📚 Documentation update
  • 🎨 Code style/formatting changes
  • ♻️ Refactoring (no functional changes)
  • ⚡ Performance improvements
  • ✅ Test additions or updates
  • 🔧 Chore (maintenance, dependencies, CI, etc.)

Affected Components

  • CLI (cli/)
  • Shared (shared/)
  • CALM Widgets (calm-widgets/)
  • CALM Hub (calm-hub/)
  • CALM Hub UI (calm-hub-ui/)
  • Documentation (docs/)
  • VS Code Extension (calm-plugins/vscode/)
  • Dependencies
  • CI/CD

Commit Message Format ✅

Testing

  • I have tested my changes locally
  • I have added/updated unit tests
  • All existing tests pass

Checklist

  • My commits follow the conventional commit format
  • I have updated documentation if necessary
  • I have added tests for my changes (if applicable)
  • My changes follow the project's coding standards

- Update calm-ai prompts to generate 1.1 schemas
- Update shared test fixtures and specs to use 1.1
- Update docs quick-start guide

Note: calm/getting-started deferred - requires new modular interface format
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR systematically migrates CALM schema references from version 1.0 to version 1.1 across test fixtures, test specifications, documentation, and AI tool prompts. The migration supports the adoption of CALM schema v1.1, which introduces minor revisions to the flow definition.

Key Changes

  • Updated all test fixture files to reference v1.1 schemas
  • Updated test specifications to use v1.1 schema paths
  • Migrated documentation examples and AI tool prompts to generate v1.1 schemas

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.

Show a summary per file
File Description
shared/test_fixtures/template/data/document-system.json Updated flow schema reference from 1.0 to 1.1
shared/test_fixtures/template/data/document-system-with-controls.json Updated flow schema reference from 1.0 to 1.1
shared/test_fixtures/schema-directory/recursive.json Updated CALM schema reference from 1.0 to 1.1
shared/test_fixtures/command/validate/options/pattern.json Updated multiple core schema references from 1.0 to 1.1
shared/test_fixtures/command/validate/options/pattern-resolved.json Updated multiple core schema references from 1.0 to 1.1
shared/test_fixtures/bad-schema/bad-json-schema.json Updated CALM and core schema references from 1.0 to 1.1
shared/test_fixtures/api-gateway.json Updated CALM and core schema references from 1.0 to 1.1
shared/test_fixtures/api-gateway-with-no-relationships.json Updated CALM and core schema references from 1.0 to 1.1
shared/src/schema-directory.spec.ts Updated test to load v1.1 core schema instead of v1.0
shared/src/commands/validate/validate.spec.ts Updated test assertions to expect v1.1 schema paths
shared/src/commands/validate/json-schema-validator.spec.ts Updated schema directory path to v1.1
docs/quick-start/index.md Updated flow schema reference from 1.0-rc1 to 1.1
calm-ai/tools/pattern-creation.md Updated all schema references in examples and guidance from 1.0 to 1.1
calm-ai/tools/architecture-creation.md Updated CALM schema references in examples from 1.0 to 1.1

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

The 1.1 flow schema requires 'description' not 'summary' in transitions
@rocketstack-matt rocketstack-matt merged commit 02a1d3f into finos:main Nov 28, 2025
13 checks passed
@rocketstack-matt rocketstack-matt deleted the chore/migrate-schema-1.1 branch November 28, 2025 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants