File tree Expand file tree Collapse file tree 4 files changed +1798
-0
lines changed Expand file tree Collapse file tree 4 files changed +1798
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "$id": "https://spec.openapis.org/oas/3.2/dialect/2025-07-20",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "title": "OpenAPI 3.2 Schema Object Dialect",
5
+ "description": "A JSON Schema dialect describing schemas found in OpenAPI v3.2.x Descriptions",
6
+ "$dynamicAnchor": "meta",
7
+ "$vocabulary": {
8
+ "https://json-schema.org/draft/2020-12/vocab/applicator": true,
9
+ "https://json-schema.org/draft/2020-12/vocab/content": true,
10
+ "https://json-schema.org/draft/2020-12/vocab/core": true,
11
+ "https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
12
+ "https://json-schema.org/draft/2020-12/vocab/meta-data": true,
13
+ "https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
14
+ "https://json-schema.org/draft/2020-12/vocab/validation": true,
15
+ "https://spec.openapis.org/oas/3.2/vocab/base": false
16
+ },
17
+ "allOf": [
18
+ {
19
+ "$ref": "https://json-schema.org/draft/2020-12/schema"
20
+ },
21
+ {
22
+ "$ref": "https://spec.openapis.org/oas/3.2/meta/2025-07-20"
23
+ }
24
+ ]
25
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "$id": "https://spec.openapis.org/oas/3.2/meta/2025-07-20",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "title": "OAS Base Vocabulary",
5
+ "description": "A JSON Schema Vocabulary used in the OpenAPI JSON Schema Dialect",
6
+ "$dynamicAnchor": "meta",
7
+ "$vocabulary": {
8
+ "https://spec.openapis.org/oas/3.2/vocab/base": true
9
+ },
10
+ "type": [
11
+ "object",
12
+ "boolean"
13
+ ],
14
+ "properties": {
15
+ "discriminator": {
16
+ "$ref": "#/$defs/discriminator"
17
+ },
18
+ "example": true,
19
+ "externalDocs": {
20
+ "$ref": "#/$defs/external-docs"
21
+ },
22
+ "xml": {
23
+ "$ref": "#/$defs/xml"
24
+ }
25
+ },
26
+ "$defs": {
27
+ "discriminator": {
28
+ "$ref": "#/$defs/extensible",
29
+ "properties": {
30
+ "mapping": {
31
+ "additionalProperties": {
32
+ "type": "string"
33
+ },
34
+ "type": "object"
35
+ },
36
+ "defaultMapping": {
37
+ "type": "string"
38
+ },
39
+ "propertyName": {
40
+ "type": "string"
41
+ }
42
+ },
43
+ "required": [
44
+ "propertyName"
45
+ ],
46
+ "type": "object",
47
+ "unevaluatedProperties": false
48
+ },
49
+ "extensible": {
50
+ "patternProperties": {
51
+ "^x-": true
52
+ }
53
+ },
54
+ "external-docs": {
55
+ "$ref": "#/$defs/extensible",
56
+ "properties": {
57
+ "description": {
58
+ "type": "string"
59
+ },
60
+ "url": {
61
+ "format": "uri-reference",
62
+ "type": "string"
63
+ }
64
+ },
65
+ "required": [
66
+ "url"
67
+ ],
68
+ "type": "object",
69
+ "unevaluatedProperties": false
70
+ },
71
+ "xml": {
72
+ "$ref": "#/$defs/extensible",
73
+ "properties": {
74
+ "nodeType": {
75
+ "type": "string",
76
+ "enum": [
77
+ "element",
78
+ "attribute",
79
+ "text",
80
+ "cdata",
81
+ "none"
82
+ ]
83
+ },
84
+ "name": {
85
+ "type": "string"
86
+ },
87
+ "namespace": {
88
+ "format": "iri",
89
+ "type": "string"
90
+ },
91
+ "prefix": {
92
+ "type": "string"
93
+ },
94
+ "attribute": {
95
+ "type": "boolean"
96
+ },
97
+ "wrapped": {
98
+ "type": "boolean"
99
+ }
100
+ },
101
+ "type": "object",
102
+ "dependentSchemas": {
103
+ "nodeType": {
104
+ "properties": {
105
+ "attribute": false,
106
+ "wrapped": false
107
+ }
108
+ }
109
+ },
110
+ "unevaluatedProperties": false
111
+ }
112
+ }
113
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "$id": "https://spec.openapis.org/oas/3.2/schema-base/2025-07-24",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "description": "The description of OpenAPI v3.2.x Documents using the OpenAPI JSON Schema dialect",
5
+ "$ref": "https://spec.openapis.org/oas/3.2/schema/2025-07-24",
6
+ "properties": {
7
+ "jsonSchemaDialect": {
8
+ "$ref": "#/$defs/dialect"
9
+ }
10
+ },
11
+ "$defs": {
12
+ "dialect": {
13
+ "const": "https://spec.openapis.org/oas/3.2/dialect/2025-07-20"
14
+ },
15
+ "schema": {
16
+ "$dynamicAnchor": "meta",
17
+ "$ref": "https://spec.openapis.org/oas/3.2/dialect/2025-07-20",
18
+ "properties": {
19
+ "$schema": {
20
+ "$ref": "#/$defs/dialect"
21
+ }
22
+ }
23
+ }
24
+ }
25
+ }
You can’t perform that action at this time.
0 commit comments