HubSpot · JSON-LD Context

Hubspot Oauth Context

JSON-LD context defining the semantic vocabulary for Hubspot Oauth from HubSpot.

0 Classes 6 Properties 2 Namespaces
View Context View on GitHub

Namespaces

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

Properties

Property Type Container
AccessTokenMetadata
RefreshTokenMetadata
TokenRequest
TokenResponse
Error
ErrorDetail

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "schema": "https://schema.org/",
    "AccessTokenMetadata": {
      "@id": "ns:AccessTokenMetadata",
      "@context": {
        "token": {
          "@id": "ns:token",
          "@type": "xsd:string"
        },
        "app_id": {
          "@id": "ns:app_id",
          "@type": "xsd:integer"
        },
        "hub_id": {
          "@id": "ns:hub_id",
          "@type": "xsd:integer"
        },
        "user_id": {
          "@id": "ns:user_id",
          "@type": "xsd:integer"
        },
        "user": {
          "@id": "ns:user",
          "@type": "xsd:string"
        },
        "hub_domain": {
          "@id": "ns:hub_domain",
          "@type": "xsd:string"
        },
        "scopes": "ns:scopes",
        "token_type": {
          "@id": "ns:token_type",
          "@type": "xsd:string"
        },
        "expires_in": {
          "@id": "ns:expires_in",
          "@type": "xsd:integer"
        }
      }
    },
    "RefreshTokenMetadata": {
      "@id": "ns:RefreshTokenMetadata",
      "@context": {
        "token": {
          "@id": "ns:token",
          "@type": "xsd:string"
        },
        "client_id": {
          "@id": "ns:client_id",
          "@type": "xsd:string"
        },
        "hub_id": {
          "@id": "ns:hub_id",
          "@type": "xsd:integer"
        },
        "user_id": {
          "@id": "ns:user_id",
          "@type": "xsd:integer"
        },
        "user": {
          "@id": "ns:user",
          "@type": "xsd:string"
        },
        "scopes": "ns:scopes"
      }
    },
    "TokenRequest": {
      "@id": "ns:TokenRequest",
      "@context": {
        "grant_type": {
          "@id": "ns:grant_type",
          "@type": "xsd:string"
        },
        "client_id": {
          "@id": "ns:client_id",
          "@type": "xsd:string"
        },
        "client_secret": {
          "@id": "ns:client_secret",
          "@type": "xsd:string"
        },
        "redirect_uri": {
          "@id": "ns:redirect_uri",
          "@type": "xsd:string"
        },
        "code": {
          "@id": "ns:code",
          "@type": "xsd:string"
        },
        "refresh_token": {
          "@id": "ns:refresh_token",
          "@type": "xsd:string"
        }
      }
    },
    "TokenResponse": {
      "@id": "ns:TokenResponse",
      "@context": {
        "access_token": {
          "@id": "ns:access_token",
          "@type": "xsd:string"
        },
        "token_type": {
          "@id": "ns:token_type",
          "@type": "xsd:string"
        },
        "expires_in": {
          "@id": "ns:expires_in",
          "@type": "xsd:integer"
        },
        "refresh_token": {
          "@id": "ns:refresh_token",
          "@type": "xsd:string"
        },
        "id_token": {
          "@id": "ns:id_token",
          "@type": "xsd:string"
        }
      }
    },
    "Error": {
      "@id": "ns:Error",
      "@context": {
        "category": {
          "@id": "ns:category",
          "@type": "xsd:string"
        },
        "correlationId": {
          "@id": "ns:correlationId",
          "@type": "xsd:string"
        },
        "message": {
          "@id": "ns:message",
          "@type": "xsd:string"
        },
        "subCategory": {
          "@id": "ns:subCategory",
          "@type": "xsd:string"
        },
        "context": "ns:context",
        "links": "ns:links",
        "errors": "ns:errors"
      }
    },
    "ErrorDetail": {
      "@id": "ns:ErrorDetail",
      "@context": {
        "message": {
          "@id": "ns:message",
          "@type": "xsd:string"
        },
        "code": {
          "@id": "ns:code",
          "@type": "xsd:string"
        },
        "subCategory": {
          "@id": "ns:subCategory",
          "@type": "xsd:string"
        },
        "in": {
          "@id": "ns:in",
          "@type": "xsd:string"
        },
        "context": "ns:context"
      }
    }
  }
}