File tree 4 files changed +1559
-0
lines changed
4 files changed +1559
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "$id": "https://spec.openapis.org/oas/3.1/dialect/2024-11-10",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "title": "OpenAPI 3.1 Schema Object Dialect",
5
+ "description": "A JSON Schema dialect describing schemas found in OpenAPI v3.1 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.1/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.1/meta/2024-11-10"
23
+ }
24
+ ]
25
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "$id": "https://spec.openapis.org/oas/3.1/meta/2024-11-10",
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 Schema Dialect",
6
+ "$dynamicAnchor": "meta",
7
+ "$vocabulary": {
8
+ "https://spec.openapis.org/oas/3.1/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
+ "propertyName": {
37
+ "type": "string"
38
+ }
39
+ },
40
+ "required": [
41
+ "propertyName"
42
+ ],
43
+ "type": "object",
44
+ "unevaluatedProperties": false
45
+ },
46
+ "extensible": {
47
+ "patternProperties": {
48
+ "^x-": true
49
+ }
50
+ },
51
+ "external-docs": {
52
+ "$ref": "#/$defs/extensible",
53
+ "properties": {
54
+ "description": {
55
+ "type": "string"
56
+ },
57
+ "url": {
58
+ "format": "uri-reference",
59
+ "type": "string"
60
+ }
61
+ },
62
+ "required": [
63
+ "url"
64
+ ],
65
+ "type": "object",
66
+ "unevaluatedProperties": false
67
+ },
68
+ "xml": {
69
+ "$ref": "#/$defs/extensible",
70
+ "properties": {
71
+ "attribute": {
72
+ "type": "boolean"
73
+ },
74
+ "name": {
75
+ "type": "string"
76
+ },
77
+ "namespace": {
78
+ "format": "uri",
79
+ "type": "string"
80
+ },
81
+ "prefix": {
82
+ "type": "string"
83
+ },
84
+ "wrapped": {
85
+ "type": "boolean"
86
+ }
87
+ },
88
+ "type": "object",
89
+ "unevaluatedProperties": false
90
+ }
91
+ }
92
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "$id": "https://spec.openapis.org/oas/3.1/schema-base/2025-02-13",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "description": "The description of OpenAPI v3.1.x Documents using the OpenAPI JSON Schema dialect",
5
+ "$ref": "https://spec.openapis.org/oas/3.1/schema/2025-02-13",
6
+ "properties": {
7
+ "jsonSchemaDialect": {
8
+ "$ref": "#/$defs/dialect"
9
+ }
10
+ },
11
+ "$defs": {
12
+ "dialect": {
13
+ "const": "https://spec.openapis.org/oas/3.1/dialect/2024-11-10"
14
+ },
15
+ "schema": {
16
+ "$dynamicAnchor": "meta",
17
+ "$ref": "https://spec.openapis.org/oas/3.1/dialect/2024-11-10",
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