Skip to main content

Perdura documentation / Guide 03

The requirement JSON

Describe an exact memory part or accelerator, acceptable conditions, quantity and delivery.

A synthetic starting point

Download the JSON example or copy it below. The manufacturer, part and quantity are illustrative. Replace them with your own hardware and delivery requirements. Dates use RFC 3339 UTC timestamps; the delivery timezone is an explicit IANA name.

requirement.json
{
  "side": "buy",
  "title": "Example DDR4 requirement (SYNTHETIC)",
  "part": {
    "asset_class": "eol_memory",
    "manufacturer": "Example Memory Manufacturer",
    "manufacturer_part_number_raw": "SYN-DDR4-8G-2666",
    "part_family": "ddr4"
  },
  "accepted_conditions": [
    "new"
  ],
  "quantity": 500,
  "partial_fill_allowed": false,
  "multi_source_allowed": false,
  "response_window_hours": 72,
  "delivery_deadline": "2026-12-15T00:00:00.000Z",
  "hard_deadline": false,
  "delivery_location": {
    "location_type": "warehouse",
    "country": "US",
    "city": "Reno",
    "timezone": "America/Los_Angeles",
    "customs_clearance_by": "buyer"
  },
  "delivery_timing": "spot",
  "comparison_currency": "USD",
  "buyer_disclosure": "pseudonymous"
}

Keep asset classes distinct

Memory requires asset_class=eol_memory, manufacturer, the exact manufacturer_part_number_raw and part_family. Supported families include ddr3, ddr4, lpddr4 and other; other also needs part_family_note.

Accelerators require asset_class=accelerator, manufacturer, model, memory_gb, form_factor, usage_history_required and at least one required_inspection_tests entry. Form factors are card, sxm_module, server_node and rack. Nodes and racks state cards_per_node. This build does not model a complete CPU, host-memory, storage or network manifest.

Conditions and fill rules

The current client creates buyer requirements. A side=sell document is not an independent listing path: publication is deliberately unavailable in this build. Use the seller guide for responding to buyer demand.

FieldMeaning
accepted_conditionsOne or more of new, refurbished and used. These stay separate in comparisons.
quantityInteger from 1 to 1,000,000. Use one clearly specified traded unit.
partial_fill_allowedWhen true, include minimum_fill_quantity.
multi_source_allowedWhether the requirement permits allocation across multiple offers.
response_window_hoursThe response window, validated against configured contract bounds.

Delivery and budget

State delivery_deadline, delivery_location and delivery_timing. Forward requirements also need forward_delivery_window with earliest and latest instants. The server checks lead time and consistency.

comparison_currency names the comparison currency. Optional budget amounts are decimal strings with their currency, basis and visibility. Put no identity document, password or secret in internal_notes. A draft file may contain confidential procurement details; keep it in a controlled location.

Preview is not server validation

This command parses one JSON object up to 1 MiB and prints a local preview. It does not authenticate, contact the API or prove that the schema and business rules will accept the file. A real create is a separate command and saves only a draft.

Terminal
node perdura-cli.mjs requirements create --file requirement.json --dry-run