...

Text file src/github.com/qri-io/jsonschema/testdata/meta/hyper-schema.json

Documentation: github.com/qri-io/jsonschema/testdata/meta

     1{
     2    "$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
     3    "$id": "https://json-schema.org/draft/2019-09/meta/hyper-schema",
     4    "$vocabulary": {
     5        "https://json-schema.org/draft/2019-09/vocab/hyper-schema": true
     6    },
     7    "$recursiveAnchor": true,
     8
     9    "title": "JSON Hyper-Schema Vocabulary Schema",
    10    "type": ["object", "boolean"],
    11    "properties": {
    12        "base": {
    13            "type": "string",
    14            "format": "uri-template"
    15        },
    16        "links": {
    17            "type": "array",
    18            "items": {
    19                "$ref": "https://json-schema.org/draft/2019-09/links"
    20            }
    21        }
    22    },
    23    "links": [
    24        {
    25            "rel": "self",
    26            "href": "{+%24id}"
    27        }
    28    ]
    29}

View as plain text