Skip to content

Conversation

@shakrav2
Copy link
Contributor

@shakrav2 shakrav2 commented Nov 7, 2025

Partially addresses #63: Make patterns field required in AEP-0004

  • Add patterns to required fields array in x-aep-resource validation
  • Add regex validation for pattern format with minItems: 1
  • Include underscores in pattern regex to match AEP-4 spec examples
  • Support both regular resources (with IDs) and singleton resources
  • Update all tests to include patterns field
  • Add 3 new test cases for patterns validation
  • Update documentation to reflect patterns as required field

Addresses part of issue #63 (patterns field only; type and parents
fields deferred for separate discussion)

Copy link
Contributor

@mkistler mkistler left a comment

Choose a reason for hiding this comment

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

Looks good. 👍

@mkistler mkistler merged commit 6bce9e7 into aep-dev:main Nov 17, 2025
3 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.

2 participants