{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A signed question directed at a specific account (ask-me-anything style). Not pooled. This is public speech by the asker, equivalent in visibility and accountability to a mention: it is publicly readable from the moment it is created, whether or not the recipient ever answers. There are no anonymous directed questions. The recipient is never obligated to answer; nothing appears in the recipient's repo unless they choose to respond, and AppViews should only route asks to recipients who have asks enabled and have not blocked the asker.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "lang": {
            "description": "Language of the question text.",
            "format": "language",
            "type": "string"
          },
          "subject": {
            "description": "The DID of the account this question is directed at.",
            "format": "did",
            "type": "string"
          },
          "text": {
            "description": "The question text. If answered, the recipient's answer embeds a snapshot of this text; attribution of the asker is resolved live from the answer's reference, so deleting this record degrades attribution to '[deleted]' without hollowing out the answer.",
            "maxGraphemes": 500,
            "maxLength": 5000,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "subject",
          "text",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.askeverything.ama.question",
  "lexicon": 1
}
