{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A user-owned grouping of drinks. Currently supports MAIN (drinks the user has reviewed) and FAVORITES (drinks the user has marked for later). Singleton per (DID, type) — enforced server-side at ingest, not by the lexicon.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "type": {
            "enum": [
              "MAIN",
              "FAVORITES"
            ],
            "maxLength": 32,
            "type": "string"
          }
        },
        "required": [
          "type",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.winesky.collection",
  "lexicon": 1
}
