Stannp · JSON-LD Context

Stannp Context

JSON-LD context defining the semantic vocabulary for Stannp from Stannp.

45 Classes 9 Properties 3 Namespaces
View Context View on GitHub

Namespaces

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

Classes

DirectMailAPI Postcard Letter Recipient RecipientGroup Campaign RecipientEvent Webhook MailpieceStatus id type name description url email telephone firstname lastname title company job_title address1 city county postcode zipcode country status tracking_reference format size test blacklist ref_id idempotency_key conversion value recipients valid international addons tags duplex success error

Properties

Property Type Container
cost string
balance string
created dateTime
updated dateTime
dispatched dateTime
pdf reference
group_id reference
template reference
send_date date

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "stannp": "https://www.stannp.com/ns/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "DirectMailAPI": "stannp:DirectMailAPI",
    "Postcard": "stannp:Postcard",
    "Letter": "stannp:Letter",
    "Recipient": "stannp:Recipient",
    "RecipientGroup": "stannp:RecipientGroup",
    "Campaign": "stannp:Campaign",
    "RecipientEvent": "stannp:RecipientEvent",
    "Webhook": "stannp:Webhook",
    "MailpieceStatus": "stannp:MailpieceStatus",

    "id": "@id",
    "type": "@type",

    "name": "schema:name",
    "description": "schema:description",
    "url": "schema:url",
    "email": "schema:email",
    "telephone": "schema:telephone",

    "firstname": "schema:givenName",
    "lastname": "schema:familyName",
    "title": "schema:honorificPrefix",
    "company": "schema:Organization",
    "job_title": "schema:jobTitle",

    "address1": "schema:streetAddress",
    "city": "schema:addressLocality",
    "county": "schema:addressRegion",
    "postcode": "schema:postalCode",
    "zipcode": "schema:postalCode",
    "country": "schema:addressCountry",

    "cost": {
      "@id": "schema:price",
      "@type": "xsd:string"
    },
    "balance": {
      "@id": "schema:amount",
      "@type": "xsd:string"
    },
    "status": "schema:status",
    "created": {
      "@id": "schema:dateCreated",
      "@type": "xsd:dateTime"
    },
    "updated": {
      "@id": "schema:dateModified",
      "@type": "xsd:dateTime"
    },
    "dispatched": {
      "@id": "stannp:dispatched",
      "@type": "xsd:dateTime"
    },
    "tracking_reference": "stannp:trackingReference",
    "pdf": {
      "@id": "schema:contentUrl",
      "@type": "@id"
    },
    "format": "stannp:format",
    "size": "stannp:size",
    "test": "stannp:testMode",
    "blacklist": "stannp:onBlockList",
    "ref_id": "stannp:externalReferenceId",
    "idempotency_key": "stannp:idempotencyKey",
    "conversion": "stannp:isConversion",
    "value": "schema:value",
    "recipients": "stannp:recipientCount",
    "valid": "stannp:validCount",
    "international": "stannp:internationalCount",
    "group_id": {
      "@id": "stannp:group",
      "@type": "@id"
    },
    "template": {
      "@id": "stannp:template",
      "@type": "@id"
    },
    "addons": "stannp:addons",
    "tags": "schema:keywords",
    "send_date": {
      "@id": "stannp:sendDate",
      "@type": "xsd:date"
    },
    "duplex": "stannp:duplexPrinting",
    "success": "stannp:success",
    "error": "schema:error"
  }
}