Hi
Both email and this community thread rejected a PDF document attachment. Sending the response body and schema in PNG format.
!
Pasted schema below from pre-req script as I could not attach:
var search_response_schema =
{
“definitions”: {},
“$schema”: “http://json-schema.org/draft-07/schema#”,
“$id”: “http://example.com/root.json”,
“type”: “object”,
“title”: “The Root Schema”,
“required”: [
“timing”,
“data”
],
“properties”: {
“timing”: {
“$id”: “#/properties/timing”,
“type”: “array”,
“title”: “The Timing Schema”,
“items”: {
“$id”: “#/properties/timing/items”,
“type”: “object”,
“title”: “The Items Schema”,
“required”: [
“QIS”
],
“properties”: {
“QIS”: {
“$id”: “#/properties/timing/items/properties/QIS”,
“type”: “object”,
“title”: “The Qis Schema”,
“required”: [
“duration”,
“reqId”
],
“properties”: {
“duration”: {
“$id”: “#/properties/timing/items/properties/QIS/properties/duration”,
“type”: “integer”,
“title”: “The Duration Schema”,
“default”: 0,
“examples”: [
385
]
},
“reqId”: {
“$id”: “#/properties/timing/items/properties/QIS/properties/reqId”,
“type”: “string”,
“title”: “The Reqid Schema”,
“default”: “”,
“examples”: [
“6c845d80-5a23-11e9-bc8f-25dc5895059c”
],
“pattern”: “^(.)$"
}
}
}
}
}
},
“data”: {
“$id”: “#/properties/data”,
“type”: “array”,
“title”: “The Data Schema”,
“items”: {
“$id”: “#/properties/data/items”,
“type”: “object”,
“title”: “The Items Schema”,
“required”: [
“id”,
“type”,
“attributes”
],
“properties”: {
“id”: {
“$id”: “#/properties/data/items/properties/id”,
“type”: “string”,
“title”: “The Id Schema”,
“default”: “”,
“examples”: [
“apps”
],
“pattern”: "^(.)$”
},
“type”: {
“$id”: “#/properties/data/items/properties/type”,
“type”: “string”,
“title”: “The Type Schema”,
“default”: “”,
“examples”: [
“source”
],
“pattern”: “^(.)$"
},
“attributes”: {
“$id”: “#/properties/data/items/properties/attributes”,
“type”: “object”,
“title”: “The Attributes Schema”,
“required”: [
“total_count”,
“results”
],
“properties”: {
“total_count”: {
“$id”: “#/properties/data/items/properties/attributes/properties/total_count”,
“type”: “integer”,
“title”: “The Total_count Schema”,
“default”: 0,
“examples”: [
1
]
},
“results”: {
“$id”: “#/properties/data/items/properties/attributes/properties/results”,
“type”: “array”,
“title”: “The Results Schema”,
“items”: {
“$id”: “#/properties/data/items/properties/attributes/properties/results/items”,
“type”: “object”,
“title”: “The Items Schema”,
“required”: [
“attributes”
],
“properties”: {
“attributes”: {
“$id”: “#/properties/data/items/properties/attributes/properties/results/items/properties/attributes”,
“type”: “object”,
“title”: “The Attributes Schema”,
“required”: [
“app”,
“app_array”
],
“properties”: {
“app”: {
“$id”: “#/properties/data/items/properties/attributes/properties/results/items/properties/attributes/properties/app”,
“type”: “string”,
“title”: “The App Schema”,
“default”: “”,
“examples”: [
“Photoshop”
],
“pattern”: "^(.)$”
},
“app_array”: {
“$id”: “#/properties/data/items/properties/attributes/properties/results/items/properties/attributes/properties/app_array”,
“type”: “array”,
“title”: “The App_array Schema”,
“items”: {
“$id”: “#/properties/data/items/properties/attributes/properties/results/items/properties/attributes/properties/app_array/items”,
“type”: “object”,
“title”: “The Items Schema”,
“required”: [
“score”,
“name”
],
“properties”: {
“score”: {
“$id”: “#/properties/data/items/properties/attributes/properties/results/items/properties/attributes/properties/app_array/items/properties/score”,
“type”: “integer”,
“title”: “The Score Schema”,
“default”: 0,
“examples”: [
1
]
},
“name”: {
“$id”: “#/properties/data/items/properties/attributes/properties/results/items/properties/attributes/properties/app_array/items/properties/name”,
“type”: “string”,
“title”: “The Name Schema”,
“default”: “”,
“examples”: [
“Photoshop”
],
“pattern”: “^(.*)$”
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
};