{ "$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-document-classification-config-schema.json", "title": "DocumentClassificationConfig", "description": "Configuration required for a custom classification model.", "type": "object", "properties": { "Mode": { "allOf": [ { "$ref": "#/components/schemas/DocumentClassifierMode" }, { "description": "Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL." } ] }, "Labels": { "allOf": [ { "$ref": "#/components/schemas/LabelsList" }, { "description": "One or more labels to associate with the custom classifier." } ] } }, "required": [ "Mode" ] }