{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beatra-ai/json-schema/beatra-ai-feedback-message-response-schema.json",
  "title": "FeedbackMessageResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beatra-ai-account-feedback-api-openapi.yml#/components/schemas/FeedbackMessageResponse",
  "properties": {
    "message_id": {
      "type": "string",
      "title": "Message Id"
    },
    "conversation_id": {
      "type": "string",
      "title": "Conversation Id"
    },
    "sequence": {
      "type": "integer",
      "exclusiveMinimum": 0.0,
      "title": "Sequence"
    },
    "sender_type": {
      "type": "string",
      "enum": [
        "customer",
        "admin"
      ],
      "title": "Sender Type"
    },
    "body": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Body"
    },
    "screenshot": {
      "anyOf": [
        {
          "$ref": "#/$defs/FeedbackScreenshotResponse"
        },
        {
          "type": "null"
        }
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    }
  },
  "type": "object",
  "required": [
    "message_id",
    "conversation_id",
    "sequence",
    "sender_type",
    "body",
    "screenshot",
    "created_at"
  ],
  "$defs": {
    "FeedbackScreenshotResponse": {
      "properties": {
        "mime_type": {
          "type": "string",
          "enum": [
            "image/png",
            "image/jpeg",
            "image/webp"
          ],
          "title": "Mime Type"
        },
        "size_bytes": {
          "type": "integer",
          "maximum": 10485760.0,
          "minimum": 1.0,
          "title": "Size Bytes"
        },
        "width": {
          "type": "integer",
          "exclusiveMinimum": 0.0,
          "title": "Width"
        },
        "height": {
          "type": "integer",
          "exclusiveMinimum": 0.0,
          "title": "Height"
        }
      },
      "type": "object",
      "required": [
        "mime_type",
        "size_bytes",
        "width",
        "height"
      ],
      "title": "FeedbackScreenshotResponse"
    }
  }
}