summaryrefslogtreecommitdiff
path: root/jsonschema/schemas/vocabularies/draft2020-12/content
blob: 2f6e056a9ac2399582eaf05985a26acf9161f213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://json-schema.org/draft/2020-12/meta/content",
    "$vocabulary": {
        "https://json-schema.org/draft/2020-12/vocab/content": true
    },
    "$dynamicAnchor": "meta",

    "title": "Content vocabulary meta-schema",

    "type": ["object", "boolean"],
    "properties": {
        "contentEncoding": { "type": "string" },
        "contentMediaType": { "type": "string" },
        "contentSchema": { "$dynamicRef": "#meta" }
    }
}