{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One anonymous answer to a survey. Carries no respondent identifier of any kind.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "option": {
            "description": "The chosen option id, or `other`.",
            "maxLength": 16,
            "type": "string"
          },
          "otherText": {
            "description": "Free text, present only when option is `other`.",
            "maxGraphemes": 280,
            "maxLength": 2800,
            "type": "string"
          },
          "survey": {
            "description": "rkey of the questionSurvey in the same space.",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "survey",
          "option",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "garden.lexicon.nourishing-earthworm.questionResponse",
  "lexicon": 1
}
