{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-analyze-text-task-schema.json",
  "title": "AnalyzeTextTask",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-analyze-text-api-openapi.yml#/components/schemas/AnalyzeTextTask",
  "type": "object",
  "required": [
    "kind"
  ],
  "properties": {
    "kind": {
      "$ref": "#/$defs/AnalyzeTextTaskKind"
    }
  },
  "$defs": {
    "AnalyzeTextTaskKind": {
      "type": "string",
      "description": "Enumeration of supported Text Analysis tasks.",
      "enum": [
        "SentimentAnalysis",
        "EntityRecognition",
        "PiiEntityRecognition",
        "KeyPhraseExtraction",
        "LanguageDetection",
        "EntityLinking",
        "DynamicClassification"
      ],
      "x-ms-enum": {
        "name": "AnalyzeTextTaskKind",
        "modelAsString": true
      }
    }
  }
}