Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions oas/3.2/dialect/2025-07-20
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"$id": "https://spec.openapis.org/oas/3.2/dialect/2025-07-20",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "OpenAPI 3.2 Schema Object Dialect",
"description": "A JSON Schema dialect describing schemas found in OpenAPI v3.2.x Descriptions",
"$dynamicAnchor": "meta",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
"https://json-schema.org/draft/2020-12/vocab/content": true,
"https://json-schema.org/draft/2020-12/vocab/core": true,
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
"https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
"https://json-schema.org/draft/2020-12/vocab/validation": true,
"https://spec.openapis.org/oas/3.2/vocab/base": false
},
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"$ref": "https://spec.openapis.org/oas/3.2/meta/2025-07-20"
}
]
}
113 changes: 113 additions & 0 deletions oas/3.2/meta/2025-07-20
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"$id": "https://spec.openapis.org/oas/3.2/meta/2025-07-20",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "OAS Base Vocabulary",
"description": "A JSON Schema Vocabulary used in the OpenAPI JSON Schema Dialect",
"$dynamicAnchor": "meta",
"$vocabulary": {
"https://spec.openapis.org/oas/3.2/vocab/base": true
},
"type": [
"object",
"boolean"
],
"properties": {
"discriminator": {
"$ref": "#/$defs/discriminator"
},
"example": true,
"externalDocs": {
"$ref": "#/$defs/external-docs"
},
"xml": {
"$ref": "#/$defs/xml"
}
},
"$defs": {
"discriminator": {
"$ref": "#/$defs/extensible",
"properties": {
"mapping": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"defaultMapping": {
"type": "string"
},
"propertyName": {
"type": "string"
}
},
"required": [
"propertyName"
],
"type": "object",
"unevaluatedProperties": false
},
"extensible": {
"patternProperties": {
"^x-": true
}
},
"external-docs": {
"$ref": "#/$defs/extensible",
"properties": {
"description": {
"type": "string"
},
"url": {
"format": "uri-reference",
"type": "string"
}
},
"required": [
"url"
],
"type": "object",
"unevaluatedProperties": false
},
"xml": {
"$ref": "#/$defs/extensible",
"properties": {
"nodeType": {
"type": "string",
"enum": [
"element",
"attribute",
"text",
"cdata",
"none"
]
},
"name": {
"type": "string"
},
"namespace": {
"format": "iri",
"type": "string"
},
"prefix": {
"type": "string"
},
"attribute": {
"type": "boolean"
},
"wrapped": {
"type": "boolean"
}
},
"type": "object",
"dependentSchemas": {
"nodeType": {
"properties": {
"attribute": false,
"wrapped": false
}
}
},
"unevaluatedProperties": false
}
}
}
25 changes: 25 additions & 0 deletions oas/3.2/schema-base/2025-08-27
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"$id": "https://spec.openapis.org/oas/3.2/schema-base/2025-08-27",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "The description of OpenAPI v3.2.x Documents using the OpenAPI JSON Schema dialect",
"$ref": "https://spec.openapis.org/oas/3.2/schema/2025-08-27",
"properties": {
"jsonSchemaDialect": {
"$ref": "#/$defs/dialect"
}
},
"$defs": {
"dialect": {
"const": "https://spec.openapis.org/oas/3.2/dialect/2025-07-20"
},
"schema": {
"$dynamicAnchor": "meta",
"$ref": "https://spec.openapis.org/oas/3.2/dialect/2025-07-20",
"properties": {
"$schema": {
"$ref": "#/$defs/dialect"
}
}
}
}
}
Loading