{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An Ask Me Anything post. Collects anonymous or signed questions.",
      "key": "tid",
      "record": {
        "properties": {
          "acceptingQuestions": {
            "description": "Whether the AMA is currently accepting new questions.",
            "type": "boolean"
          },
          "blueskyPostUri": {
            "description": "AT URI of the cross-posted Bluesky post.",
            "format": "at-uri",
            "type": "string"
          },
          "createdAt": {
            "description": "Client-declared timestamp when the AMA was created.",
            "format": "datetime",
            "type": "string"
          },
          "crosspostAnswers": {
            "description": "Whether answers should be cross-posted to Bluesky.",
            "type": "boolean"
          },
          "facets": {
            "description": "Rich text annotations for the text.",
            "items": {
              "ref": "place.pollen.richtext.facet#main",
              "type": "ref"
            },
            "type": "array"
          },
          "prompt": {
            "description": "The prompt or topic for questions (e.g. 'ask me anything about gardening').",
            "maxLength": 500,
            "type": "string"
          },
          "tags": {
            "description": "Hashtags for discovery.",
            "items": {
              "maxLength": 64,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "text": {
            "description": "Optional longer description or context.",
            "maxLength": 2000,
            "type": "string"
          }
        },
        "required": [
          "prompt",
          "acceptingQuestions",
          "crosspostAnswers",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "place.pollen.post.ama",
  "lexicon": 1
}
