xyz.opnshelf.mediaLink

rowanpaul.opnshelf.social View official

Documentation

An embedded, typed link binding a standard.site document to an OpnShelf media item. Placed inside a document's open `links` union; gets no collection and no record of its own.

main object

An embedded, typed link binding a standard.site document to an OpnShelf media item. Placed inside a document's open `links` union; gets no collection and no record of its own.

Properties

episodeNumber integer Optional

Episode number for episode items

mediaId string Required

TMDB movie ID or show ID

mediaType string Required

Media type

seasonNumber integer Optional

Season number for season/episode items

View raw schema
{
  "type": "object",
  "required": [
    "mediaType",
    "mediaId"
  ],
  "properties": {
    "mediaId": {
      "type": "string",
      "description": "TMDB movie ID or show ID"
    },
    "mediaType": {
      "enum": [
        "movie",
        "show",
        "season",
        "episode"
      ],
      "type": "string",
      "description": "Media type"
    },
    "seasonNumber": {
      "type": "integer",
      "description": "Season number for season/episode items"
    },
    "episodeNumber": {
      "type": "integer",
      "description": "Episode number for episode items"
    }
  },
  "description": "An embedded, typed link binding a standard.site document to an OpnShelf media item. Placed inside a document's open `links` union; gets no collection and no record of its own."
}

Lexicon Garden

@