{
  "id": "0b1f8a4e-1c2d-4e5f-9a6b-7c8d9e0f1a2b",
  "version": 6,
  "name": "apx-command-types",
  "creator": { "id": "a1000000-0000-4000-8000-000000000001", "className": "Organisation" },
  "locator": "https://apx-standard.org/registries/apx-command-types.json",
  "userDefinedCodeListEntries": [
    { "definedValue": "vendGate", "entryDescription": "Open (vend) a gate/barrier at the target lane once for one vehicle.", "entryIndex": 0 },
    { "definedValue": "holdGateOpen", "entryDescription": "Hold the gate/barrier at the target lane open until released by a subsequent setDeviceState or closeLane command.", "entryIndex": 1 },
    { "definedValue": "closeLane", "entryDescription": "Close the target lane to further entries/exits.", "entryIndex": 2 },
    { "definedValue": "lostTicket", "entryDescription": "Issue a lost-ticket transaction at the target lane using the lost-ticket method given in parameters.", "entryIndex": 3 },
    { "definedValue": "pushRate", "entryDescription": "Apply the RateTable referenced in parameters to the target lane or place.", "entryIndex": 4 },
    { "definedValue": "applyValidation", "entryDescription": "Apply a validation from the given validation provider to the ticket/session referenced in parameters.", "entryIndex": 5 },
    { "definedValue": "setDeviceState", "entryDescription": "Request the target device transition to the state given in parameters.", "entryIndex": 6 },
    { "definedValue": "displayMessage", "entryDescription": "Display the message given in parameters on the target device (VMS, lane display).", "entryIndex": 7 },
    { "definedValue": "restartDevice", "entryDescription": "Restart (reboot) the target device.", "entryIndex": 8 },
    { "definedValue": "resetPassback", "entryDescription": "Reset the anti-passback state of the credential referenced in parameters to normal.", "entryIndex": 9 },
    { "definedValue": "forceIn", "entryDescription": "Force the credential referenced in parameters to recorded presence 'inside' (passback correction).", "entryIndex": 10 },
    { "definedValue": "forceOut", "entryDescription": "Force the credential referenced in parameters to recorded presence 'outside' (passback correction).", "entryIndex": 11 },
    { "definedValue": "courtesyExit", "entryDescription": "Vend the gate at the target lane as a tracked courtesy exit for the account/holder referenced in parameters — counted against courtesy policy.", "entryIndex": 12 },
    { "definedValue": "pushNegotiatedRate", "entryDescription": "Apply a negotiated rate to the CURRENT ticket at the target lane only, never to the lane's deck: a negotiable RateTable in parameters.rateTable, or (negotiatedAmounts feature) any amount in parameters.amount with a reason. The command's agent is who set it.", "entryIndex": 13 },
    { "definedValue": "matchTicket", "entryDescription": "Bind the current transaction at the target lane to the open Session referenced in parameters (ticket matching), pricing the exit from that session's true entry time; the command's agent is who made the match.", "entryIndex": 14 },
    { "definedValue": "startCharging", "entryDescription": "Remote-start charging on the target ElectricChargingEquipment for a plugged-in vehicle whose own authorization failed; parameters connectorIndex and chargingSession (Reference), or an authorization object for the server to open one (Part 23 §23.9).", "entryIndex": 15 },
    { "definedValue": "stopCharging", "entryDescription": "Remote-stop charging on the target ElectricChargingEquipment; parameters connectorIndex and chargingSession; the bridge reports chargingEnded with stopReason remote (Part 23 §23.9).", "entryIndex": 16 },
    { "definedValue": "unlockConnector", "entryDescription": "Release a cable the target ElectricChargingEquipment will not let go of; parameter connectorIndex; physicallyConfirmed only when the charger reported the connector unlocked or the bay camera saw the cable move (Part 23 §23.9).", "entryIndex": 17 },
    { "definedValue": "ejectTicket", "entryDescription": "Return the ticket or card held by the target device (a ticket stuck on cancel, a card the reader kept) to the customer (Part 6 §6.1).", "entryIndex": 18 },
    { "definedValue": "cancelTransaction", "entryDescription": "Abandon the transaction in progress at the target device and return it to idle, releasing any media it holds (Part 6 §6.1).", "entryIndex": 19 },
    { "definedValue": "reprintReceipt", "entryDescription": "Print the receipt of the last, or the referenced, payment again at the target device; parameter payment (Part 6 §6.1, Part 13 §13.1b).", "entryIndex": 20 }
  ]
}
