Skip to content

Commit 68c9384

Browse files
baywetgithub-actions[bot]
authored andcommitted
New Overlay schema iterations published from ci/fix-schema-script
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 77b2201 commit 68c9384

File tree

3 files changed

+104
-1
lines changed

3 files changed

+104
-1
lines changed

overlay/1.0/schema/2024-10-22

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@
8585
}
8686
}
8787
}
88-
}
88+
}

overlay/1.1/schema/2026-01-14

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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+
}

overlay/1.1/schema/2026-01-14.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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+
```

0 commit comments

Comments
 (0)