{ "$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-dominant-language-schema.json", "title": "DominantLanguage", "description": "Returns the code for the dominant language in the input text and the level of confidence that Amazon Comprehend has in the accuracy of the detection.", "type": "object", "properties": { "LanguageCode": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "The RFC 5646 language code for the dominant language. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site." } ] }, "Score": { "allOf": [ { "$ref": "#/components/schemas/Float" }, { "description": "The level of confidence that Amazon Comprehend has in the accuracy of the detection." } ] } } }