AT Protocol · JSON-LD Context

Atproto Context

JSON-LD context defining the semantic vocabulary for Atproto from AT Protocol.

17 Classes 43 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
atproto: https://atproto.com/vocab/
bsky: https://docs.bsky.app/vocab/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

ATProtocol PDSHost Repository LexiconRecord XRPCEndpoint Session Blob Label Labeler FeedGenerator BskyPost BskyProfile BskyFollow BskyLike BskyRepost BskyFeed BskyNotification

Properties

Property Type Container
did reference
handle
atUri reference
cid
nsid
rkey
collection
pdsEndpoint reference
accessJwt
refreshJwt
active boolean
emailConfirmed boolean
displayName
description
avatar reference
banner reference
email
followersCount integer
followsCount integer
postsCount integer
createdAt dateTime
indexedAt dateTime
text
langs
facets list
reply
embed
tags list
replyCount integer
repostCount integer
likeCount integer
quoteCount integer
src reference
val
cts dateTime
neg boolean
reason
isRead boolean
reasonSubject reference
mimeType
size integer
inviteCodeRequired boolean
availableUserDomains list

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "atproto": "https://atproto.com/vocab/",
    "bsky": "https://docs.bsky.app/vocab/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "ATProtocol": "atproto:ATProtocol",
    "PDSHost": "atproto:PDSHost",
    "Repository": "atproto:Repository",
    "LexiconRecord": "atproto:LexiconRecord",
    "XRPCEndpoint": "atproto:XRPCEndpoint",
    "Session": "atproto:Session",
    "Blob": "atproto:Blob",
    "Label": "atproto:Label",
    "Labeler": "atproto:Labeler",
    "FeedGenerator": "atproto:FeedGenerator",

    "BskyPost": "bsky:Post",
    "BskyProfile": "bsky:Profile",
    "BskyFollow": "bsky:Follow",
    "BskyLike": "bsky:Like",
    "BskyRepost": "bsky:Repost",
    "BskyFeed": "bsky:Feed",
    "BskyNotification": "bsky:Notification",

    "did": {
      "@id": "atproto:did",
      "@type": "@id"
    },
    "handle": {
      "@id": "atproto:handle"
    },
    "atUri": {
      "@id": "atproto:atUri",
      "@type": "@id"
    },
    "cid": {
      "@id": "atproto:cid"
    },
    "nsid": {
      "@id": "atproto:nsid"
    },
    "rkey": {
      "@id": "atproto:rkey"
    },
    "collection": {
      "@id": "atproto:collection"
    },
    "pdsEndpoint": {
      "@id": "atproto:pdsEndpoint",
      "@type": "@id"
    },
    "accessJwt": {
      "@id": "atproto:accessJwt"
    },
    "refreshJwt": {
      "@id": "atproto:refreshJwt"
    },
    "active": {
      "@id": "atproto:active",
      "@type": "xsd:boolean"
    },
    "emailConfirmed": {
      "@id": "atproto:emailConfirmed",
      "@type": "xsd:boolean"
    },

    "displayName": {
      "@id": "schema:name"
    },
    "description": {
      "@id": "schema:description"
    },
    "avatar": {
      "@id": "schema:image",
      "@type": "@id"
    },
    "banner": {
      "@id": "schema:image",
      "@type": "@id"
    },
    "email": {
      "@id": "schema:email"
    },
    "followersCount": {
      "@id": "schema:followeeCount",
      "@type": "xsd:integer"
    },
    "followsCount": {
      "@id": "schema:followingCount",
      "@type": "xsd:integer"
    },
    "postsCount": {
      "@id": "bsky:postsCount",
      "@type": "xsd:integer"
    },
    "createdAt": {
      "@id": "schema:dateCreated",
      "@type": "xsd:dateTime"
    },
    "indexedAt": {
      "@id": "atproto:indexedAt",
      "@type": "xsd:dateTime"
    },

    "text": {
      "@id": "schema:text"
    },
    "langs": {
      "@id": "schema:inLanguage"
    },
    "facets": {
      "@id": "atproto:facets",
      "@container": "@list"
    },
    "reply": {
      "@id": "schema:isPartOf"
    },
    "embed": {
      "@id": "schema:hasPart"
    },
    "tags": {
      "@id": "schema:keywords",
      "@container": "@list"
    },

    "replyCount": {
      "@id": "bsky:replyCount",
      "@type": "xsd:integer"
    },
    "repostCount": {
      "@id": "bsky:repostCount",
      "@type": "xsd:integer"
    },
    "likeCount": {
      "@id": "bsky:likeCount",
      "@type": "xsd:integer"
    },
    "quoteCount": {
      "@id": "bsky:quoteCount",
      "@type": "xsd:integer"
    },

    "src": {
      "@id": "schema:author",
      "@type": "@id"
    },
    "val": {
      "@id": "atproto:labelValue"
    },
    "cts": {
      "@id": "schema:dateCreated",
      "@type": "xsd:dateTime"
    },
    "neg": {
      "@id": "atproto:negation",
      "@type": "xsd:boolean"
    },

    "reason": {
      "@id": "atproto:notificationReason"
    },
    "isRead": {
      "@id": "atproto:isRead",
      "@type": "xsd:boolean"
    },
    "reasonSubject": {
      "@id": "atproto:reasonSubject",
      "@type": "@id"
    },

    "mimeType": {
      "@id": "schema:encodingFormat"
    },
    "size": {
      "@id": "schema:contentSize",
      "@type": "xsd:integer"
    },

    "inviteCodeRequired": {
      "@id": "atproto:inviteCodeRequired",
      "@type": "xsd:boolean"
    },
    "availableUserDomains": {
      "@id": "atproto:availableUserDomains",
      "@container": "@list"
    }
  }
}