Dockflow · Schema

UpstreamRecord

One record per shipment of a tradeflow. The locations, containers, vessels, shipment and events blocks are present when requested with fields.

ShippingLogisticsContainer TrackingFreight ForwardingSupply Chain

Properties

Name Type Description
version string
tradeflow_reference string
bill_of_lading stringnull
booking stringnull
additional_references object
data_quality object
metadata object
partners array The other organisations on this tradeflow, oldest link first. Your own organisation is not listed.
locations array
containers array
vessels array
shipment object
events array
View JSON Schema on GitHub

JSON Schema

dockflow-com-upstream-record-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dockflow-com/json-schema/dockflow-com-upstream-record-schema.json",
  "title": "UpstreamRecord",
  "description": "One record per shipment of a tradeflow. The locations, containers, vessels, shipment and events blocks are present when requested with fields.",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dockflow-com-openapi.json#/components/schemas/UpstreamRecord",
  "type": "object",
  "properties": {
    "version": {
      "type": "string"
    },
    "tradeflow_reference": {
      "type": "string"
    },
    "bill_of_lading": {
      "type": [
        "string",
        "null"
      ]
    },
    "booking": {
      "type": [
        "string",
        "null"
      ]
    },
    "additional_references": {
      "type": "object",
      "properties": {
        "bill_of_lading": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "booking": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "data_quality": {
      "type": "object",
      "properties": {
        "freshness_min": {
          "type": "integer"
        },
        "anomalies": {
          "type": "number"
        },
        "missed_milestones": {
          "type": "integer"
        },
        "has_live_data": {
          "type": "boolean"
        },
        "is_singular_shipment": {
          "type": "boolean"
        }
      }
    },
    "metadata": {
      "type": "object",
      "properties": {
        "last_updated": {
          "type": "string",
          "format": "date-time",
          "description": "Keep since unchanged while following next_cursor; after the last page, use the highest value as the next since."
        },
        "carrier_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "carrier_scac": {
          "type": [
            "string",
            "null"
          ]
        },
        "is_active": {
          "type": "boolean"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "partners": {
      "type": "array",
      "description": "The other organisations on this tradeflow, oldest link first. Your own organisation is not listed.",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "description": "Lowercased, e.g. client, forwarder.",
            "items": {
              "type": "string"
            }
          },
          "reference": {
            "type": [
              "string",
              "null"
            ],
            "description": "That partner's own reference for this tradeflow."
          }
        }
      }
    },
    "locations": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "containers": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "vessels": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "shipment": {
      "type": "object"
    },
    "events": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  },
  "required": [
    "version",
    "tradeflow_reference",
    "bill_of_lading",
    "booking",
    "additional_references",
    "data_quality",
    "metadata"
  ]
}

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/dockflow-com-upstream-record"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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