{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A report of inappropriate content on a beacon",
      "key": "tid",
      "record": {
        "properties": {
          "beaconUri": {
            "description": "AT URI of the beacon being reported",
            "format": "at-uri",
            "type": "string"
          },
          "createdAt": {
            "description": "Timestamp when the report was created",
            "format": "datetime",
            "type": "string"
          },
          "details": {
            "description": "Additional context for the report",
            "maxGraphemes": 500,
            "type": "string"
          },
          "reason": {
            "description": "Reason for the report",
            "knownValues": [
              "spam",
              "inappropriate_content",
              "doxxing",
              "harassment",
              "impersonation",
              "other"
            ],
            "maxGraphemes": 64,
            "type": "string"
          }
        },
        "required": [
          "beaconUri",
          "reason",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.beaconbits.report",
  "lexicon": 1
}
