{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Appeal a moderation decision on the authenticated user's own account or content.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "Forbidden"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "labelValue": {
              "type": "string"
            },
            "message": {
              "maxLength": 4000,
              "type": "string"
            },
            "subjectCid": {
              "format": "cid",
              "type": "string"
            },
            "subjectDid": {
              "format": "did",
              "type": "string"
            },
            "subjectUri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "message"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "createdAt": {
              "format": "datetime",
              "type": "string"
            },
            "id": {
              "type": "integer"
            }
          },
          "required": [
            "id",
            "createdAt"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.didpic.moderation.createAppeal",
  "lexicon": 1
}
