{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-get-case-response-schema.json",
  "title": "GetCaseResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-cases-api-openapi.yml#/components/schemas/GetCaseResponse",
  "type": "object",
  "properties": {
    "fields": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CasesFieldValue"
      },
      "description": "A list of detailed field information."
    },
    "templateId": {
      "type": "string",
      "description": "A unique identifier of a template."
    },
    "nextToken": {
      "type": "string",
      "description": "The token for the next set of results. This is null if there are no more results to return."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "A map of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource."
    }
  },
  "required": [
    "fields",
    "templateId"
  ],
  "$defs": {
    "CasesFieldValue": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier of a field."
        },
        "value": {
          "$ref": "#/$defs/CasesFieldValueUnion"
        }
      },
      "required": [
        "id",
        "value"
      ]
    },
    "CasesFieldValueUnion": {
      "type": "object",
      "properties": {
        "stringValue": {
          "type": "string",
          "description": "String value type."
        },
        "doubleValue": {
          "type": "number",
          "description": "Can be either null, or have a Double number value type. Only one value can be provided."
        },
        "booleanValue": {
          "type": "boolean",
          "description": "Can be either null, or have a Boolean value type. Only one value can be provided."
        },
        "emptyValue": {
          "$ref": "#/$defs/EmptyFieldValue"
        },
        "userArnValue": {
          "type": "string",
          "description": "Represents the user that performed the audit."
        }
      },
      "description": "Exactly one member is set."
    },
    "EmptyFieldValue": {
      "type": "object",
      "properties": {}
    }
  }
}