2023-12-18 13:12:25 +08:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
2024-01-16 21:26:16 +08:00
|
|
|
"$id": "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
2023-12-18 13:12:25 +08:00
|
|
|
"description": "Meta-schema for $data reference (JSON Schema extension proposal)",
|
|
|
|
"type": "object",
|
|
|
|
"required": [ "$data" ],
|
|
|
|
"properties": {
|
|
|
|
"$data": {
|
|
|
|
"type": "string",
|
|
|
|
"anyOf": [
|
|
|
|
{ "format": "relative-json-pointer" },
|
|
|
|
{ "format": "json-pointer" }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|