{
  "lexicon": 1,
  "id": "net.bisks.tacocounter.log",
  "defs": {
    "main": {
      "type": "record",
      "description": "One taco-eating event, recorded by the eater. A person's running total is the sum of `count` across every log record in their own repo — see public/lib/tally.js. Written and read by tacocounter (https://tacocounter.bisks.net).",
      "key": "tid",
      "record": {
        "type": "object",
        "required": ["count", "eatenAt"],
        "properties": {
          "count": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "How many tacos were eaten in this sitting."
          },
          "note": {
            "type": "string",
            "maxLength": 140,
            "description": "Optional short note — what kind, where, with who."
          },
          "eatenAt": {
            "type": "string",
            "format": "datetime",
            "description": "When these tacos were eaten, as an ISO 8601 datetime."
          }
        }
      }
    }
  }
}
