1
|
{
|
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
"$id": "https://hydrilla.koszko.org/schemas/api_query_result-1.schema.json",
|
4
|
"title": "Query result",
|
5
|
"description": "Object with a list of references to mappings that contain payloads for requested URL",
|
6
|
"type": "object",
|
7
|
"required": [
|
8
|
"api_schema_version",
|
9
|
"mappings"
|
10
|
],
|
11
|
"properties": {
|
12
|
"api_schema_version": {
|
13
|
"$ref": "./common_definitions-1.schema.json#/definitions/schema_version"
|
14
|
},
|
15
|
"mappings": {
|
16
|
"description": "References to mappings using at least one pattern that matches the requested URL",
|
17
|
"type": "array",
|
18
|
"items": {
|
19
|
"$ref": "./common_definitions-1.schema.json#/definitions/item_ref"
|
20
|
}
|
21
|
},
|
22
|
"generated_by": {
|
23
|
"$ref": "./common_definitions-1.schema.json#/definitions/generated_by"
|
24
|
}
|
25
|
}
|
26
|
}
|