Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file extension for schema documents #236

Open
d-v-b opened this issue May 4, 2024 · 1 comment
Open

file extension for schema documents #236

d-v-b opened this issue May 4, 2024 · 1 comment

Comments

@d-v-b
Copy link
Contributor

d-v-b commented May 4, 2024

The schema documents are named with a .schema file extension. Because the schema documents are JSON schema, (which is JSON) .json is probably the right file extension to use instead. This change would make these documents much easier to read / edit, e.g. on github or in IDEs that provide json syntax highlighting. If it's important to designate these documents as JSON schema, we could do <name>.schema.json.

Is there a compelling reason for .schema as an extension, or can we move to schema.json?

@d-v-b
Copy link
Contributor Author

d-v-b commented May 4, 2024

important to consider here that downstream libraries may pull in the schema documents by name for testing.

So some redirection or duplication would be necessary to avoid breaking those workflows after name changes.

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

No branches or pull requests

1 participant