View raw JSON
{
"type": "object",
"required": [
"request"
],
"properties": {
"request": {
"type": "object",
"required": [
"language_code",
"location_code",
"platform",
"target",
"links_scope",
"initial_dataset_filters",
"limit",
"internal_list_limit"
],
"properties": {
"limit": {
"type": "integer",
"const": 3
},
"target": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"keyword",
"search_scope"
],
"properties": {
"keyword": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"search_scope": {
"type": "array",
"items": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"maxItems": 1,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"keyword",
"search_scope",
"match_type"
],
"properties": {
"keyword": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"match_type": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"search_scope": {
"type": "array",
"items": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"maxItems": 1,
"minItems": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 2,
"minItems": 1
},
"platform": {
"type": "string",
"const": "chat_gpt"
},
"links_scope": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"language_code": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"location_code": {
"type": "integer",
"maximum": 100000000,
"minimum": 1
},
"internal_list_limit": {
"type": "integer",
"const": 2
},
"initial_dataset_filters": {
"type": "array",
"items": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 256,
"minLength": 1
},
{
"type": "integer",
"const": 10
}
]
},
"maxItems": 3,
"minItems": 1
},
"maxItems": 1,
"minItems": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}