app.winesky.collectionItem

winesky.app

Documentation

A drink in a user's Collection. References the parent Collection via at-uri and embeds the drink description.

main record

A drink in a user's Collection. References the parent Collection via at-uri and embeds the drink description.

Record Key tid Timestamp-based ID

Properties

collection string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

createdAt string datetime Required

An RFC 3339 formatted timestamp.

drink ref #drink Required

No description available.

View raw schema
{
  "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 object

No description available.

Properties

alcoholContent integer Optional

No description available.

minimum: 0maximum: 1000
appellation string Optional

No description available.

maxLength: 256 bytes
category string Required

No description available.

maxLength: 64 bytes
country string Required

No description available.

maxLength: 128 bytes
drinkId string Optional

No description available.

maxLength: 64 bytes
name string Required

No description available.

maxLength: 512 bytes
producer string Required

No description available.

maxLength: 512 bytes
region string Optional

No description available.

maxLength: 256 bytes
varietals array of string Optional

No description available.

vintage integer Optional

No description available.

View raw schema
{
  "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
    }
  }
}

Lexicon Garden

@