app.winesky.collectionItem

winesky.app

{
  "id": "app.winesky.collectionItem",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "collection",
          "drink",
          "createdAt"
        ],
        "properties": {
          "drink": {
            "ref": "#drink",
            "type": "ref"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "collection": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "description": "A drink in a user's Collection. References the parent Collection via at-uri and embeds the drink description."
    },
    "drink": {
      "type": "object",
      "required": [
        "category",
        "country",
        "producer",
        "name"
      ],
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 512
        },
        "region": {
          "type": "string",
          "maxLength": 256
        },
        "country": {
          "type": "string",
          "maxLength": 128
        },
        "drinkId": {
          "type": "string",
          "maxLength": 64
        },
        "vintage": {
          "type": "integer"
        },
        "category": {
          "enum": [
            "BEER",
            "WINE",
            "SPIRIT",
            "CIDER",
            "RTD",
            "SAKE",
            "OTHER"
          ],
          "type": "string",
          "maxLength": 64
        },
        "producer": {
          "type": "string",
          "maxLength": 512
        },
        "varietals": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 128
          }
        },
        "appellation": {
          "type": "string",
          "maxLength": 256
        },
        "alcoholContent": {
          "type": "integer",
          "maximum": 1000,
          "minimum": 0
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "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
bafyreigwi4t3nhv4f7m77qdiuqwj5lfg5zi7dluxuat35ns3a6u54gqke4
Indexed At
2026-05-22 12:30 UTC
AT-URI
at://did:plc:kg77b5troxbtudevqnfvqba7/com.atproto.lexicon.schema/app.winesky.collectionItem

Lexicon Garden

@