File tree 4 files changed +1464
-0
lines changed
4 files changed +1464
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "$id": "https://spec.openapis.org/oas/3.1/dialect/base",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "$vocabulary": {
5
+ "https://json-schema.org/draft/2020-12/vocab/core": true,
6
+ "https://json-schema.org/draft/2020-12/vocab/applicator": true,
7
+ "https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
8
+ "https://json-schema.org/draft/2020-12/vocab/validation": true,
9
+ "https://json-schema.org/draft/2020-12/vocab/meta-data": true,
10
+ "https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
11
+ "https://json-schema.org/draft/2020-12/vocab/content": true,
12
+ "https://spec.openapis.org/oas/3.1/vocab/base": false
13
+ },
14
+ "$dynamicAnchor": "meta",
15
+
16
+ "title": "OpenAPI 3.1 Schema Object Dialect",
17
+ "allOf": [
18
+ { "$ref": "https://json-schema.org/draft/2020-12/schema" },
19
+ { "$ref": "https://spec.openapis.org/oas/3.1/meta/base" }
20
+ ]
21
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "$id": "https://spec.openapis.org/oas/3.1/meta/base",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "$vocabulary": {
5
+ "https://spec.openapis.org/oas/3.1/vocab/base": true
6
+ },
7
+ "$dynamicAnchor": "meta",
8
+ "title": "OAS Base vocabulary",
9
+
10
+ "type": ["object", "boolean"],
11
+ "properties": {
12
+ "example": true,
13
+ "discriminator": { "$ref": "#/$defs/discriminator" },
14
+ "externalDocs": { "$ref": "#/$defs/external-docs" },
15
+ "xml": { "$ref": "#/$defs/xml" }
16
+ },
17
+ "$defs": {
18
+ "extensible": {
19
+ "patternProperties": {
20
+ "^x-": true
21
+ }
22
+ },
23
+ "discriminator": {
24
+ "$ref": "#/$defs/extensible",
25
+ "type": "object",
26
+ "properties": {
27
+ "propertyName": {
28
+ "type": "string"
29
+ },
30
+ "mapping": {
31
+ "type": "object",
32
+ "additionalProperties": {
33
+ "type": "string"
34
+ }
35
+ }
36
+ },
37
+ "required": ["propertyName"],
38
+ "unevaluatedProperties": false
39
+ },
40
+ "external-docs": {
41
+ "$ref": "#/$defs/extensible",
42
+ "type": "object",
43
+ "properties": {
44
+ "url": {
45
+ "type": "string",
46
+ "format": "uri-reference"
47
+ },
48
+ "description": {
49
+ "type": "string"
50
+ }
51
+ },
52
+ "required": ["url"],
53
+ "unevaluatedProperties": false
54
+ },
55
+ "xml": {
56
+ "$ref": "#/$defs/extensible",
57
+ "type": "object",
58
+ "properties": {
59
+ "name": {
60
+ "type": "string"
61
+ },
62
+ "namespace": {
63
+ "type": "string",
64
+ "format": "uri"
65
+ },
66
+ "prefix": {
67
+ "type": "string"
68
+ },
69
+ "attribute": {
70
+ "type": "boolean"
71
+ },
72
+ "wrapped": {
73
+ "type": "boolean"
74
+ }
75
+ },
76
+ "unevaluatedProperties": false
77
+ }
78
+ }
79
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "$id": "https://spec.openapis.org/oas/3.1/schema-base/2021-03-02",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "$ref": "https://spec.openapis.org/oas/3.1/schema/2021-03-02",
5
+ "properties": {
6
+ "jsonSchemaDialect": {
7
+ "$ref": "#/$defs/dialect"
8
+ }
9
+ },
10
+ "$defs": {
11
+ "dialect": {
12
+ "const": "https://spec.openapis.org/oas/3.1/dialect/base"
13
+ },
14
+ "schema": {
15
+ "$dynamicAnchor": "meta",
16
+ "$ref\"": "https://spec.openapis.org/oas/3.1/dialect/base",
17
+ "properties": {
18
+ "$schema": {
19
+ "$ref": "#/$defs/dialect"
20
+ }
21
+ }
22
+ }
23
+ }
24
+ }
You can’t perform that action at this time.
0 commit comments