7shifts · JSON-LD Context

7Shifts Context

JSON-LD context defining the semantic vocabulary for 7Shifts from 7shifts.

33 Classes 12 Properties 2 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
sevenshifts: https://developers.7shifts.com/vocab#

Classes

id type Company Location Department Role User Wage Shift TimePunch TimeOff Availability Receipt Webhook name first_name last_name email mobile_number address city state country zip timezone active hourly_wage wage_cents tips from_date to_date status event_type

Properties

Property Type Container
created schema:DateTime
modified schema:DateTime
start schema:DateTime
end schema:DateTime
clocked_in schema:DateTime
clocked_out schema:DateTime
company_id reference
location_id reference
department_id reference
role_id reference
user_id reference
webhook_url reference

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "sevenshifts": "https://developers.7shifts.com/vocab#",
    "id": "@id",
    "type": "@type",

    "Company": "schema:Organization",
    "Location": "schema:FoodEstablishment",
    "Department": "sevenshifts:Department",
    "Role": "schema:OccupationalCategory",
    "User": "schema:Person",
    "Wage": "schema:MonetaryAmount",
    "Shift": "schema:WorkBasedProgram",
    "TimePunch": "sevenshifts:TimePunch",
    "TimeOff": "sevenshifts:TimeOff",
    "Availability": "sevenshifts:Availability",
    "Receipt": "schema:Invoice",
    "Webhook": "sevenshifts:Webhook",

    "name": "schema:name",
    "first_name": "schema:givenName",
    "last_name": "schema:familyName",
    "email": "schema:email",
    "mobile_number": "schema:telephone",
    "address": "schema:streetAddress",
    "city": "schema:addressLocality",
    "state": "schema:addressRegion",
    "country": "schema:addressCountry",
    "zip": "schema:postalCode",
    "timezone": "schema:timezone",
    "active": "sevenshifts:active",
    "created": {
      "@id": "schema:dateCreated",
      "@type": "schema:DateTime"
    },
    "modified": {
      "@id": "schema:dateModified",
      "@type": "schema:DateTime"
    },
    "start": {
      "@id": "schema:startDate",
      "@type": "schema:DateTime"
    },
    "end": {
      "@id": "schema:endDate",
      "@type": "schema:DateTime"
    },
    "clocked_in": {
      "@id": "sevenshifts:clockedIn",
      "@type": "schema:DateTime"
    },
    "clocked_out": {
      "@id": "sevenshifts:clockedOut",
      "@type": "schema:DateTime"
    },
    "hourly_wage": "schema:baseSalary",
    "wage_cents": "schema:value",
    "tips": "sevenshifts:tips",
    "from_date": "schema:startDate",
    "to_date": "schema:endDate",
    "status": "sevenshifts:status",
    "company_id": {
      "@id": "sevenshifts:company",
      "@type": "@id"
    },
    "location_id": {
      "@id": "sevenshifts:location",
      "@type": "@id"
    },
    "department_id": {
      "@id": "sevenshifts:department",
      "@type": "@id"
    },
    "role_id": {
      "@id": "sevenshifts:role",
      "@type": "@id"
    },
    "user_id": {
      "@id": "sevenshifts:user",
      "@type": "@id"
    },
    "webhook_url": {
      "@id": "schema:url",
      "@type": "@id"
    },
    "event_type": "sevenshifts:eventType"
  }
}