Customer Database · JSON-LD Context

Customer Database Context

JSON-LD context defining the semantic vocabulary for Customer Database from Customer Database.

52 Classes 22 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
vcard: http://www.w3.org/2006/vcard/ns#
cdb: https://raw.githubusercontent.com/api-evangelist/customer-database/refs/heads/main/json-ld/customer-database-context.jsonld#

Classes

scim scimext Customer ContactPoint PostalAddress Organization ConsentRecord IdentityLink Preference id type externalId givenName familyName middleName honorificPrefix honorificSuffix displayName nickName email telephone faxNumber title gender preferredLanguage note streetAddress locality region postalCode country userName userType locale timezone active department division costCenter employeeNumber purpose channel status legalBasis jurisdiction namespace identifier method confidence primary verified suppressed

Properties

Property Type Container
address reference
contactPoints reference set
profileUrl reference
photo reference
organization reference
memberOf reference
birthDate schema:Date
nationality reference
sameAs reference set
tags set
entitlements set
roles set
manager reference
consent reference set
capturedAt schema:DateTime
expiresAt schema:DateTime
supersedes reference
identityLinks reference set
matchedOn set
linkedAt schema:DateTime
preferences reference set
mergedFrom reference set

JSON-LD Document

customer-database-context.jsonld Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "vcard": "http://www.w3.org/2006/vcard/ns#",
    "scim": "urn:ietf:params:scim:schemas:core:2.0:",
    "scimext": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:",
    "cdb": "https://raw.githubusercontent.com/api-evangelist/customer-database/refs/heads/main/json-ld/customer-database-context.jsonld#",

    "Customer": "schema:Person",
    "ContactPoint": "schema:ContactPoint",
    "PostalAddress": "schema:PostalAddress",
    "Organization": "schema:Organization",
    "ConsentRecord": "cdb:ConsentRecord",
    "IdentityLink": "cdb:IdentityLink",
    "Preference": "cdb:Preference",

    "id": "@id",
    "type": "@type",
    "externalId": "schema:identifier",
    "givenName": "schema:givenName",
    "familyName": "schema:familyName",
    "middleName": "schema:additionalName",
    "honorificPrefix": "schema:honorificPrefix",
    "honorificSuffix": "schema:honorificSuffix",
    "displayName": "schema:name",
    "nickName": "schema:alternateName",
    "email": "schema:email",
    "telephone": "schema:telephone",
    "faxNumber": "schema:faxNumber",
    "address": { "@id": "schema:address", "@type": "@id" },
    "contactPoints": { "@id": "schema:contactPoint", "@type": "@id", "@container": "@set" },
    "profileUrl": { "@id": "schema:url", "@type": "@id" },
    "photo": { "@id": "schema:image", "@type": "@id" },
    "title": "schema:jobTitle",
    "organization": { "@id": "schema:worksFor", "@type": "@id" },
    "memberOf": { "@id": "schema:memberOf", "@type": "@id" },
    "birthDate": { "@id": "schema:birthDate", "@type": "schema:Date" },
    "gender": "schema:gender",
    "nationality": { "@id": "schema:nationality", "@type": "@id" },
    "preferredLanguage": "schema:knowsLanguage",
    "note": "schema:description",
    "sameAs": { "@id": "schema:sameAs", "@type": "@id", "@container": "@set" },
    "tags": { "@id": "vcard:category", "@container": "@set" },

    "streetAddress": "schema:streetAddress",
    "locality": "schema:addressLocality",
    "region": "schema:addressRegion",
    "postalCode": "schema:postalCode",
    "country": "schema:addressCountry",

    "userName": "scim:userName",
    "userType": "scim:userType",
    "locale": "scim:locale",
    "timezone": "scim:timezone",
    "active": "scim:active",
    "entitlements": { "@id": "scim:entitlements", "@container": "@set" },
    "roles": { "@id": "scim:roles", "@container": "@set" },
    "department": "scimext:department",
    "division": "scimext:division",
    "costCenter": "scimext:costCenter",
    "employeeNumber": "scimext:employeeNumber",
    "manager": { "@id": "scimext:manager", "@type": "@id" },

    "consent": { "@id": "cdb:consent", "@type": "@id", "@container": "@set" },
    "purpose": "cdb:purpose",
    "channel": "cdb:channel",
    "status": "cdb:status",
    "legalBasis": "cdb:legalBasis",
    "capturedAt": { "@id": "cdb:capturedAt", "@type": "schema:DateTime" },
    "expiresAt": { "@id": "cdb:expiresAt", "@type": "schema:DateTime" },
    "supersedes": { "@id": "cdb:supersedes", "@type": "@id" },
    "jurisdiction": "cdb:jurisdiction",

    "identityLinks": { "@id": "cdb:identityLinks", "@type": "@id", "@container": "@set" },
    "namespace": "cdb:namespace",
    "identifier": "cdb:identifier",
    "method": "cdb:method",
    "confidence": "cdb:confidence",
    "matchedOn": { "@id": "cdb:matchedOn", "@container": "@set" },
    "linkedAt": { "@id": "cdb:linkedAt", "@type": "schema:DateTime" },

    "preferences": { "@id": "cdb:preferences", "@type": "@id", "@container": "@set" },
    "mergedFrom": { "@id": "cdb:mergedFrom", "@type": "@id", "@container": "@set" },
    "primary": "cdb:primary",
    "verified": "cdb:verified",
    "suppressed": "cdb:suppressed"
  }
}