summaryrefslogtreecommitdiff
path: root/json/remotes/draft2019-09/extendible-dynamic-ref.json
blob: c11bf0a01b35bb1b80a001b25e6fac41608e134b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
    "description": "extendible array",
    "$schema": "https://json-schema.org/draft/2019-09/schema",
    "$id": "http://localhost:1234/draft2019-09/extendible-dynamic-ref.json",
    "type": "object",
    "properties": {
        "elements": {
            "type": "array",
            "items": {
                "$dynamicRef": "#elements"
            }
        }
    },
    "required": ["elements"],
    "additionalProperties": false,
    "$defs": {
        "elements": {
            "$dynamicAnchor": "elements"
        }
    }
}