summaryrefslogtreecommitdiff
path: root/jsonschema/schemas/draft2019-09/hyper-schema.json
blob: 3d2305893a479161e604c3a846df910442dbf6d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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}"
        }
    ]
}