{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "ゼンカツ！の、ある1日のお題と全回答。回答は新着順（indexedAt 降順）。記録は公開情報なので未認証でも読める。認証した本人のぶんだけ viewer（提出済みか、今日出せる札）が付く。",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "submissions": {
              "description": "その日の回答。新着順。出したカードと botたんの総評だけを含む（スコアも順位も無い）。",
              "items": {
                "type": "unknown"
              },
              "type": "array"
            },
            "theme": {
              "description": "その日のお題。初回アクセス時に確定して以後変わらない（お題を足しても過去は動かない）。",
              "type": "unknown"
            },
            "viewer": {
              "description": "認証した本人のぶんだけ。提出済みか、今日出せる札とクールダウンの残り日数。",
              "type": "unknown"
            }
          },
          "required": [
            "theme",
            "submissions"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "date": {
            "description": "\"YYYY-MM-DD\"。省略すると今日。未来の日付は指定できない。",
            "maxLength": 10,
            "type": "string"
          },
          "limit": {
            "default": 30,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "com.suibari.nagi.getZenkatsu",
  "lexicon": 1
}
