{ "$id": "https://spec.openapis.org/oas/3.1/dialect/base", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "OpenAPI 3.1 Schema Object Dialect", "description": "A JSON Schema dialect describing schemas found in OpenAPI documents", "$vocabulary": { "https://json-schema.org/draft/2020-12/vocab/core": true, "https://json-schema.org/draft/2020-12/vocab/applicator": true, "https://json-schema.org/draft/2020-12/vocab/unevaluated": true, "https://json-schema.org/draft/2020-12/vocab/validation": true, "https://json-schema.org/draft/2020-12/vocab/meta-data": true, "https://json-schema.org/draft/2020-12/vocab/format-annotation": true, "https://json-schema.org/draft/2020-12/vocab/content": true, "https://spec.openapis.org/oas/3.1/vocab/base": false }, "if": { "type": "object" }, "then": { "allOf": [ { "$ref": "https://stoplight.io/json-schema/draft/2020-12" }, { "$ref": "https://spec.openapis.org/oas/3.1/meta/base" } ] }, "else": { "if": { "type": "boolean" }, "then": true, "else": { "not": true, "errorMessage": "\"{{property}}\" property must be a valid Schema Object" } } }