Listrak · JSON-LD Context
Listrak Context
JSON-LD context defining the semantic vocabulary for Listrak from Listrak.
8 Classes
32 Properties
3 Namespaces
Namespaces
schema:
https://schema.org/
listrak:
https://www.listrak.com/ontology/
xsd:
http://www.w3.org/2001/XMLSchema#
Classes
Listrak
EmailAPI
SMSAPI
CrossChannelAPI
DataImportAPI
TwoWaySMSAPI
MobilePushAPI
PrivacyAPI
Properties
| Property | Type | Container |
|---|---|---|
| Contact | reference | |
| emailAddress | string | |
| subscribeState | string | |
| listId | integer | |
| segmentationFieldValues | list | |
| segmentationFieldId | integer | |
| SMSSubscriber | reference | |
| phone | string | |
| shortCode | string | |
| Campaign | reference | |
| campaignId | integer | |
| CustomEvent | reference | |
| eventId | integer | |
| eventAttributes | @json | |
| Journey | reference | |
| Order | reference | |
| orderId | string | |
| orderDate | dateTime | |
| orderTotal | decimal | |
| lineItems | list | |
| sku | string | |
| productName | string | |
| unitPrice | decimal | |
| quantity | integer | |
| PushDevice | reference | |
| deviceToken | string | |
| Conversation | reference | |
| conversationId | string | |
| supportTicketId | string | |
| PrivacyRequest | reference | |
| resourceId | string | |
| accessToken | string |
JSON-LD Document
{
"@context": {
"@version": 1.1,
"schema": "https://schema.org/",
"listrak": "https://www.listrak.com/ontology/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"Listrak": "listrak:Listrak",
"EmailAPI": "listrak:EmailAPI",
"SMSAPI": "listrak:SMSAPI",
"CrossChannelAPI": "listrak:CrossChannelAPI",
"DataImportAPI": "listrak:DataImportAPI",
"TwoWaySMSAPI": "listrak:TwoWaySMSAPI",
"MobilePushAPI": "listrak:MobilePushAPI",
"PrivacyAPI": "listrak:PrivacyAPI",
"Contact": {
"@id": "listrak:Contact",
"@type": "@id",
"comment": "An email marketing contact in a Listrak email list"
},
"emailAddress": {
"@id": "schema:email",
"@type": "xsd:string"
},
"subscribeState": {
"@id": "listrak:subscribeState",
"@type": "xsd:string"
},
"listId": {
"@id": "listrak:listId",
"@type": "xsd:integer"
},
"segmentationFieldValues": {
"@id": "listrak:segmentationFieldValues",
"@container": "@list"
},
"segmentationFieldId": {
"@id": "listrak:segmentationFieldId",
"@type": "xsd:integer"
},
"SMSSubscriber": {
"@id": "listrak:SMSSubscriber",
"@type": "@id",
"comment": "A mobile subscriber to an SMS marketing list"
},
"phone": {
"@id": "schema:telephone",
"@type": "xsd:string"
},
"shortCode": {
"@id": "listrak:shortCode",
"@type": "xsd:string"
},
"Campaign": {
"@id": "listrak:Campaign",
"@type": "@id",
"comment": "An email marketing campaign message"
},
"campaignId": {
"@id": "listrak:campaignId",
"@type": "xsd:integer"
},
"CustomEvent": {
"@id": "listrak:CustomEvent",
"@type": "@id",
"comment": "A triggering event that initiates a Journey Hub automation"
},
"eventId": {
"@id": "listrak:eventId",
"@type": "xsd:integer"
},
"eventAttributes": {
"@id": "listrak:eventAttributes",
"@type": "@json"
},
"Journey": {
"@id": "listrak:Journey",
"@type": "@id",
"comment": "An automated cross-channel marketing workflow"
},
"Order": {
"@id": "schema:Order",
"@type": "@id",
"comment": "A retail purchase order imported for behavioral targeting"
},
"orderId": {
"@id": "schema:orderNumber",
"@type": "xsd:string"
},
"orderDate": {
"@id": "schema:orderDate",
"@type": "xsd:dateTime"
},
"orderTotal": {
"@id": "schema:price",
"@type": "xsd:decimal"
},
"lineItems": {
"@id": "schema:orderedItem",
"@container": "@list"
},
"sku": {
"@id": "schema:sku",
"@type": "xsd:string"
},
"productName": {
"@id": "schema:name",
"@type": "xsd:string"
},
"unitPrice": {
"@id": "schema:price",
"@type": "xsd:decimal"
},
"quantity": {
"@id": "schema:orderQuantity",
"@type": "xsd:integer"
},
"PushDevice": {
"@id": "listrak:PushDevice",
"@type": "@id",
"comment": "A mobile device registered for push notifications"
},
"deviceToken": {
"@id": "listrak:deviceToken",
"@type": "xsd:string"
},
"Conversation": {
"@id": "listrak:Conversation",
"@type": "@id",
"comment": "A two-way SMS conversation thread with a customer"
},
"conversationId": {
"@id": "listrak:conversationId",
"@type": "xsd:string"
},
"supportTicketId": {
"@id": "listrak:supportTicketId",
"@type": "xsd:string"
},
"PrivacyRequest": {
"@id": "listrak:PrivacyRequest",
"@type": "@id",
"comment": "A CCPA or GDPR data subject request for contact data removal"
},
"resourceId": {
"@id": "listrak:resourceId",
"@type": "xsd:string"
},
"accessToken": {
"@id": "listrak:accessToken",
"@type": "xsd:string"
}
}
}