Switch Labs · JSON-LD Context

Switchlabs Context

JSON-LD context defining the semantic vocabulary for Switchlabs from Switch Labs.

23 Classes 60 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
switchlabs: https://switchlabs.dev/schema#

Classes

ErrorResponse PaginationMeta Ticket Customer Conversation Article Collection Automation Macro SlaPolicy User Notification Event Integration Webhook Attachment Tag Sequence SequenceEnrollment Campaign MarketingList ListMembership Deal

Properties

Property Type Container
error
total integer
limit integer
next_cursor string
id string
subject string
status string
priority string
created_at dateTime
updated_at dateTime
email string
name string
ticket_id string
type string
internal boolean
title string
slug string
enabled boolean
role string
read_at dateTime
provider string
event string
target_url string
filename string
content_type string
size integer
url string
organization_id string
description string
trigger_type string
from_email string
from_name string
reply_to_email string
total_enrolled integer
total_completed integer
total_unsubscribed integer
sequence_id string
customer_id string
current_step_position integer
next_send_at dateTime
enrollment_source string
enrolled_at dateTime
list_id string
view_id string
integration_id string
scheduled_at dateTime
total_recipients integer
total_sent integer
total_opened integer
total_clicked integer
opt_in_process string
member_count integer
source string
subscribed_at dateTime
pipeline_id string
stage_id string
amount decimal
currency string
owner_id string
position integer

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://switchlabs.dev/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "switchlabs": "https://switchlabs.dev/schema#",
    "ErrorResponse": "switchlabs:ErrorResponse",
    "error": {
      "@id": "switchlabs:error"
    },
    "PaginationMeta": "switchlabs:PaginationMeta",
    "total": {
      "@id": "switchlabs:total",
      "@type": "xsd:integer"
    },
    "limit": {
      "@id": "switchlabs:limit",
      "@type": "xsd:integer"
    },
    "next_cursor": {
      "@id": "switchlabs:next_cursor",
      "@type": "xsd:string"
    },
    "Ticket": "switchlabs:Ticket",
    "id": {
      "@id": "switchlabs:id",
      "@type": "xsd:string"
    },
    "subject": {
      "@id": "switchlabs:subject",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "switchlabs:status",
      "@type": "xsd:string"
    },
    "priority": {
      "@id": "switchlabs:priority",
      "@type": "xsd:string"
    },
    "created_at": {
      "@id": "switchlabs:created_at",
      "@type": "xsd:dateTime"
    },
    "updated_at": {
      "@id": "switchlabs:updated_at",
      "@type": "xsd:dateTime"
    },
    "Customer": "switchlabs:Customer",
    "email": {
      "@id": "switchlabs:email",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "switchlabs:name",
      "@type": "xsd:string"
    },
    "Conversation": "switchlabs:Conversation",
    "ticket_id": {
      "@id": "switchlabs:ticket_id",
      "@type": "xsd:string"
    },
    "type": {
      "@id": "switchlabs:type",
      "@type": "xsd:string"
    },
    "internal": {
      "@id": "switchlabs:internal",
      "@type": "xsd:boolean"
    },
    "Article": "switchlabs:Article",
    "title": {
      "@id": "switchlabs:title",
      "@type": "xsd:string"
    },
    "slug": {
      "@id": "switchlabs:slug",
      "@type": "xsd:string"
    },
    "Collection": "switchlabs:Collection",
    "Automation": "switchlabs:Automation",
    "enabled": {
      "@id": "switchlabs:enabled",
      "@type": "xsd:boolean"
    },
    "Macro": "switchlabs:Macro",
    "SlaPolicy": "switchlabs:SlaPolicy",
    "User": "switchlabs:User",
    "role": {
      "@id": "switchlabs:role",
      "@type": "xsd:string"
    },
    "Notification": "switchlabs:Notification",
    "read_at": {
      "@id": "switchlabs:read_at",
      "@type": "xsd:dateTime"
    },
    "Event": "switchlabs:Event",
    "Integration": "switchlabs:Integration",
    "provider": {
      "@id": "switchlabs:provider",
      "@type": "xsd:string"
    },
    "Webhook": "switchlabs:Webhook",
    "event": {
      "@id": "switchlabs:event",
      "@type": "xsd:string"
    },
    "target_url": {
      "@id": "switchlabs:target_url",
      "@type": "xsd:string"
    },
    "Attachment": "switchlabs:Attachment",
    "filename": {
      "@id": "switchlabs:filename",
      "@type": "xsd:string"
    },
    "content_type": {
      "@id": "switchlabs:content_type",
      "@type": "xsd:string"
    },
    "size": {
      "@id": "switchlabs:size",
      "@type": "xsd:integer"
    },
    "url": {
      "@id": "switchlabs:url",
      "@type": "xsd:string"
    },
    "Tag": "switchlabs:Tag",
    "Sequence": "switchlabs:Sequence",
    "organization_id": {
      "@id": "switchlabs:organization_id",
      "@type": "xsd:string"
    },
    "description": {
      "@id": "switchlabs:description",
      "@type": "xsd:string"
    },
    "trigger_type": {
      "@id": "switchlabs:trigger_type",
      "@type": "xsd:string"
    },
    "from_email": {
      "@id": "switchlabs:from_email",
      "@type": "xsd:string"
    },
    "from_name": {
      "@id": "switchlabs:from_name",
      "@type": "xsd:string"
    },
    "reply_to_email": {
      "@id": "switchlabs:reply_to_email",
      "@type": "xsd:string"
    },
    "total_enrolled": {
      "@id": "switchlabs:total_enrolled",
      "@type": "xsd:integer"
    },
    "total_completed": {
      "@id": "switchlabs:total_completed",
      "@type": "xsd:integer"
    },
    "total_unsubscribed": {
      "@id": "switchlabs:total_unsubscribed",
      "@type": "xsd:integer"
    },
    "SequenceEnrollment": "switchlabs:SequenceEnrollment",
    "sequence_id": {
      "@id": "switchlabs:sequence_id",
      "@type": "xsd:string"
    },
    "customer_id": {
      "@id": "switchlabs:customer_id",
      "@type": "xsd:string"
    },
    "current_step_position": {
      "@id": "switchlabs:current_step_position",
      "@type": "xsd:integer"
    },
    "next_send_at": {
      "@id": "switchlabs:next_send_at",
      "@type": "xsd:dateTime"
    },
    "enrollment_source": {
      "@id": "switchlabs:enrollment_source",
      "@type": "xsd:string"
    },
    "enrolled_at": {
      "@id": "switchlabs:enrolled_at",
      "@type": "xsd:dateTime"
    },
    "Campaign": "switchlabs:Campaign",
    "list_id": {
      "@id": "switchlabs:list_id",
      "@type": "xsd:string"
    },
    "view_id": {
      "@id": "switchlabs:view_id",
      "@type": "xsd:string"
    },
    "integration_id": {
      "@id": "switchlabs:integration_id",
      "@type": "xsd:string"
    },
    "scheduled_at": {
      "@id": "switchlabs:scheduled_at",
      "@type": "xsd:dateTime"
    },
    "total_recipients": {
      "@id": "switchlabs:total_recipients",
      "@type": "xsd:integer"
    },
    "total_sent": {
      "@id": "switchlabs:total_sent",
      "@type": "xsd:integer"
    },
    "total_opened": {
      "@id": "switchlabs:total_opened",
      "@type": "xsd:integer"
    },
    "total_clicked": {
      "@id": "switchlabs:total_clicked",
      "@type": "xsd:integer"
    },
    "MarketingList": "switchlabs:MarketingList",
    "opt_in_process": {
      "@id": "switchlabs:opt_in_process",
      "@type": "xsd:string"
    },
    "member_count": {
      "@id": "switchlabs:member_count",
      "@type": "xsd:integer"
    },
    "ListMembership": "switchlabs:ListMembership",
    "source": {
      "@id": "switchlabs:source",
      "@type": "xsd:string"
    },
    "subscribed_at": {
      "@id": "switchlabs:subscribed_at",
      "@type": "xsd:dateTime"
    },
    "Deal": "switchlabs:Deal",
    "pipeline_id": {
      "@id": "switchlabs:pipeline_id",
      "@type": "xsd:string"
    },
    "stage_id": {
      "@id": "switchlabs:stage_id",
      "@type": "xsd:string"
    },
    "amount": {
      "@id": "switchlabs:amount",
      "@type": "xsd:decimal"
    },
    "currency": {
      "@id": "switchlabs:currency",
      "@type": "xsd:string"
    },
    "owner_id": {
      "@id": "switchlabs:owner_id",
      "@type": "xsd:string"
    },
    "position": {
      "@id": "switchlabs:position",
      "@type": "xsd:integer"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Switch Labs API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Switch Labs's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-10-19) from openapi/crm-switchlabs-openapi.json.",
  "dcterms:created": "2026-10-19",
  "dcterms:source": [
    "openapi/crm-switchlabs-openapi.json"
  ]
}