Skip to content

update the JSON Schema for overlays to match the latest spec#4

Open
hkosova wants to merge 1 commit intoponelat:mainfrom
hkosova:schema-update
Open

update the JSON Schema for overlays to match the latest spec#4
hkosova wants to merge 1 commit intoponelat:mainfrom
hkosova:schema-update

Conversation

@hkosova
Copy link
Copy Markdown

@hkosova hkosova commented Jan 25, 2024

This updates the JSON Schema and sample overlay files to match the latest state of the Overlays Specification.

Overview of the changes:

  • renamed the top-level overlays keyword (plural) to overlay (singular)
  • added the info object
  • actions array must contain at least 1 item
  • updated the actions schema
  • added support for x- specification extensions
  • disallow unknown keywords

Tested with npm run test and by running cat <file> | node bin.js locally.

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.

1 participant