Swiss Post · JSON-LD Context

Swiss Post Context

JSON-LD context defining the semantic vocabulary for Swiss Post from Swiss Post.

20 Classes 20 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/
swiss: https://post.ch/schema#

Classes

PostApiV1PostcardsRequest PostApiV1PostcardsResponse PutApiV1PostcardsCardkeyBrandingQrtagRequest PutApiV1PostcardsCardkeyBrandingQrtagResponse PostOrdersRequest PostOrdersResponse PostOrdersOrderkeyApprovalResponse PostPostcardsRequest PostPostcardsResponse PostPostcardsCardkeyApprovalResponse PutPostcardsCardkeyBrandingImageRequest PutPostcardsCardkeyBrandingImageResponse PutPostcardsCardkeyBrandingQrtagRequest PutPostcardsCardkeyBrandingQrtagResponse PutPostcardsCardkeyBrandingStampRequest PutPostcardsCardkeyBrandingStampResponse PutPostcardsCardkeyBrandingTextRequest PutPostcardsCardkeyBrandingTextResponse PutPostcardsCardkeyImageRequest PutPostcardsCardkeyImageResponse

Properties

Property Type Container
recipientAddress
senderAddress
campaignKey string
cardKey string
errors list
warnings list
BRANDING_QR_ENCODED_TEXT string
BRANDING_QR_ACCOMPANYING_TEXT string
BRANDING_QR_TEXTCOLOR string
BRANDING_QR_BACKGROUND_COLOR string
pickupAddress
parcel
orderKey string
status string
brandingImage string
stampImage string
BRANDING_TEXT_TEXT string
BRANDING_TEXT_TEXTCOLOR string
BRANDING_TEXT_BACKGROUND_COLOR string
imageFile string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://post.ch/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "swiss": "https://post.ch/schema#",
    "PostApiV1PostcardsRequest": "swiss:PostApiV1PostcardsRequest",
    "recipientAddress": {
      "@id": "swiss:recipientAddress"
    },
    "senderAddress": {
      "@id": "swiss:senderAddress"
    },
    "campaignKey": {
      "@id": "swiss:campaignKey",
      "@type": "xsd:string"
    },
    "PostApiV1PostcardsResponse": "swiss:PostApiV1PostcardsResponse",
    "cardKey": {
      "@id": "swiss:cardKey",
      "@type": "xsd:string"
    },
    "errors": {
      "@id": "swiss:errors",
      "@container": "@list"
    },
    "warnings": {
      "@id": "swiss:warnings",
      "@container": "@list"
    },
    "PutApiV1PostcardsCardkeyBrandingQrtagRequest": "swiss:PutApiV1PostcardsCardkeyBrandingQrtagRequest",
    "BRANDING_QR_ENCODED_TEXT": {
      "@id": "swiss:BRANDING_QR_ENCODED_TEXT",
      "@type": "xsd:string"
    },
    "BRANDING_QR_ACCOMPANYING_TEXT": {
      "@id": "swiss:BRANDING_QR_ACCOMPANYING_TEXT",
      "@type": "xsd:string"
    },
    "BRANDING_QR_TEXTCOLOR": {
      "@id": "swiss:BRANDING_QR_TEXTCOLOR",
      "@type": "xsd:string"
    },
    "BRANDING_QR_BACKGROUND_COLOR": {
      "@id": "swiss:BRANDING_QR_BACKGROUND_COLOR",
      "@type": "xsd:string"
    },
    "PutApiV1PostcardsCardkeyBrandingQrtagResponse": "swiss:PutApiV1PostcardsCardkeyBrandingQrtagResponse",
    "PostOrdersRequest": "swiss:PostOrdersRequest",
    "pickupAddress": {
      "@id": "swiss:pickupAddress"
    },
    "parcel": {
      "@id": "swiss:parcel"
    },
    "PostOrdersResponse": "swiss:PostOrdersResponse",
    "orderKey": {
      "@id": "swiss:orderKey",
      "@type": "xsd:string"
    },
    "PostOrdersOrderkeyApprovalResponse": "swiss:PostOrdersOrderkeyApprovalResponse",
    "PostPostcardsRequest": "swiss:PostPostcardsRequest",
    "PostPostcardsResponse": "swiss:PostPostcardsResponse",
    "PostPostcardsCardkeyApprovalResponse": "swiss:PostPostcardsCardkeyApprovalResponse",
    "status": {
      "@id": "swiss:status",
      "@type": "xsd:string"
    },
    "PutPostcardsCardkeyBrandingImageRequest": "swiss:PutPostcardsCardkeyBrandingImageRequest",
    "brandingImage": {
      "@id": "swiss:brandingImage",
      "@type": "xsd:string"
    },
    "PutPostcardsCardkeyBrandingImageResponse": "swiss:PutPostcardsCardkeyBrandingImageResponse",
    "PutPostcardsCardkeyBrandingQrtagRequest": "swiss:PutPostcardsCardkeyBrandingQrtagRequest",
    "PutPostcardsCardkeyBrandingQrtagResponse": "swiss:PutPostcardsCardkeyBrandingQrtagResponse",
    "PutPostcardsCardkeyBrandingStampRequest": "swiss:PutPostcardsCardkeyBrandingStampRequest",
    "stampImage": {
      "@id": "swiss:stampImage",
      "@type": "xsd:string"
    },
    "PutPostcardsCardkeyBrandingStampResponse": "swiss:PutPostcardsCardkeyBrandingStampResponse",
    "PutPostcardsCardkeyBrandingTextRequest": "swiss:PutPostcardsCardkeyBrandingTextRequest",
    "BRANDING_TEXT_TEXT": {
      "@id": "swiss:BRANDING_TEXT_TEXT",
      "@type": "xsd:string"
    },
    "BRANDING_TEXT_TEXTCOLOR": {
      "@id": "swiss:BRANDING_TEXT_TEXTCOLOR",
      "@type": "xsd:string"
    },
    "BRANDING_TEXT_BACKGROUND_COLOR": {
      "@id": "swiss:BRANDING_TEXT_BACKGROUND_COLOR",
      "@type": "xsd:string"
    },
    "PutPostcardsCardkeyBrandingTextResponse": "swiss:PutPostcardsCardkeyBrandingTextResponse",
    "PutPostcardsCardkeyImageRequest": "swiss:PutPostcardsCardkeyImageRequest",
    "imageFile": {
      "@id": "swiss:imageFile",
      "@type": "xsd:string"
    },
    "PutPostcardsCardkeyImageResponse": "swiss:PutPostcardsCardkeyImageResponse"
  },
  "@type": "schema:Dataset",
  "schema:name": "Swiss Post API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Swiss Post'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-28) from openapi/_ae-authored/swiss-post-openapi-generated.yml.",
  "dcterms:created": "2026-10-28",
  "dcterms:source": [
    "openapi/_ae-authored/swiss-post-openapi-generated.yml"
  ]
}