- Released Feb 2021
- Schema Object uses JSON Schema Specification Draft 2020-12
- Has full compatibility with modern JSON Schema
- Supports multiple examples in a Schema Object
- 3.0.3 released Feburary 2020 (3.0.0 released 2017)
- Schema Object uses JSON Schema Specification Draft 2019-09
- "subset superset" of JsonSchema, and has many differences with JsonSchema
- Supports single example in a Schema Object
- 3.0.x requires an extra top level key
paths
that ytt will not need - Supported types are different between the two specs, but both should work with ytt supported types
- Both can do everything ytt needs:
- Allow values to be null
- Allow multiple types (anyOf)
- Allows all types ytt uses (string, boolean, collections, integers)
The site openapi.tools lists tools that validate APIs, validate OpenAPI Docs, and generate Documentation, and very few support 3.1.0, almost all support 3.0.x