{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/listdrop-co/json-schema/listdrop-co-feedback-request-schema.json",
  "title": "FeedbackRequest",
  "description": "One message. Everything except `message` is optional.",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/listdrop-co-openapi.json#/components/schemas/FeedbackRequest",
  "type": "object",
  "required": [
    "message"
  ],
  "properties": {
    "message": {
      "type": "string",
      "minLength": 4,
      "maxLength": 2000,
      "description": "What happened, in plain words. Concrete beats polite: the call you made, what you expected, what you got."
    },
    "kind": {
      "type": "string",
      "enum": [
        "problem",
        "idea",
        "praise",
        "other"
      ],
      "description": "Optional hint for triage; defaults to other."
    },
    "source": {
      "type": "string",
      "enum": [
        "agent",
        "mcp",
        "api",
        "cli",
        "web"
      ],
      "description": "Which kind of client you are. Self-reported, used only for grouping."
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Only if a reply is wanted, and only an address its owner gave you."
    },
    "path": {
      "type": "string",
      "description": "Same-origin path the feedback is about, e.g. /l/abc123 or /api/v1/agent/lists."
    },
    "context": {
      "type": "object",
      "description": "Flat map of extra detail (client name, endpoint, error code, model). Values are strings; at most 12 keys.",
      "additionalProperties": {
        "type": "string"
      }
    }
  }
}