Skip to content
/ std Public

A growing collection of hand-crafted high-quality schemas by Sourcemeta. From RFC-compliant Email Address schemas to ISO-compliant Currency Codes.

License

Notifications You must be signed in to change notification settings

sourcemeta/std

Repository files navigation

Sourcemeta JSON Schema Standard Library

DOI


Browse the schemas at https://schemas.sourcemeta.com/sourcemeta/std


Building professional OpenAPI specifications demands precision, but mastering JSON Schema is hard. This library eliminates that burden by providing production-ready schemas that encode industry standards and best practices. Reference them directly in your API specifications and focus on what matters: designing great APIs.

Led and maintained by a member of the JSON Schema Technical Steering Committee

Use this library to:

  • Build production-grade OpenAPI specifications without writing schemas from scratch
  • Skip the JSON Schema learning curve while maintaining expert-level quality
  • Meet compliance and regulatory requirements with standards-based validation
  • Establish a solid foundation for your organisation's API governance program

Warning

This project is in its early stages with much more to come. We need your feedback to shape its future. Please share your thoughts and suggestions on what you would like to see.

Note

All schemas target JSON Schema 2020-12, the dialect used by OpenAPI v3.1 and later. Earlier JSON Schema dialects will be supported in the future.

🎓 Citing

If you use this library in your research or project, please cite it using the DOI provided above. You can find citation information in various formats (BibTeX, APA, etc.) by clicking the "Cite as" button on the Zenodo record.

📄 License

While the project is publicly available on GitHub, it operates under a source-available license rather than a traditional open-source model. You may freely use these schemas for non-commercial purposes, but commercial use requires a paid commercial license.

We are happy to discuss OEM and white-label distribution options for incorporating these schemas into commercial products.

🤝 Contributing

We welcome contributions! By sending a pull request, you agree to our contributing guidelines. Meaningful contributions to this repository can be taken into consideration towards a discounted (or even free) commercial license.

Tip

Do you want to level up your JSON Schema skills? Check out learnjsonschema.com, our growing JSON Schema documentation website, our JSON Schema for OpenAPI video course, and our O'Reilly book Unifying Business, Data, and Code: Designing Data Products with JSON Schema.

📧 Contact

If you have any questions or comments, don't hesitate in opening a ticket on GitHub Discussions or writing to us at hello@sourcemeta.com.

About

A growing collection of hand-crafted high-quality schemas by Sourcemeta. From RFC-compliant Email Address schemas to ISO-compliant Currency Codes.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project