{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"errors": [
{
"description": "The authenticated member has not confirmed age and accepted the Terms and Privacy Policy.",
"name": "ConsentRequired"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"category": {
"description": "Subject area of the inquiry. Closed rather than known values: 'other' is the catch-all, and both the appview and the inquiry table already reject anything outside this set.",
"enum": [
"account",
"content",
"payment",
"other"
],
"type": "string"
},
"content": {
"description": "Body of the inquiry.",
"maxLength": 5000,
"type": "string"
},
"email": {
"description": "Address to notify when the inquiry is answered. Bounded at the RFC 5321 maximum; Lexicon has no email string format.",
"maxLength": 254,
"type": "string"
},
"title": {
"description": "Subject line of the inquiry.",
"maxLength": 200,
"type": "string"
}
},
"required": [
"email",
"category",
"title",
"content"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"inquiry": {
"ref": "app.bivri.support.defs#inquiryView",
"type": "ref"
}
},
"required": [
"inquiry"
],
"type": "object"
}
},
"type": "procedure"
}
},
"description": "Open a one-to-one support inquiry. Authentication is required.",
"id": "app.bivri.support.createInquiry",
"lexicon": 1
}