app.winesky.collectionItem

winesky.app

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "drink": {
      "properties": {
        "alcoholContent": {
          "maximum": 1000,
          "minimum": 0,
          "type": "integer"
        },
        "appellation": {
          "maxLength": 256,
          "type": "string"
        },
        "category": {
          "enum": [
            "BEER",
            "WINE",
            "SPIRIT",
            "CIDER",
            "RTD",
            "SAKE",
            "OTHER"
          ],
          "maxLength": 64,
          "type": "string"
        },
        "country": {
          "maxLength": 128,
          "type": "string"
        },
        "drinkId": {
          "maxLength": 64,
          "type": "string"
        },
        "name": {
          "maxLength": 512,
          "type": "string"
        },
        "producer": {
          "maxLength": 512,
          "type": "string"
        },
        "region": {
          "maxLength": 256,
          "type": "string"
        },
        "varietals": {
          "items": {
            "maxLength": 128,
            "type": "string"
          },
          "type": "array"
        },
        "vintage": {
          "type": "integer"
        }
      },
      "required": [
        "category",
        "country",
        "producer",
        "name"
      ],
      "type": "object"
    },
    "main": {
      "description": "A drink in a user's Collection. References the parent Collection via at-uri and embeds the drink description.",
      "key": "tid",
      "record": {
        "properties": {
          "collection": {
            "format": "at-uri",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "drink": {
            "ref": "#drink",
            "type": "ref"
          },
          "imageSet": {
            "ref": "#strongRef",
            "type": "ref"
          },
          "review": {
            "ref": "#strongRef",
            "type": "ref"
          }
        },
        "required": [
          "collection",
          "drink",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "strongRef": {
      "properties": {
        "atUri": {
          "format": "at-uri",
          "type": "string"
        },
        "cid": {
          "format": "cid",
          "type": "string"
        }
      },
      "required": [
        "cid",
        "atUri"
      ],
      "type": "object"
    }
  },
  "id": "app.winesky.collectionItem",
  "lexicon": 1
}

Validate Record

Validate a record against app.winesky.collectionItem

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:kg77b5troxbtudevqnfvqba7
CID
bafyreicg34o2kd2qnmivjbknmdkuc54oqywexmisubfjjcgyg3oo6jdwxa
Indexed At
2026-08-10 15:45 UTC
AT-URI
at://did:plc:kg77b5troxbtudevqnfvqba7/com.atproto.lexicon.schema/app.winesky.collectionItem

Version History (3 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • 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.

  • 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 lexi…

  • A structured, machine-readable wine review record. Created when a user publishes a wine review to Bluesky.

  • A user-curated list of drinks. Lists are append-only / append-and-delete; metadata is intentionally minimal — the name is set at creation and is not user-editable today.

Lexicon Garden

@