SpaceMolt · Schema

ShippingSettlementResponse

GamingArtificial IntelligenceMultiplayerMMOSpace

Properties

Name Type Description
action string Which shipping action settled the contract: deliver (the carrier handed the package over at the destination station), return (the carrier surrendered it at the origin station), cancel (the shipper wit
carrier_payout integer Credits paid to the carrier (the contractor) for an on-time deliver: base_reward plus the speed bonus earned at the delivery tick. The bonus is the full max_speed_bonus at or before target_tick and de
claim_debt integer Credits of that payout the shipper could not cover, now owed by the shipper as freight debt to the insurer (debt ID claim:, payable with pay_debt). Omitted (0) when the shipper repaid it
claim_repaid integer Credits of the insurance payout (contract.claim_paid) the shipper paid back to the insurer station because the package came back by reclaim or a return after default. claim_repaid + claim_debt = claim
contract object The contract after settlement. After reclaim or a return after default status stays defaulted and package_recovery is set. Otherwise status is delivered, returned or canceled and reward_escrow and spe
debt_cleared integer Credits of the carrier's freight debt for this contract that a return after default cleared. Omitted (0) on every other settlement.
debt_created integer Late fee in credits now owed by the carrier as freight debt to the insurer station (or to the shipping house station when the contract is uninsured). Only a late deliver or a late return creates it: 1
late boolean True when the deliver or return happened after deadline_tick but inside the recovery window: the reward goes back to the shipper and the carrier owes the late fee in debt_created. Omitted (false) when
piloting_xp integer Piloting skill XP the delivering pilot earned for the run: (20 + 20 × contract.route_hops) × the piloting XP per action of the active ship tier (tier 1: 1, tier 2: 2, tier 3: 4, tier 4: 7, tier 5: 12)
shipper_refund integer Credits returned to the shipper from escrow. On-time deliver: the unearned part of the speed bonus (max_speed_bonus minus the bonus paid). Late deliver and return: base_reward plus max_speed_bonus. Ca
View JSON Schema on GitHub

JSON Schema

spacemolt-com-shipping-settlement-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/spacemolt-com/json-schema/spacemolt-com-shipping-settlement-response-schema.json",
  "title": "ShippingSettlementResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/spacemolt-com-openapi.json#/components/schemas/ShippingSettlementResponse",
  "additionalProperties": false,
  "properties": {
    "action": {
      "description": "Which shipping action settled the contract: deliver (the carrier handed the package over at the destination station), return (the carrier surrendered it at the origin station), cancel (the shipper withdrew a posting no carrier had accepted) or reclaim (the shipper took a defaulted contract's sealed package from station storage).",
      "enum": [
        "deliver",
        "return",
        "cancel",
        "reclaim"
      ],
      "type": "string"
    },
    "carrier_payout": {
      "description": "Credits paid to the carrier (the contractor) for an on-time deliver: base_reward plus the speed bonus earned at the delivery tick. The bonus is the full max_speed_bonus at or before target_tick and decays linearly (rounded down) to 0 at deadline_tick. Same value as contract.carrier_payout. Omitted (0) for a late deliver, for return and for cancel.",
      "type": "integer"
    },
    "claim_debt": {
      "description": "Credits of that payout the shipper could not cover, now owed by the shipper as freight debt to the insurer (debt ID claim:<shipment_id>, payable with pay_debt). Omitted (0) when the shipper repaid it all.",
      "type": "integer"
    },
    "claim_repaid": {
      "description": "Credits of the insurance payout (contract.claim_paid) the shipper paid back to the insurer station because the package came back by reclaim or a return after default. claim_repaid + claim_debt = claim_paid. Omitted (0) when the contract paid no claim and on every other settlement.",
      "type": "integer"
    },
    "contract": {
      "$ref": "#/$defs/ShipmentContract",
      "description": "The contract after settlement. After reclaim or a return after default status stays defaulted and package_recovery is set. Otherwise status is delivered, returned or canceled and reward_escrow and speed_bonus_escrow are now 0; after cancel premium is also 0 because it was refunded. The sealed manifest (appraisal_lines) is always omitted."
    },
    "debt_cleared": {
      "description": "Credits of the carrier's freight debt for this contract that a return after default cleared. Omitted (0) on every other settlement.",
      "type": "integer"
    },
    "debt_created": {
      "description": "Late fee in credits now owed by the carrier as freight debt to the insurer station (or to the shipping house station when the contract is uninsured). Only a late deliver or a late return creates it: 10% of (base_reward plus max_speed_bonus) with a minimum of 100 and a maximum of 2500 and never more than half of the contract's failure_debt. Omitted when 0: always for an on-time settlement and for cancel.",
      "type": "integer"
    },
    "late": {
      "description": "True when the deliver or return happened after deadline_tick but inside the recovery window: the reward goes back to the shipper and the carrier owes the late fee in debt_created. Omitted (false) when on time and for cancel.",
      "type": "boolean"
    },
    "piloting_xp": {
      "description": "Piloting skill XP the delivering pilot earned for the run: (20 + 20 × contract.route_hops) × the piloting XP per action of the active ship tier (tier 1: 1, tier 2: 2, tier 3: 4, tier 4: 7, tier 5: 12). Paid on time or late. Omitted (0) for return, for cancel, for a self-shipment (contract.reputation_eligible is false), and when piloting is already at its maximum level.",
      "type": "integer"
    },
    "shipper_refund": {
      "description": "Credits returned to the shipper from escrow. On-time deliver: the unearned part of the speed bonus (max_speed_bonus minus the bonus paid). Late deliver and return: base_reward plus max_speed_bonus. Cancel: base_reward plus max_speed_bonus plus the insurance premium; the service_fee is not refunded. On deliver and return the insurer station keeps the premium. Omitted when 0.",
      "type": "integer"
    }
  },
  "required": [
    "action",
    "contract"
  ],
  "type": "object",
  "$defs": {
    "ShipmentActor": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "description": "Actor ID for kind: a player ID, a faction ID, or a station base ID.",
          "type": "string"
        },
        "kind": {
          "description": "Actor type. player and faction can ship, receive and carry freight. station can ship and receive freight but never carry it.",
          "enum": [
            "player",
            "faction",
            "station"
          ],
          "type": "string"
        },
        "name": {
          "description": "Display name for the actor: the player's username, the faction's name or the station's name. Omitted when the actor no longer exists.",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "id"
      ],
      "type": "object"
    },
    "ShipmentContract": {
      "additionalProperties": false,
      "properties": {
        "accepted_at": {
          "description": "Time a carrier accepted the contract. Absent while posted and on a listing canceled before acceptance.",
          "format": "date-time",
          "type": "string"
        },
        "accepted_tick": {
          "description": "Game tick of acceptance. Absent while posted and on a listing canceled before acceptance.",
          "type": "integer"
        },
        "appraised_value": {
          "description": "Market value of the package contents in credits at posting: the sum of each line's quantity x completed-fill VWAP. Absent (0) when insurable is false.",
          "type": "integer"
        },
        "base_reward": {
          "description": "Credits the shipper offers for an on-time delivery. Always positive. A station supply run prices it from the route and the market.",
          "type": "integer"
        },
        "breached_at": {
          "description": "Time of the breach. Equal to settled_at. Absent unless status is breached.",
          "format": "date-time",
          "type": "string"
        },
        "carrier_payout": {
          "description": "Credits paid to the carrier for an on-time delivery: reward_escrow + the speed bonus earned at the delivery tick. Absent before settlement and on every other outcome, including a late delivery.",
          "type": "integer"
        },
        "claim_paid": {
          "description": "Credits the insurance paid the shipper. Equal to covered_value when policy_status is claimed. Absent otherwise.",
          "type": "integer"
        },
        "claim_station_paid": {
          "description": "Credits of claim_paid the insurer station paid from its own wallet. The rest of claim_paid was created by the game because the station could not cover it. Absent (0) when no claim was paid or the station paid none of it.",
          "type": "integer"
        },
        "contractor": {
          "$ref": "#/$defs/ShipmentActor",
          "description": "Player or faction carrier that accepted the contract. Absent while the listing is still posted and on a listing canceled or expired before anyone accepted it."
        },
        "covered_value": {
          "description": "Credits the insurance pays the shipper on a breach or default. Equal to appraised_value when insured. Absent when uninsured.",
          "type": "integer"
        },
        "deadline_tick": {
          "description": "Last tick for an on-time delivery: accepted_tick + the deadline allowance. The deadline allowance is 540 + 180 x max(route hops, 1) ticks for standard service and two-thirds of that (rounded down) for priority. After it the reward is forfeit. Absent while the listing is posted: acceptance sets it. The board shows the allowance as target_ticks and deadline_ticks.",
          "type": "integer"
        },
        "delivered_at": {
          "description": "Time of the hand-over at the destination, on time or late. Equal to settled_at. Absent unless status is delivered.",
          "format": "date-time",
          "type": "string"
        },
        "destination_base_id": {
          "description": "Station where the package must be delivered. Always different from origin_base_id.",
          "type": "string"
        },
        "failure_debt": {
          "description": "Freight debt the carrier owes if the contract is breached or defaults. 500 credits when uninsured (and on every station supply run). When insured: covered_value + max(100, covered_value / 10) rounded down. A late delivery or return owes a smaller late fee instead: 10% of (base_reward + max_speed_bonus) held between 100 and 2500 credits and never above failure_debt / 2.",
          "type": "integer"
        },
        "id": {
          "description": "Shipment contract ID. Pass it to the shipping get, track, accept, deliver, return, reclaim and cancel actions.",
          "type": "string"
        },
        "insurable": {
          "description": "True when every content line had enough public completed-fill market evidence to appraise. Always true on station supply runs. It says the package can be insured, not that it is: see policy_status.",
          "type": "boolean"
        },
        "insurer": {
          "$ref": "#/$defs/ShipmentActor",
          "description": "Station that insures the cargo: the origin station. It keeps the premium and pays any claim. Absent when the shipment is uninsured."
        },
        "invited_carrier": {
          "$ref": "#/$defs/ShipmentActor",
          "description": "The only player or faction carrier allowed to see and accept this listing. Present only when visibility is invited; absent for public, faction and allies listings."
        },
        "latest_beacon_at": {
          "description": "observed_at of the newest tracking event for this contract. Absent until the first event is recorded.",
          "format": "date-time",
          "type": "string"
        },
        "latest_beacon_fingerprint": {
          "description": "fingerprint of the newest tracking event for this contract. Absent until the first event is recorded.",
          "type": "string"
        },
        "listing_expires_at": {
          "description": "posted_at plus 24 hours. A listing that nobody accepts by then becomes canceled with terminal_reason listing_expired and the shipper gets reward_escrow, speed_bonus_escrow and premium back.",
          "format": "date-time",
          "type": "string"
        },
        "max_speed_bonus": {
          "description": "Extra credits the shipper offers for speed. The carrier earns all of it through target_tick. It then falls linearly (rounded down) to 0 at deadline_tick. 0 on station supply runs.",
          "type": "integer"
        },
        "origin_base_id": {
          "description": "Station where the contract was posted and where the carrier accepts the package.",
          "type": "string"
        },
        "package_id": {
          "description": "Sealed package this contract moves. The package travels as the item package_<package_id>.",
          "type": "string"
        },
        "package_recovered_at": {
          "description": "Time package_recovery was set. Absent when package_recovery is absent.",
          "format": "date-time",
          "type": "string"
        },
        "package_recovery": {
          "description": "How the shipper got a defaulted contract's sealed package back. reclaimed: the shipper took it from station storage. returned: whoever held it handed it back at the origin, which cleared the carrier's freight debt for this contract. Either way an insured shipper repaid claim_paid to the insurer, and any shortfall became the shipper's freight debt. Absent while the claim is open and on every status except defaulted.",
          "enum": [
            "reclaimed",
            "returned"
          ],
          "type": "string"
        },
        "policy_status": {
          "description": "Insurance policy state. none: uninsured (every station supply run). pending: insured and posted. active: insured and in transit. released: delivered. expired: returned, or canceled before acceptance. claimed: breached or defaulted, and the shipper received claim_paid.",
          "enum": [
            "none",
            "pending",
            "active",
            "expired",
            "claimed",
            "released"
          ],
          "type": "string"
        },
        "posted_at": {
          "description": "Time the contract was posted.",
          "format": "date-time",
          "type": "string"
        },
        "premium": {
          "description": "Insurance premium in credits that the shipper paid at posting: max(1, covered_value x 2% x (1 + 0.075 x route_hops)) rounded down. The insurer station keeps it once a carrier accepts. Reset to 0 when the listing is canceled or expires, because the shipper gets it back. Absent when uninsured.",
          "type": "integer"
        },
        "recipient": {
          "$ref": "#/$defs/ShipmentActor",
          "description": "Who receives the package at destination_base_id. A station recipient is always the destination station."
        },
        "recovery_deadline_tick": {
          "description": "Last tick for a late delivery or return: deadline_tick + 2880. After it the contract defaults with terminal_reason deadline_expired. Absent while posted. A contract accepted before this field existed also omits it and uses deadline_tick + 2880.",
          "type": "integer"
        },
        "reputation_eligible": {
          "description": "Set at acceptance. False when the shipper and carrier are the same party: the same actor, or a player and the faction they belonged to at acceptance. A false value skips the tier and liability-limit checks at acceptance, and an on-time delivery then adds nothing to the carrier record. Late marks, returns, breaches and defaults count either way. Absent before acceptance.",
          "type": "boolean"
        },
        "requires_hazmat": {
          "description": "True when the sealed package holds refined radioactive material. The carrier must fly a ship with a lead_lined_cargo_i or lead_lined_cargo_ii module to withdraw it from storage or carry it. Set when the contract posts. Absent or false: no hazmat hold is needed.",
          "type": "boolean"
        },
        "reserved_exposure": {
          "description": "Liability in credits this contract adds to the carrier's active_liability while in transit. Equal to appraised_value when insurable is true. 1000000 when insurable is false. Checked against the carrier tier's single-package and aggregate limits at acceptance.",
          "type": "integer"
        },
        "reward_escrow": {
          "description": "Credits held for the carrier's base reward. Equal to base_reward until the contract reaches a final status, then 0. An on-time delivery pays it to the carrier. Every other final status refunds it to the shipper.",
          "type": "integer"
        },
        "risk_band": {
          "description": "Cargo risk class from appraised_value. probationary: up to 25000 credits. licensed: up to 50000. trusted: up to 500000. prime: above 500000. unpriced: insurable is false. Accepting needs a carrier tier at least equal to the band (unpriced needs prime) unless reputation_eligible is false.",
          "enum": [
            "probationary",
            "licensed",
            "trusted",
            "prime",
            "unpriced"
          ],
          "type": "string"
        },
        "route_hops": {
          "description": "Jumps between the origin and destination systems when the contract was posted. Absent when both stations are in the same system. Acceptance measures the route again for target_tick and deadline_tick.",
          "type": "integer"
        },
        "salvage_owner": {
          "$ref": "#/$defs/ShipmentActor",
          "description": "Salvage claimant recorded for the package: the insurer station, set when an insured contract posts. No current game action reads it. Absent when the shipment is uninsured."
        },
        "service_fee": {
          "description": "Credits the shipper paid the shipping_house_id station at posting: max(25, (base_reward + max_speed_bonus) / 20) rounded down. Never refunded. 0 on station supply runs.",
          "type": "integer"
        },
        "service_level": {
          "description": "standard or priority. Priority cuts both time allowances to two-thirds. Station supply runs are always standard.",
          "enum": [
            "standard",
            "priority"
          ],
          "type": "string"
        },
        "settled_at": {
          "description": "Time the contract reached its final status. Absent while posted or in_transit.",
          "format": "date-time",
          "type": "string"
        },
        "shipper": {
          "$ref": "#/$defs/ShipmentActor",
          "description": "Who posted the contract and paid its escrow: a player, a faction (paid from the treasury), or a station for an automatic station supply run (kind station: the origin station)."
        },
        "shipping_house_id": {
          "description": "Station whose freight service runs the contract. Always origin_base_id. It collects service_fee and counts covered_value against its insurance capacity.",
          "type": "string"
        },
        "speed_bonus_escrow": {
          "description": "Credits held for the speed bonus. Equal to max_speed_bonus until the contract reaches a final status, then 0. An on-time delivery pays the earned part to the carrier and refunds the rest to the shipper. Every other final status refunds it all.",
          "type": "integer"
        },
        "status": {
          "description": "Lifecycle state. posted: listed and not accepted. in_transit: accepted. delivered: handed over at the destination, on time or late. returned: handed back at the origin. breached: the seal was opened or the carrying ship was captured. defaulted: the package was lost or the recovery window closed; while the package stays sealed the shipper can still reclaim it or the carrier return it (see package_recovery). canceled: the shipper canceled or the listing expired before anyone accepted it. All states except posted and in_transit are final.",
          "enum": [
            "posted",
            "in_transit",
            "delivered",
            "returned",
            "breached",
            "defaulted",
            "canceled"
          ],
          "type": "string"
        },
        "target_tick": {
          "description": "Last tick that still pays the full speed bonus: accepted_tick + the target allowance. The target allowance is 300 + 90 x max(route hops, 1) ticks for standard service and two-thirds of that (rounded down) for priority. Absent while the listing is posted: acceptance sets it. The board shows the allowance as target_ticks and deadline_ticks.",
          "type": "integer"
        },
        "terminal_reason": {
          "description": "Why the contract reached a final status. delivered: delivered_intact, delivered_late, delivered_via_destination_storage or delivered_late_via_destination_storage. returned: returned_intact or returned_late. canceled: canceled_by_shipper or listing_expired. breached: package seal opened or ship_captured. defaulted: deadline_expired or a loss reason such as package destroyed with carrier ship or package seized by customs. Absent while posted or in_transit.",
          "type": "string"
        },
        "uninsurable_reason": {
          "description": "Why the package could not be appraised. Absent when insurable is true.",
          "type": "string"
        },
        "visibility": {
          "description": "Who can see and accept the listing while it is posted. public: any carrier. faction: members of the shipper faction. allies: members of the shipper faction and its allies. invited: only invited_carrier. faction and allies need a faction shipper. Station supply runs are always public.",
          "enum": [
            "public",
            "faction",
            "allies",
            "invited"
          ],
          "type": "string"
        }
      },
      "required": [
        "id",
        "package_id",
        "shipper",
        "recipient",
        "origin_base_id",
        "destination_base_id",
        "shipping_house_id",
        "visibility",
        "service_level",
        "status",
        "posted_at",
        "listing_expires_at",
        "base_reward",
        "max_speed_bonus",
        "service_fee",
        "reward_escrow",
        "speed_bonus_escrow",
        "failure_debt",
        "reserved_exposure",
        "policy_status",
        "insurable",
        "risk_band"
      ],
      "type": "object"
    }
  }
}

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/spacemolt-com-shipping-settlement-response"
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.