...

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

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

     1{
     2    "$schema": "https://json-schema.org/draft/2019-09/schema",
     3    "$id": "https://json-schema.org/draft/2019-09/meta/core",
     4    "$vocabulary": {
     5        "https://json-schema.org/draft/2019-09/vocab/core": true
     6    },
     7    "$recursiveAnchor": true,
     8
     9    "title": "Core vocabulary meta-schema",
    10    "type": ["object", "boolean"],
    11    "properties": {
    12        "$id": {
    13            "type": "string",
    14            "format": "uri-reference",
    15            "$comment": "Non-empty fragments not allowed.",
    16            "pattern": "^[^#]*#?$"
    17        },
    18        "$schema": {
    19            "type": "string",
    20            "format": "uri"
    21        },
    22        "$anchor": {
    23            "type": "string",
    24            "pattern": "^[A-Za-z][-A-Za-z0-9.:_]*$"
    25        },
    26        "$ref": {
    27            "type": "string",
    28            "format": "uri-reference"
    29        },
    30        "$recursiveRef": {
    31            "type": "string",
    32            "format": "uri-reference"
    33        },
    34        "$recursiveAnchor": {
    35            "type": "boolean",
    36            "const": true,
    37            "default": false
    38        },
    39        "$vocabulary": {
    40            "type": "object",
    41            "propertyNames": {
    42                "type": "string",
    43                "format": "uri"
    44            },
    45            "additionalProperties": {
    46                "type": "boolean"
    47            }
    48        },
    49        "$comment": {
    50            "type": "string"
    51        },
    52        "$defs": {
    53            "type": "object",
    54            "additionalProperties": { "$recursiveRef": "#" },
    55            "default": {}
    56        }
    57    }
    58}

View as plain text