{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tatango/main/json-schema/tatango-get-api-v2-lists-id-opt-in-settings-response-schema.json",
  "title": "GetApiV2ListsIdOptInSettingsResponse",
  "x-generated": "2026-10-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/tatango-openapi-generated.yml#/components/schemas/GetApiV2ListsIdOptInSettingsResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    },
    "opt_in_type": {
      "type": "string"
    },
    "opt_in_requests": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "bypass_opt_in_response": {
            "type": "boolean"
          },
          "collected_data": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "follow_up": {
            "type": "boolean"
          },
          "follow_up_hour": {
            "type": "integer"
          },
          "id": {
            "type": "integer"
          },
          "list_id": {
            "type": "integer"
          },
          "no_response_message": {
            "type": "string"
          },
          "opt_in_message": {
            "type": [
              "string",
              "null"
            ]
          },
          "request_message": {
            "type": "string"
          },
          "retry_message": {
            "type": "string"
          },
          "second_opt_in_message": {
            "type": [
              "string",
              "null"
            ]
          },
          "success_action": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        }
      }
    }
  }
}