Search Response Schema
PYSCH
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"criteria": {
"type": "string"
},
"type": {
"type": "string"
},
"status": {
"type": "string"
},
"sources": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
]
}
]
},
"data": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"status": {
"type": "string"
},
"psychAnalyst": {
"type": "object",
"properties": {
"profiles": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"personName": {
"type": "string"
},
"psychologicalPortrait": {
"type": "string"
},
"levelOfDanger": {
"type": "string"
},
"predictedCharacteristics": {
"type": "array",
"items": [
{
"type": "string"
},
{
"type": "string"
}
]
}
},
"required": [
"personName",
"psychologicalPortrait",
"levelOfDanger",
"predictedCharacteristics"
]
}
]
}
},
"required": [
"profiles"
]
}
},
"required": [
"status",
"psychAnalyst"
]
}
]
}
},
"required": [
"criteria",
"type",
"status",
"sources",
"data"
]
}
SUMMARY
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"criteria": {
"type": "string"
},
"type": {
"type": "string"
},
"status": {
"type": "string"
},
"sources": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
]
}
]
},
"data": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"status": {
"type": "string"
},
"psychAnalyst": {
"type": "object",
"properties": {
"peopleCounter": {
"type": "integer"
},
"summaries": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"summary": {
"type": "string"
},
"country": {
"type": "string"
},
"age": {
"type": "string"
},
"occupation": {
"type": "string"
},
"gender": {
"type": "string"
}
},
"required": [
"summary",
"country",
"age",
"occupation",
"gender"
]
}
]
},
"image": {
"type": "string"
}
},
"required": [
"peopleCounter",
"summaries",
"image"
]
}
},
"required": [
"status",
"psychAnalyst"
]
}
]
}
},
"required": [
"criteria",
"type",
"status",
"sources",
"data"
]
}
Last updated