garden.lexicon.nourishing-earthworm.questionSurvey

A single multiple choice question. The rkey is 12 random base32 characters, never a TID: the survey URL is unlisted and must not be guessable.

Repository @tyler.fun did:plc:4gt3dbmp4pydjiemob4konzm namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritynourishing-earthworm.lexicon.garden
Indexed

Lexicon Garden will delete the DNS records for garden.lexicon.nourishing-earthworm on February 15, 2027. NSIDs under it stop resolving then; publish them to a sandbox or under a domain you control.

cid bafyreigfxhvgw35x556zin5ariiz5obtkglqxuvu4t2up4y2a3qcfxyp7u

Checks

Valid
  • unlimited-string defs.main.record.properties.resultsVisibilityNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A single multiple choice question. The rkey is 12 random base32 characters, never a TID: the survey URL is unlisted and must not be guessable.",
      "key": "any",
      "record": {
        "properties": {
          "allowOther": {
            "description": "Offer an \"other\" answer with free text.",
            "type": "boolean"
          },
          "closedAt": {
            "description": "Closed by the author by hand. Absent means not closed by hand.",
            "format": "datetime",
            "type": "string"
          },
          "closesAt": {
            "description": "Close at this time.",
            "format": "datetime",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "maxResponses": {
            "description": "Close after this many responses.",
            "minimum": 1,
            "type": "integer"
          },
          "options": {
            "items": {
              "ref": "#option",
              "type": "ref"
            },
            "maxLength": 10,
            "minLength": 2,
            "type": "array"
          },
          "question": {
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "resultsVisibility": {
            "description": "`author`: only the author sees results. `respondents`: respondents see the tally after answering, and visitors may view results without answering (recorded as a questionView).",
            "knownValues": [
              "author",
              "respondents"
            ],
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "question",
          "options",
          "allowOther",
          "resultsVisibility",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "option": {
      "properties": {
        "id": {
          "description": "Stable within the survey; responses refer to it. `other` is reserved.",
          "maxLength": 16,
          "minLength": 1,
          "type": "string"
        },
        "text": {
          "maxGraphemes": 100,
          "maxLength": 1000,
          "type": "string"
        }
      },
      "required": [
        "id",
        "text"
      ],
      "type": "object"
    }
  },
  "id": "garden.lexicon.nourishing-earthworm.questionSurvey",
  "lexicon": 1
}