{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A published answer to a question from an AMA post.",
      "key": "tid",
      "record": {
        "properties": {
          "amaUri": {
            "description": "AT URI of the parent AMA post.",
            "format": "at-uri",
            "type": "string"
          },
          "answer": {
            "description": "The answer text.",
            "maxLength": 5000,
            "type": "string"
          },
          "answerFacets": {
            "description": "Rich text annotations for the answer.",
            "items": {
              "ref": "place.pollen.richtext.facet#main",
              "type": "ref"
            },
            "type": "array"
          },
          "askerDid": {
            "description": "DID of the person who asked, if not anonymous.",
            "format": "did",
            "type": "string"
          },
          "blueskyPostUri": {
            "description": "AT URI of the cross-posted Bluesky post.",
            "format": "at-uri",
            "type": "string"
          },
          "createdAt": {
            "description": "Client-declared timestamp when the answer was published.",
            "format": "datetime",
            "type": "string"
          },
          "question": {
            "description": "The question text as submitted.",
            "maxLength": 2000,
            "type": "string"
          },
          "questionFacets": {
            "description": "Rich text annotations for the question.",
            "items": {
              "ref": "place.pollen.richtext.facet#main",
              "type": "ref"
            },
            "type": "array"
          },
          "tags": {
            "description": "Hashtags for discovery.",
            "items": {
              "maxLength": 64,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          }
        },
        "required": [
          "amaUri",
          "question",
          "answer",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "place.pollen.post.answer",
  "lexicon": 1
}
