Skip to content

Conversation

@braingram
Copy link
Contributor

@braingram braingram commented Aug 14, 2025

Add examples-1.0.0 schema to validate files containing schema examples.

See #472 for (too many) details.

The use of this schema is to check if a file (which might itself be a schema) contains examples to be run as part of the pytest-asdf schema checks.

More discussion/consideration of this is called for. One issue is the handling of id. If we use id here to be compatible with existing schemas it will be more confusing for external files (which aren't schemas). It may also be helpful to have schema_id point to several schema versions (since the examples may be compatible with several).

@braingram braingram changed the title add examples-1.0.0 schema for example files WIP: add examples-1.0.0 schema for example files Aug 15, 2025
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