app.bivri.feed.artwork

lexicons.bivri.app

Documentation

main record

No description available.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

Client-declared timestamp of when the artwork was published.

description string Optional

Free-form description of the artwork.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
labels union Optional

Self-label values the author declared on this artwork, such as a spoiler warning. These are author metadata, not platform moderation decisions.

langs array of string language Optional

Human languages of the artwork's title and description.

maxLength: 3 items
media array of ref #mediaItem Required

Images making up the artwork, in display order. At least one is required.

maxLength: 50 itemsminLength: 1 items
tags array of string Optional

Author-chosen tags used for discovery and search.

maxLength: 8 items
title string Required

Title of the artwork.

maxLength: 500 bytesminLength: 1 bytesmaxGraphemes: 50 graphemes
updatedAt string datetime Optional

Client-declared timestamp of the last edit to this record.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "title",
      "media",
      "createdAt"
    ],
    "properties": {
      "tags": {
        "type": "array",
        "items": {
          "type": "string",
          "maxLength": 640,
          "minLength": 1,
          "maxGraphemes": 64
        },
        "maxLength": 8,
        "description": "Author-chosen tags used for discovery and search."
      },
      "langs": {
        "type": "array",
        "items": {
          "type": "string",
          "format": "language"
        },
        "maxLength": 3,
        "description": "Human languages of the artwork's title and description."
      },
      "media": {
        "type": "array",
        "items": {
          "ref": "#mediaItem",
          "type": "ref"
        },
        "maxLength": 50,
        "minLength": 1,
        "description": "Images making up the artwork, in display order. At least one is required."
      },
      "title": {
        "type": "string",
        "maxLength": 500,
        "minLength": 1,
        "description": "Title of the artwork.",
        "maxGraphemes": 50
      },
      "labels": {
        "refs": [
          "com.atproto.label.defs#selfLabels"
        ],
        "type": "union",
        "description": "Self-label values the author declared on this artwork, such as a spoiler warning. These are author metadata, not platform moderation decisions."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Client-declared timestamp of when the artwork was published."
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime",
        "description": "Client-declared timestamp of the last edit to this record."
      },
      "description": {
        "type": "string",
        "maxLength": 3000,
        "description": "Free-form description of the artwork.",
        "maxGraphemes": 300
      }
    }
  }
}
mediaItem object

No description available.

Properties

alt string Required

Alternative text describing the image for members who cannot see it.

blob blob Required

Image blob for this item. The write methods accept these three types and no others.

maxSize: 50.0 MB
View raw schema
{
  "type": "object",
  "required": [
    "blob",
    "alt"
  ],
  "properties": {
    "alt": {
      "type": "string",
      "description": "Alternative text describing the image for members who cannot see it."
    },
    "blob": {
      "type": "blob",
      "accept": [
        "image/jpeg",
        "image/png",
        "image/gif"
      ],
      "maxSize": 50000000,
      "description": "Image blob for this item. The write methods accept these three types and no others."
    },
    "aspectRatio": {
      "ref": "app.bivri.feed.defs#aspectRatio",
      "type": "ref"
    }
  }
}

Lexicon Garden

@