flashdata-dev's picture
Publish google_places tool and request guide
d728022 verified
Raw History Blame Contribute Delete
2.42 kB
{
"additionalProperties": false,
"description": "Google source parameters; omitted settings use provider behavior.",
"properties": {
"query": {
"description": "Search query, between 1 and 2,000 characters.",
"maxLength": 2000,
"minLength": 1,
"title": "Query",
"type": "string"
},
"num": {
"anyOf": [
{
"maximum": 100,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Requested result count.",
"title": "Num"
},
"page": {
"anyOf": [
{
"maximum": 100,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Search result page.",
"title": "Page"
},
"autocorrect": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Enable spelling autocorrection.",
"title": "Autocorrect"
},
"gl": {
"anyOf": [
{
"pattern": "^[A-Za-z]{2}$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Two-letter country code, for example us.",
"title": "Gl"
},
"hl": {
"anyOf": [
{
"pattern": "^[A-Za-z0-9-]{1,35}$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Interface language code, for example en.",
"title": "Hl"
},
"location": {
"anyOf": [
{
"maxLength": 200,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional geographic search location.",
"title": "Location"
},
"tbs": {
"anyOf": [
{
"maxLength": 200,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional Google time filter, for example qdr:w.",
"title": "Tbs"
}
},
"required": [
"query"
],
"title": "GoogleInput",
"type": "object"
}