REST API · JSON-LD Context

Rest Api Context

JSON-LD context defining the semantic vocabulary for Rest Api from REST API.

5 Classes 13 Properties 2 Namespaces
View Context View on GitHub

Namespaces

rest: https://restfulapi.net/vocab#
http: https://www.iana.org/assignments/http-methods/

Classes

SoftwareApplication TechArticle name description url

Properties

Property Type Container
Resource rdfs:Class
Endpoint rdfs:Class
HttpMethod rdfs:Class
StatusCode rdfs:Class
Representation rdfs:Class
method rest:HttpMethod
path
authentication
pagination
rateLimiting
versioning
contentType
statusCode rest:StatusCode

JSON-LD Document

rest-api-context.jsonld Raw ↑
{
  "@context": {
    "@vocab": "https://schema.org/",
    "rest": "https://restfulapi.net/vocab#",
    "http": "https://www.iana.org/assignments/http-methods/",
    "SoftwareApplication": "SoftwareApplication",
    "TechArticle": "TechArticle",
    "name": "name",
    "description": "description",
    "url": "url",
    "Resource": {
      "@id": "rest:Resource",
      "@type": "rdfs:Class"
    },
    "Endpoint": {
      "@id": "rest:Endpoint",
      "@type": "rdfs:Class"
    },
    "HttpMethod": {
      "@id": "rest:HttpMethod",
      "@type": "rdfs:Class"
    },
    "StatusCode": {
      "@id": "rest:StatusCode",
      "@type": "rdfs:Class"
    },
    "Representation": {
      "@id": "rest:Representation",
      "@type": "rdfs:Class"
    },
    "method": {
      "@id": "rest:method",
      "@type": "rest:HttpMethod"
    },
    "path": {
      "@id": "rest:path"
    },
    "authentication": {
      "@id": "rest:authentication"
    },
    "pagination": {
      "@id": "rest:pagination"
    },
    "rateLimiting": {
      "@id": "rest:rateLimiting"
    },
    "versioning": {
      "@id": "rest:versioning"
    },
    "contentType": {
      "@id": "rest:contentType"
    },
    "statusCode": {
      "@id": "rest:statusCode",
      "@type": "rest:StatusCode"
    }
  }
}