{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A drink on a Winesky list. Created when a user adds adds it via @winesky.app on Bluesky. Embeds the drink element from app.winesky.review, and refers to the post that triggered the element creation.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "drink": {
            "ref": "app.winesky.collectionItem#drink",
            "type": "ref"
          },
          "list": {
            "format": "at-uri",
            "type": "string"
          },
          "parentPostUri": {
            "format": "at-uri",
            "type": "string"
          },
          "triggerPostUri": {
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "list",
          "drink",
          "parentPostUri",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.winesky.listItem",
  "lexicon": 1
}
