Imgur · JSON-LD Context

Imgur Context

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

20 Classes 13 Properties 1 Namespaces
View Context View on GitHub

Namespaces

imgur: https://github.com/api-evangelist/imgur#

Classes

id title description width height size type account_url views ups downs comment_count reputation bio deletehash privacy layout nsfw topic is_album

Properties

Property Type Container
ImgurImage reference
ImgurAlbum reference
ImgurGalleryItem reference
ImgurComment reference
ImgurAccount reference
ImgurTag reference
link reference
datetime dateTime
account_id integer
tags set
images list
children list
avatar reference

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://schema.org/",
    "imgur": "https://github.com/api-evangelist/imgur#",
    "ImgurImage": {
      "@id": "imgur:Image",
      "@type": "@id"
    },
    "ImgurAlbum": {
      "@id": "imgur:Album",
      "@type": "@id"
    },
    "ImgurGalleryItem": {
      "@id": "imgur:GalleryItem",
      "@type": "@id"
    },
    "ImgurComment": {
      "@id": "imgur:Comment",
      "@type": "@id"
    },
    "ImgurAccount": {
      "@id": "imgur:Account",
      "@type": "@id"
    },
    "ImgurTag": {
      "@id": "imgur:Tag",
      "@type": "@id"
    },
    "id": "@id",
    "title": "name",
    "description": "description",
    "link": {
      "@id": "url",
      "@type": "@id"
    },
    "datetime": {
      "@id": "uploadDate",
      "@type": "xsd:dateTime"
    },
    "width": "width",
    "height": "height",
    "size": "contentSize",
    "type": "encodingFormat",
    "account_url": "author",
    "account_id": {
      "@id": "identifier",
      "@type": "xsd:integer"
    },
    "views": "interactionCount",
    "ups": "upvoteCount",
    "downs": "downvoteCount",
    "comment_count": "commentCount",
    "tags": {
      "@id": "keywords",
      "@container": "@set"
    },
    "images": {
      "@id": "hasPart",
      "@container": "@list"
    },
    "children": {
      "@id": "comment",
      "@container": "@list"
    },
    "reputation": "interactionStatistic",
    "avatar": {
      "@id": "image",
      "@type": "@id"
    },
    "bio": "description",
    "deletehash": "imgur:deletehash",
    "privacy": "imgur:privacy",
    "layout": "imgur:layout",
    "nsfw": "imgur:nsfw",
    "topic": "about",
    "is_album": "imgur:isAlbum"
  }
}