{
"id": "app.askeverything.feed.answer",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"question",
"questionText",
"text",
"createdAt"
],
"properties": {
"text": {
"type": "string",
"maxLength": 30000,
"minLength": 1,
"description": "The answer text. Skipped questions are intentionally not represented on-protocol.",
"maxGraphemes": 3000
},
"question": {
"ref": "lex:com.atproto.repo.strongRef",
"type": "ref",
"description": "Strong reference (AT-URI + CID) to the question record being answered. The CID pins the exact version of the question that was answered."
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"questionLang": {
"type": "string",
"format": "language",
"description": "Language of the question text snapshot."
},
"questionText": {
"type": "string",
"maxLength": 5000,
"description": "Snapshot of the question text at the time of answering. This copy is licensed for embedding by the question's contribution to the pool (or by the act of directing the ask at this account) and is retained regardless of the source record's fate.",
"maxGraphemes": 500
}
}
},
"description": "A person's answer to a question. The record is self-contained: it embeds a snapshot of the question text as it was when answered, so the answer remains intelligible even if the referenced question record is later deleted or unavailable. The question reference is validated by shape (a strongRef), not by target record type, so answers may respond to pool questions, directed asks, or compatible prompt records from other applications."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}