Sendbird · JSON-LD Context

Sendbird Context

JSON-LD context defining the semantic vocabulary for Sendbird from Sendbird.

11 Classes 11 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
sendbird: https://sendbird.com/vocab/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

user_id nickname metadata channel_url name message_id message type custom_type data mention_type

Properties

Property Type Container
User reference
GroupChannel reference
Message reference
profile_url reference
is_online boolean
is_active boolean
created_at integer
last_seen_at integer
member_count integer
cover_url reference
is_distinct boolean

JSON-LD Document

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

    "User": {
      "@id": "sendbird:User",
      "@type": "@id",
      "subClassOf": "schema:Person"
    },
    "GroupChannel": {
      "@id": "sendbird:GroupChannel",
      "@type": "@id",
      "subClassOf": "schema:ConversationThread"
    },
    "Message": {
      "@id": "sendbird:Message",
      "@type": "@id",
      "subClassOf": "schema:Message"
    },

    "user_id": "@id",
    "nickname": "schema:name",
    "profile_url": {
      "@id": "schema:image",
      "@type": "@id"
    },
    "is_online": {
      "@id": "sendbird:isOnline",
      "@type": "xsd:boolean"
    },
    "is_active": {
      "@id": "sendbird:isActive",
      "@type": "xsd:boolean"
    },
    "created_at": {
      "@id": "schema:dateCreated",
      "@type": "xsd:integer"
    },
    "last_seen_at": {
      "@id": "sendbird:lastSeenAt",
      "@type": "xsd:integer"
    },
    "metadata": "sendbird:metadata",

    "channel_url": "@id",
    "name": "schema:name",
    "member_count": {
      "@id": "schema:numberOfItems",
      "@type": "xsd:integer"
    },
    "cover_url": {
      "@id": "schema:image",
      "@type": "@id"
    },
    "is_distinct": {
      "@id": "sendbird:isDistinct",
      "@type": "xsd:boolean"
    },

    "message_id": "@id",
    "message": "schema:text",
    "type": "sendbird:messageType",
    "custom_type": "sendbird:customType",
    "data": "sendbird:customData",
    "mention_type": "sendbird:mentionType"
  }
}