A curated collection of JSON schemas for standardizing various data structures. These schemas provide consistent patterns for data validation and documentation across different domains.
This repository hosts multiple JSON schemas designed to:
- Provide clear data structure definitions
- Enable data validation
- Ensure consistency in data formats
- Document data requirements
- Support interoperability between systems
Located at /schema.json
, this is the foundation schema that all other schemas in this collection must follow. It ensures consistent structure and metadata across all schemas, including:
- Version control and compatibility tracking
- Clear authorship and licensing information
- Status management (draft, stable, deprecated, retired)
- Documentation requirements
(This section will grow as more schemas are added)
-
Reference a Schema
{ "$schema": "https://raw.githubusercontent.com/pontuskarlsson/schemas/main/[path-to-schema].json" }
-
Validate Your Data
- Use any JSON Schema validator that supports Draft 2020-12
- Ensure your data includes all required fields
- Follow the patterns and formats specified in the schema
-
Version Compatibility
- Check the schema's version information
- Review compatibility requirements
- Note any deprecation notices
All schemas in this collection:
- Follow JSON Schema Draft 2020-12 specification
- Include comprehensive metadata
- Maintain version control
- Provide clear documentation
- Include usage examples
Contributions are welcome! Please feel free to submit a Pull Request. All new schemas must conform to the meta-schema specification.
This project is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License - see the LICENSE file for details.