File tree Expand file tree Collapse file tree 7 files changed +1460
-5
lines changed Expand file tree Collapse file tree 7 files changed +1460
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "id": "https://spec.openapis.org/oas/3.0/schema/2021-09-28",
33 "$schema": "http://json-schema.org/draft-04/schema#",
4- "description": "Validation schema for OpenAPI Specification 3 .0.X. ",
4+ "description": "The description of OpenAPI v3 .0.x documents, as defined by https://spec.openapis.org/oas/v3.0.3 ",
55 "type": "object",
66 "required": [
77 "openapi",
Original file line number Diff line number Diff line change 11{
22 "$id": "https://spec.openapis.org/oas/3.1/dialect/base",
33 "$schema": "https://json-schema.org/draft/2020-12/schema",
4+
5+ "title": "OpenAPI 3.1 Schema Object Dialect",
6+ "description": "A JSON Schema dialect describing schemas found in OpenAPI documents",
7+
48 "$vocabulary": {
59 "https://json-schema.org/draft/2020-12/vocab/core": true,
610 "https://json-schema.org/draft/2020-12/vocab/applicator": true,
1115 "https://json-schema.org/draft/2020-12/vocab/content": true,
1216 "https://spec.openapis.org/oas/3.1/vocab/base": false
1317 },
18+
1419 "$dynamicAnchor": "meta",
1520
16- "title": "OpenAPI 3.1 Schema Object Dialect",
1721 "allOf": [
1822 { "$ref": "https://json-schema.org/draft/2020-12/schema" },
1923 { "$ref": "https://spec.openapis.org/oas/3.1/meta/base" }
Original file line number Diff line number Diff line change 11{
22 "$id": "https://spec.openapis.org/oas/3.1/meta/base",
33 "$schema": "https://json-schema.org/draft/2020-12/schema",
4+
5+ "title": "OAS Base vocabulary",
6+ "description": "A JSON Schema Vocabulary used in the OpenAPI Schema Dialect",
7+
48 "$vocabulary": {
59 "https://spec.openapis.org/oas/3.1/vocab/base": true
610 },
11+
712 "$dynamicAnchor": "meta",
8- "title": "OAS Base vocabulary",
913
1014 "type": ["object", "boolean"],
1115 "properties": {
1418 "externalDocs": { "$ref": "#/$defs/external-docs" },
1519 "xml": { "$ref": "#/$defs/xml" }
1620 },
21+
1722 "$defs": {
1823 "extensible": {
1924 "patternProperties": {
2025 "^x-": true
2126 }
2227 },
28+
2329 "discriminator": {
2430 "$ref": "#/$defs/extensible",
2531 "type": "object",
3743 "required": ["propertyName"],
3844 "unevaluatedProperties": false
3945 },
46+
4047 "external-docs": {
4148 "$ref": "#/$defs/extensible",
4249 "type": "object",
5259 "required": ["url"],
5360 "unevaluatedProperties": false
5461 },
62+
5563 "xml": {
5664 "$ref": "#/$defs/extensible",
5765 "type": "object",
Original file line number Diff line number Diff line change 1+ {
2+ "$id": "https://spec.openapis.org/oas/3.1/schema-base/2022-02-27",
3+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4+
5+ "description": "The description of OpenAPI v3.1.x documents using the OpenAPI JSON Schema dialect, as defined by https://spec.openapis.org/oas/v3.1.0",
6+
7+ "$ref": "https://spec.openapis.org/oas/3.1/schema/2022-02-27",
8+ "properties": {
9+ "jsonSchemaDialect": { "$ref": "#/$defs/dialect" }
10+ },
11+
12+ "$defs": {
13+ "dialect": { "const": "https://spec.openapis.org/oas/3.1/dialect/base" },
14+
15+ "schema": {
16+ "$dynamicAnchor": "meta",
17+ "$ref": "https://spec.openapis.org/oas/3.1/dialect/base",
18+ "properties": {
19+ "$schema": { "$ref": "#/$defs/dialect" }
20+ }
21+ }
22+ }
23+ }
Original file line number Diff line number Diff line change 1- 2021-09-28
1+ 2022-02-27
You can’t perform that action at this time.
0 commit comments