File tree Expand file tree Collapse file tree 3 files changed +104
-1
lines changed
Expand file tree Collapse file tree 3 files changed +104
-1
lines changed Original file line number Diff line number Diff line change 8585 }
8686 }
8787 }
88- }
88+ }
Original file line number Diff line number Diff line change 1+ {
2+ "$id": "https://spec.openapis.org/overlay/1.1/schema/2026-01-14",
3+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4+ "description": "The description of Overlay v1.1.x documents",
5+ "type": "object",
6+ "properties": {
7+ "overlay": {
8+ "type": "string",
9+ "pattern": "^1\\.1\\.\\d+$"
10+ },
11+ "info": {
12+ "$ref": "#/$defs/info-object"
13+ },
14+ "extends": {
15+ "type": "string",
16+ "format": "uri-reference"
17+ },
18+ "actions": {
19+ "type": "array",
20+ "minItems": 1,
21+ "uniqueItems": true,
22+ "items": {
23+ "$ref": "#/$defs/action-object"
24+ }
25+ }
26+ },
27+ "required": [
28+ "overlay",
29+ "info",
30+ "actions"
31+ ],
32+ "$ref": "#/$defs/specification-extensions",
33+ "unevaluatedProperties": false,
34+ "$defs": {
35+ "info-object": {
36+ "type": "object",
37+ "properties": {
38+ "title": {
39+ "type": "string"
40+ },
41+ "version": {
42+ "type": "string"
43+ },
44+ "description": {
45+ "type": "string"
46+ }
47+ },
48+ "required": [
49+ "title",
50+ "version"
51+ ],
52+ "$ref": "#/$defs/specification-extensions",
53+ "unevaluatedProperties": false
54+ },
55+ "action-object": {
56+ "properties": {
57+ "target": {
58+ "type": "string",
59+ "pattern": "^\\$"
60+ },
61+ "description": {
62+ "type": "string"
63+ },
64+ "update": {
65+ "type": [
66+ "string",
67+ "boolean",
68+ "object",
69+ "array",
70+ "number",
71+ "null"
72+ ]
73+ },
74+ "copy": {
75+ "type": "string"
76+ },
77+ "remove": {
78+ "type": "boolean",
79+ "default": false
80+ }
81+ },
82+ "required": [
83+ "target"
84+ ],
85+ "$ref": "#/$defs/specification-extensions",
86+ "unevaluatedProperties": false
87+ },
88+ "specification-extensions": {
89+ "patternProperties": {
90+ "^x-": true
91+ }
92+ }
93+ }
94+ }
Original file line number Diff line number Diff line change 1+ ---
2+ title : JSON Schema for Overlay 1.1
3+ layout : default
4+ parent : Schemas
5+ ---
6+
7+ ``` json
8+ {% include_relative {{ page.name | remove: ".md" }} %}
9+ ```
You can’t perform that action at this time.
0 commit comments