{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentline-cloud/json-schema/agentline-cloud-feedback-out-schema.json",
  "title": "FeedbackOut",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentline-cloud-openapi.json#/components/schemas/FeedbackOut",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "description": "Unique feedback identifier (e.g. 'fb_abc123')"
    },
    "account_id": {
      "type": "string",
      "title": "Account Id",
      "description": "Account that submitted this feedback"
    },
    "category": {
      "type": "string",
      "title": "Category",
      "description": "Feedback type: 'bug', 'feature_request', 'difficulty', or 'feedback'"
    },
    "message": {
      "type": "string",
      "title": "Message",
      "description": "Full feedback message"
    },
    "subject": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Subject",
      "description": "Short summary title"
    },
    "severity": {
      "type": "string",
      "title": "Severity",
      "description": "Impact level: 'low', 'normal', 'high', or 'critical'"
    },
    "agent_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Id",
      "description": "Related AI agent ID, if any"
    },
    "contact_email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Contact Email",
      "description": "Follow-up email, if provided"
    },
    "status": {
      "type": "string",
      "title": "Status",
      "description": "Current status: 'open', 'acknowledged', 'in_progress', 'resolved', or 'closed'"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At",
      "description": "When the feedback was submitted"
    }
  },
  "type": "object",
  "required": [
    "id",
    "account_id",
    "category",
    "message",
    "severity",
    "status",
    "created_at"
  ]
}