{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/instabug/main/json-schema/instabug-review-schema.json",
  "title": "Luciq App Review",
  "description": "An app review captured through a store, native, or custom prompt and surfaced via the Luciq MCP Server. Filterable by rating, version, country, device, prompt type, and OS.",
  "type": "object",
  "required": ["id", "rating"],
  "properties": {
    "id": { "type": "string" },
    "rating": { "type": "integer", "minimum": 1, "maximum": 5 },
    "title": { "type": "string" },
    "body": { "type": "string" },
    "country": { "type": "string", "description": "ISO 3166-1 alpha-2 country code." },
    "app_version": { "type": "string" },
    "device": { "type": "string" },
    "os": { "type": "string", "enum": ["ios", "android"] },
    "prompt_type": { "type": "string", "enum": ["store", "native", "custom"] },
    "submitted_at": { "type": "string", "format": "date-time" }
  }
}
