{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Configuration for a user's tellme.dog ask box. Singleton record (key is always 'self') in the ask box owner's repo. The record is the portable projection of the owner's settings; the tellme.dog service holds the operative copy.",
      "key": "literal:self",
      "record": {
        "properties": {
          "allowAnonymous": {
            "description": "Whether anonymous questions are accepted.",
            "type": "boolean"
          },
          "createdAt": {
            "description": "When the ask box was first enabled.",
            "format": "datetime",
            "type": "string"
          },
          "enabled": {
            "description": "Whether the ask box is accepting new questions.",
            "type": "boolean"
          },
          "inboxUrl": {
            "description": "URL of the public ask page (e.g. https://tellme.dog/ask/<handle>). Optional — the serving host may change independently of the record.",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "enabled",
          "allowAnonymous",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "dog.tellme.askConfig",
  "lexicon": 1
}
