ATProto Media 0.1.0-alpha.25

External mapping

com.verylittlegravitas.media.mapping

First network catalog

A publisher’s claim that an external identifier and URL refer to an episode AT URI. The repository DID identifies the publisher.

Record fields

Set $type to com.verylittlegravitas.media.mapping in each record value.

FieldType / formatRequiredDescription and constraints
sourcestringYesThe external identifier’s provider or category.
  • At least 1 UTF-8 byte
  • At most 100 UTF-8 bytes
  • Known values (open set) apple-tv, bbc, episode-page, imdb
externalIdstringYesAn identifier within the source. For an episode-page claim, use the episode slug.
  • At least 1 UTF-8 byte
  • At most 512 UTF-8 bytes
urlstringuriYesThe HTTPS URL where the catalog can verify the source and identifier.
  • At most 2048 UTF-8 bytes
episodeUristringat-uriYesComplete DID-based AT URI of the target episode.

Key and usage

Record key rule any. Choose a stable case-sensitive key for the claim. Apply edits and deletions by the claim record’s AT URI. AT Protocol record keys

Attribute each claim to its repository DID. Verify the submitted HTTPS URL against its provider and identifier before trusting a match. Match episode-page claims using the URL’s origin and episode slug together. Ask for confirmation if trusted claims identify competing episodes. Catalog identity and mapping guidance

Record example

Fictional record address at://did:web:catalog.example/com.verylittlegravitas.media.mapping/first-signal-episode-page

{
  "$type": "com.verylittlegravitas.media.mapping",
  "source": "episode-page",
  "externalId": "first-signal",
  "url": "https://shows.example/episodes/first-signal",
  "episodeUri": "at://did:web:catalog.example/com.verylittlegravitas.media.episode/first-signal"
}