You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(schemas): add JSON Schema 2020-12 schemas to repo
* add constraint for `update` scenario' -m 'rename version folder'
* update `$id` with the official release date
* add `$comment` for each section
closes#71
"description": "The description of OpenAPI Initiative Overlay v1.0.0 documents without schema validation, as defined by https://spec.openapis.org/overlay/v1.0.0",
"description": "This object represents one or more changes to be applied to the target document at the location defined by the target JSONPath expression.",
54
+
"properties": {
55
+
"target": {
56
+
"description": "A JSONPath expression selecting nodes in the target document",
57
+
"type": "string",
58
+
"pattern": "^\\$[.\\[].+$"
59
+
},
60
+
"description": {
61
+
"description": "A description of the action. [[CommonMark]] syntax MAY be used for rich text representation.",
62
+
"type": "string"
63
+
},
64
+
"update": {
65
+
"description": "If the target selects an object node, the value of this field MUST be an object with the properties and values to merge with the node. If the target selects an array, the value of this field MUST be an entry to append to the array.",
66
+
"type": [
67
+
"string",
68
+
"boolean",
69
+
"object",
70
+
"array",
71
+
"number",
72
+
"null"
73
+
]
74
+
},
75
+
"remove": {
76
+
"description": "A boolean value that indicates that the target object is to be removed from the the map or array it is contained in",
77
+
"type": "boolean",
78
+
"default": false
79
+
}
80
+
},
81
+
"allOf": [
82
+
{
83
+
"description": "The `update` field has no impact if the `remove` field of this action object is true.",
"description": "While the Overlay Specification tries to accommodate most use cases, additional data can be added to extend the specification at certain points",
0 commit comments