summaryrefslogtreecommitdiff
path: root/jsonschema/schemas/draft2019-09/hyper-schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'jsonschema/schemas/draft2019-09/hyper-schema.json')
-rw-r--r--jsonschema/schemas/draft2019-09/hyper-schema.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/jsonschema/schemas/draft2019-09/hyper-schema.json b/jsonschema/schemas/draft2019-09/hyper-schema.json
new file mode 100644
index 0000000..3d23058
--- /dev/null
+++ b/jsonschema/schemas/draft2019-09/hyper-schema.json
@@ -0,0 +1,29 @@
+{
+ "$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
+ "$id": "https://json-schema.org/draft/2019-09/meta/hyper-schema",
+ "$vocabulary": {
+ "https://json-schema.org/draft/2019-09/vocab/hyper-schema": true
+ },
+ "$recursiveAnchor": true,
+
+ "title": "JSON Hyper-Schema Vocabulary Schema",
+ "type": ["object", "boolean"],
+ "properties": {
+ "base": {
+ "type": "string",
+ "format": "uri-template"
+ },
+ "links": {
+ "type": "array",
+ "items": {
+ "$ref": "https://json-schema.org/draft/2019-09/links"
+ }
+ }
+ },
+ "links": [
+ {
+ "rel": "self",
+ "href": "{+%24id}"
+ }
+ ]
+}