Union Pacific · Schema

Shipment

A rail shipment with tracking and ETA information

Fortune 500FreightRailroadsShippingTrainsSupply ChainLogistics

Properties

Name Type Description
shipmentId string Unique shipment identifier
status string Current shipment status
origin string Origin location code
destination string Destination location code
currentLocation object
estimatedArrival string Estimated time of arrival at destination
estimatedGate string Estimated gate time at destination
equipment array Equipment associated with this shipment
accountId string Account identifier
waybillNumber string Associated waybill number
commodity string Type of commodity being shipped
View JSON Schema on GitHub

JSON Schema

union-pacific-shipment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-schema/union-pacific-shipment-schema.json",
  "title": "Shipment",
  "description": "A rail shipment with tracking and ETA information",
  "type": "object",
  "properties": {
    "shipmentId": {
      "type": "string",
      "description": "Unique shipment identifier"
    },
    "status": {
      "type": "string",
      "description": "Current shipment status",
      "enum": [
        "IN_TRANSIT",
        "DELIVERED",
        "DELAYED",
        "HELD",
        "CANCELLED"
      ]
    },
    "origin": {
      "type": "string",
      "description": "Origin location code"
    },
    "destination": {
      "type": "string",
      "description": "Destination location code"
    },
    "currentLocation": {
      "$ref": "#/components/schemas/Location"
    },
    "estimatedArrival": {
      "type": "string",
      "format": "date-time",
      "description": "Estimated time of arrival at destination"
    },
    "estimatedGate": {
      "type": "string",
      "format": "date-time",
      "description": "Estimated gate time at destination"
    },
    "equipment": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Equipment"
      },
      "description": "Equipment associated with this shipment"
    },
    "accountId": {
      "type": "string",
      "description": "Account identifier"
    },
    "waybillNumber": {
      "type": "string",
      "description": "Associated waybill number"
    },
    "commodity": {
      "type": "string",
      "description": "Type of commodity being shipped"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/union-pacific-shipment"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.