United States Postal Service · JSON-LD Context

United States Postal Service Carrier Context

JSON-LD context defining the semantic vocabulary for United States Postal Service Carrier from United States Postal Service.

5 Classes 17 Properties 4 Namespaces
View Context View on GitHub

Namespaces

usps: https://usps.api.usps.com/schema/
schema: https://schema.org/
dcterms: http://purl.org/dc/terms/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

PickupAddress PickupPackage PickupRequest PickupResponse PickupUpdateRequest

Properties

Property Type Container
streetAddress string
secondaryAddress string
city string
state string
ZIPCode string
serviceType string
count integer
firstName string
lastName string
pickupAddress string
packages string set
packageLocation string
specialInstructions string
confirmationNumber string
dayOfWeek string
pickupDate date
address string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "usps": "https://usps.api.usps.com/schema/",
    "schema": "https://schema.org/",
    "dcterms": "http://purl.org/dc/terms/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "PickupAddress": "usps:PickupAddress",
    "PickupPackage": "usps:PickupPackage",
    "PickupRequest": "usps:PickupRequest",
    "PickupResponse": "usps:PickupResponse",
    "PickupUpdateRequest": "usps:PickupUpdateRequest",
    "streetAddress": {
      "@id": "usps:streetAddress",
      "@type": "xsd:string"
    },
    "secondaryAddress": {
      "@id": "usps:secondaryAddress",
      "@type": "xsd:string"
    },
    "city": {
      "@id": "usps:city",
      "@type": "xsd:string"
    },
    "state": {
      "@id": "usps:state",
      "@type": "xsd:string"
    },
    "ZIPCode": {
      "@id": "usps:ZIPCode",
      "@type": "xsd:string"
    },
    "serviceType": {
      "@id": "usps:serviceType",
      "@type": "xsd:string"
    },
    "count": {
      "@id": "usps:count",
      "@type": "xsd:integer"
    },
    "firstName": {
      "@id": "usps:firstName",
      "@type": "xsd:string"
    },
    "lastName": {
      "@id": "usps:lastName",
      "@type": "xsd:string"
    },
    "pickupAddress": {
      "@id": "usps:pickupAddress",
      "@type": "xsd:string"
    },
    "packages": {
      "@id": "usps:packages",
      "@container": "@set",
      "@type": "xsd:string"
    },
    "packageLocation": {
      "@id": "usps:packageLocation",
      "@type": "xsd:string"
    },
    "specialInstructions": {
      "@id": "usps:specialInstructions",
      "@type": "xsd:string"
    },
    "confirmationNumber": {
      "@id": "usps:confirmationNumber",
      "@type": "xsd:string"
    },
    "dayOfWeek": {
      "@id": "usps:dayOfWeek",
      "@type": "xsd:string"
    },
    "pickupDate": {
      "@id": "usps:pickupDate",
      "@type": "xsd:date"
    },
    "address": {
      "@id": "usps:address",
      "@type": "xsd:string"
    }
  }
}