{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-contact-center-ai/json-schema/google-cloud-contact-center-ai-analysis-schema.json",
  "title": "Analysis",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/google-cloud-contact-center-ai-analyses-api-openapi.yml#/components/schemas/Analysis",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Resource name of the analysis."
    },
    "createTime": {
      "type": "string",
      "format": "date-time"
    },
    "analysisResult": {
      "type": "object",
      "properties": {
        "callAnalysisMetadata": {
          "type": "object",
          "properties": {
            "sentiments": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "magnitude": {
                    "type": "number"
                  },
                  "score": {
                    "type": "number"
                  }
                }
              }
            },
            "entities": {
              "type": "object",
              "additionalProperties": {
                "type": "object"
              }
            },
            "intents": {
              "type": "object",
              "additionalProperties": {
                "type": "object"
              }
            }
          }
        }
      }
    }
  }
}