Revision 1d1c93d5
Added by koszko over 1 year ago
api_query_result-1.schema.json | ||
---|---|---|
4 | 4 |
"title": "Query result", |
5 | 5 |
"description": "Object with a list of references to mappings that contain payloads for requested URL", |
6 | 6 |
"type": "object", |
7 |
"required": [ |
|
8 |
"api_schema_version", |
|
9 |
"mappings" |
|
10 |
], |
|
7 |
"required": ["$schema", "mappings"], |
|
11 | 8 |
"properties": { |
12 |
"api_schema_version": { |
|
13 |
"$ref": "./common_definitions-1.schema.json#/definitions/schema_version" |
|
9 |
"$schema": { |
|
10 |
"description": "Mark this instance as conforming to query result schema 1.x", |
|
11 |
"type": "string", |
|
12 |
"pattern": "^https://hydrilla\\.koszko\\.org/schemas/api_query_result-1\\.([1-9][0-9]*\\.)*schema\\.json$" |
|
14 | 13 |
}, |
15 | 14 |
"mappings": { |
16 | 15 |
"description": "References to mappings using at least one pattern that matches the requested URL", |
Also available in: Unified diff
specify full schema URL in instances