{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Report a record in a Circle Space",
      "errors": [
        {
          "name": "AuthRequired"
        },
        {
          "name": "AccessRemoved"
        },
        {
          "name": "UnsupportedPDS"
        },
        {
          "name": "ProtocolRevisionMismatch"
        },
        {
          "name": "UpstreamUnavailable"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "details": {
              "maxLength": 500,
              "type": "string"
            },
            "reason": {
              "enum": [
                "spam",
                "abuse",
                "other"
              ],
              "type": "string"
            },
            "space": {
              "format": "space-ref",
              "type": "string"
            },
            "uri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "space",
            "uri",
            "reason"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "id": {
              "description": "Canonical lowercase hyphenated RFC 4122 UUID.",
              "maxLength": 36,
              "minLength": 36,
              "type": "string"
            }
          },
          "required": [
            "id"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "blue.catbird.circle.reportRecord",
  "lexicon": 1
}
