{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reamaze/json-schema/reamaze-get-api-v1-messages-response-schema.json",
  "title": "GetApiV1MessagesResponse",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/reamaze-openapi-generated.yml#/components/schemas/GetApiV1MessagesResponse",
  "type": "object",
  "properties": {
    "body": {
      "type": "string"
    },
    "visibility": {
      "type": "integer"
    },
    "origin": {
      "type": "integer"
    },
    "origin_id": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "user": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        }
      }
    },
    "recipients": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          }
        }
      }
    },
    "attachments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "file_file_name": {
            "type": "string"
          },
          "file_content_type": {
            "type": "string"
          },
          "file_file_size": {
            "type": "integer"
          },
          "thumb_url": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "image?": {
            "type": "boolean"
          }
        }
      }
    },
    "conversation": {
      "type": "object",
      "properties": {
        "subject": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "category": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "slug": {
              "type": "string"
            },
            "email": {
              "type": "string"
            },
            "channel": {
              "type": "integer"
            }
          }
        }
      }
    }
  }
}