JSONPlaceholder · JSON-LD Context

Jsonplaceholder Context

JSON-LD context defining the semantic vocabulary for Jsonplaceholder from JSONPlaceholder.

9 Classes 26 Properties 4 Namespaces
View Context View on GitHub

Namespaces

jph: https://jsonplaceholder.typicode.com/schema/
schema: https://schema.org/
dcterms: http://purl.org/dc/terms/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

Post Comment Album Photo Todo User Address Geo Company

Properties

Property Type Container
id integer
userId integer
postId integer
albumId integer
title string
name string
username string
body string
description string
email string
phone string
website reference
url reference
thumbnailUrl reference
completed boolean
address reference
street string
suite string
city string
zipcode string
geo reference
lat string
lng string
company reference
catchPhrase string
bs string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "jph": "https://jsonplaceholder.typicode.com/schema/",
    "schema": "https://schema.org/",
    "dcterms": "http://purl.org/dc/terms/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "Post": "jph:Post",
    "Comment": "jph:Comment",
    "Album": "jph:Album",
    "Photo": "jph:Photo",
    "Todo": "jph:Todo",
    "User": "jph:User",
    "Address": "jph:Address",
    "Geo": "jph:Geo",
    "Company": "jph:Company",

    "id": { "@id": "dcterms:identifier", "@type": "xsd:integer" },
    "userId": { "@id": "jph:userId", "@type": "xsd:integer" },
    "postId": { "@id": "jph:postId", "@type": "xsd:integer" },
    "albumId": { "@id": "jph:albumId", "@type": "xsd:integer" },

    "title": { "@id": "schema:name", "@type": "xsd:string" },
    "name": { "@id": "schema:name", "@type": "xsd:string" },
    "username": { "@id": "jph:username", "@type": "xsd:string" },
    "body": { "@id": "schema:description", "@type": "xsd:string" },
    "description": { "@id": "schema:description", "@type": "xsd:string" },
    "email": { "@id": "schema:email", "@type": "xsd:string" },
    "phone": { "@id": "schema:telephone", "@type": "xsd:string" },
    "website": { "@id": "schema:url", "@type": "@id" },
    "url": { "@id": "schema:url", "@type": "@id" },
    "thumbnailUrl": { "@id": "schema:thumbnailUrl", "@type": "@id" },
    "completed": { "@id": "jph:completed", "@type": "xsd:boolean" },

    "address": { "@id": "schema:address", "@type": "@id" },
    "street": { "@id": "schema:streetAddress", "@type": "xsd:string" },
    "suite": { "@id": "jph:suite", "@type": "xsd:string" },
    "city": { "@id": "schema:addressLocality", "@type": "xsd:string" },
    "zipcode": { "@id": "schema:postalCode", "@type": "xsd:string" },
    "geo": { "@id": "schema:geo", "@type": "@id" },
    "lat": { "@id": "schema:latitude", "@type": "xsd:string" },
    "lng": { "@id": "schema:longitude", "@type": "xsd:string" },

    "company": { "@id": "schema:worksFor", "@type": "@id" },
    "catchPhrase": { "@id": "schema:slogan", "@type": "xsd:string" },
    "bs": { "@id": "jph:bs", "@type": "xsd:string" }
  }
}