{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-schema/openapi.yml-detect-syntax-request-schema.json",
"title": "DetectSyntaxRequest",
"description": "DetectSyntaxRequest schema",
"type": "object",
"properties": {
"Text": {
"allOf": [
{
"$ref": "#/components/schemas/CustomerInputString"
},
{
"description": "A UTF-8 string. The maximum string size is 5 KB."
}
]
},
"LanguageCode": {
"allOf": [
{
"$ref": "#/components/schemas/SyntaxLanguageCode"
},
{
"description": "The language code of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German (\"de\"), English (\"en\"), Spanish (\"es\"), French (\"fr\"), Italian (\"it\"), or Portuguese (\"pt\")."
}
]
}
},
"required": [
"Text",
"LanguageCode"
]
}