{
  "version": 1,
  "synthetic": true,
  "notice": "Every identity, item, timestamp, price and result is fictional. No customer data, real quote, ownership proof or provider response is included. Do not submit these identities to an API.",
  "scope": "Teaching subset: full grouped USD inventory rows, top=0, no search/pagination/trade-view enrichment, batch include_items=true. This is not complete JSON Schema validation.",
  "usage": "Save beside inventory-contract-check.py; run python3 inventory-contract-check.py. No key, network, server source or production database is needed. Edit a copy to see inconsistent interpretations fail.",
  "lessons": [
    "HTTP200 native status can mean private or unavailable. Do not turn default numeric total=0 into a valuation.",
    "HTTP200 compatibility success is an array, including a valid empty array. HTTP410 cannot prove an observed empty public inventory.",
    "Use count, not market volume. Exclude rows without both tradable and marketable. Null prices preserve unknown coverage; the known subtotal is partial.",
    "Batch HTTP200 can contain failed pairs. Inspect ok/http_status/status/error per pair and preserve successful pairs.",
    "Cache age measures the inventory snapshot. priceupdatedat belongs to a saved source observation; these deliberately old synthetic timestamps are not current quotes.",
    "Market-name prices omit item-specific float, seed or attachment premiums; unknown tradeprotected is not false."
  ],
  "sources": [
    "wokapi/app.py::v1_inventory",
    "wokapi/app.py::compat_inventory",
    "wokapi/batch.py::_status,_item,execute",
    "tests/test_inventory_contract.py::test_success_is_array_and_known_empty_shapes_are_not_failures",
    "tests/test_batch_inventories.py::mixed results contract"
  ],
  "cases": [
    {
      "id": "native_ok",
      "kind": "native",
      "http_status": 200,
      "body": {
        "steamid": "76561198000000001",
        "game": "cs2",
        "currency": "USD",
        "status": "ok",
        "total": 25.0,
        "estimated_total": null,
        "unestimated_count": 4,
        "items_total": 4,
        "sellable": 3,
        "untradable": 1,
        "untradable_value": 100.0,
        "tradelocked": 0,
        "tradelocked_value": 0.0,
        "unpriced": 0,
        "items": [
          {
            "markethashname": "Synthetic Item A (not a Steam item)",
            "marketname": "Synthetic Item A",
            "count": 2,
            "appid": 730,
            "game": "cs2",
            "tradable": 1,
            "marketable": 1,
            "tradelocked": false,
            "tradelockuntil": null,
            "tradeprotected": null,
            "pricemedian": 10,
            "pricesafe": 9.5,
            "priceavg": 10,
            "pricelatest": 10,
            "pricemax": 10,
            "pricesource": "skinport",
            "priceupdatedat": 1710000000,
            "prices": {
              "skinport": 10
            },
            "prices_native": {},
            "price_statistics": {},
            "source_statistics": {},
            "volume": 9999,
            "image": "",
            "image_url": null,
            "type": "Synthetic fixture"
          },
          {
            "markethashname": "Synthetic Item B (not a Steam item)",
            "marketname": "Synthetic Item B",
            "count": 1,
            "appid": 730,
            "game": "cs2",
            "tradable": 1,
            "marketable": 1,
            "tradelocked": false,
            "tradelockuntil": null,
            "tradeprotected": null,
            "pricemedian": 5,
            "pricesafe": 4.75,
            "priceavg": 5,
            "pricelatest": 5,
            "pricemax": 5,
            "pricesource": "skinport",
            "priceupdatedat": 1710000000,
            "prices": {
              "skinport": 5
            },
            "prices_native": {},
            "price_statistics": {},
            "source_statistics": {},
            "volume": 9999,
            "image": "",
            "image_url": null,
            "type": "Synthetic fixture"
          },
          {
            "markethashname": "Synthetic nonmarketable Item C (not a Steam item)",
            "marketname": "Synthetic nonmarketable Item C",
            "count": 1,
            "appid": 730,
            "game": "cs2",
            "tradable": 1,
            "marketable": 0,
            "tradelocked": false,
            "tradelockuntil": null,
            "tradeprotected": null,
            "pricemedian": 100,
            "pricesafe": 95.0,
            "priceavg": 100,
            "pricelatest": 100,
            "pricemax": 100,
            "pricesource": "skinport",
            "priceupdatedat": 1710000000,
            "prices": {
              "skinport": 100
            },
            "prices_native": {},
            "price_statistics": {},
            "source_statistics": {},
            "volume": 9999,
            "image": "",
            "image_url": null,
            "type": "Synthetic fixture"
          }
        ],
        "meta": {
          "cached": true,
          "lane": "cache",
          "saved": true,
          "ms": 0,
          "bytes": 0,
          "paid_bytes": 0,
          "upstream_attempts": 0,
          "detail": "",
          "price_source": "skinport",
          "price_stat": "selected",
          "cache_age": 60,
          "cache_ttl": 300,
          "shared": false,
          "items_matched": 4,
          "source": "steam_community_public_inventory",
          "coverage": "public_only",
          "context_id": "2",
          "steam_reported_count": null,
          "steam_count_mismatch": false
        }
      },
      "expected": {
        "state": "valued",
        "units": 4,
        "eligible_units": 3,
        "unpriced_units": 0,
        "known_subtotal_usd": 25.0,
        "inventory_value_usd": 25.0
      }
    },
    {
      "id": "native_private",
      "kind": "native",
      "http_status": 200,
      "body": {
        "steamid": "76561198000000001",
        "game": "cs2",
        "currency": "USD",
        "status": "private",
        "total": 0.0,
        "estimated_total": null,
        "unestimated_count": 0,
        "items_total": 0,
        "sellable": 0,
        "untradable": 0,
        "untradable_value": 0.0,
        "tradelocked": 0,
        "tradelocked_value": 0.0,
        "unpriced": 0,
        "items": [],
        "meta": {
          "cached": true,
          "lane": "cache",
          "saved": true,
          "ms": 0,
          "bytes": 0,
          "paid_bytes": 0,
          "upstream_attempts": 0,
          "detail": "",
          "price_source": "skinport",
          "price_stat": "selected",
          "cache_age": 60,
          "cache_ttl": 300,
          "shared": false,
          "items_matched": 0,
          "source": "steam_community_public_inventory",
          "coverage": "public_only",
          "context_id": "2",
          "steam_reported_count": null,
          "steam_count_mismatch": false
        }
      },
      "expected": {
        "state": "unavailable",
        "inventory_value_usd": null
      }
    },
    {
      "id": "native_empty",
      "kind": "native",
      "http_status": 200,
      "body": {
        "steamid": "76561198000000001",
        "game": "cs2",
        "currency": "USD",
        "status": "empty",
        "total": 0.0,
        "estimated_total": null,
        "unestimated_count": 0,
        "items_total": 0,
        "sellable": 0,
        "untradable": 0,
        "untradable_value": 0.0,
        "tradelocked": 0,
        "tradelocked_value": 0.0,
        "unpriced": 0,
        "items": [],
        "meta": {
          "cached": true,
          "lane": "cache",
          "saved": true,
          "ms": 0,
          "bytes": 0,
          "paid_bytes": 0,
          "upstream_attempts": 0,
          "detail": "",
          "price_source": "skinport",
          "price_stat": "selected",
          "cache_age": 60,
          "cache_ttl": 300,
          "shared": false,
          "items_matched": 0,
          "source": "steam_community_public_inventory",
          "coverage": "public_only",
          "context_id": "2",
          "steam_reported_count": null,
          "steam_count_mismatch": false
        }
      },
      "expected": {
        "state": "empty",
        "units": 0,
        "eligible_units": 0,
        "unpriced_units": 0,
        "known_subtotal_usd": 0.0,
        "inventory_value_usd": 0.0
      }
    },
    {
      "id": "native_unpriced",
      "kind": "native",
      "http_status": 200,
      "body": {
        "steamid": "76561198000000001",
        "game": "cs2",
        "currency": "USD",
        "status": "ok",
        "total": 25.0,
        "estimated_total": null,
        "unestimated_count": 4,
        "items_total": 4,
        "sellable": 4,
        "untradable": 0,
        "untradable_value": 0.0,
        "tradelocked": 0,
        "tradelocked_value": 0.0,
        "unpriced": 1,
        "items": [
          {
            "markethashname": "Synthetic Item A (not a Steam item)",
            "marketname": "Synthetic Item A",
            "count": 2,
            "appid": 730,
            "game": "cs2",
            "tradable": 1,
            "marketable": 1,
            "tradelocked": false,
            "tradelockuntil": null,
            "tradeprotected": null,
            "pricemedian": 10,
            "pricesafe": 9.5,
            "priceavg": 10,
            "pricelatest": 10,
            "pricemax": 10,
            "pricesource": "skinport",
            "priceupdatedat": 1710000000,
            "prices": {
              "skinport": 10
            },
            "prices_native": {},
            "price_statistics": {},
            "source_statistics": {},
            "volume": 9999,
            "image": "",
            "image_url": null,
            "type": "Synthetic fixture"
          },
          {
            "markethashname": "Synthetic Item B (not a Steam item)",
            "marketname": "Synthetic Item B",
            "count": 1,
            "appid": 730,
            "game": "cs2",
            "tradable": 1,
            "marketable": 1,
            "tradelocked": false,
            "tradelockuntil": null,
            "tradeprotected": null,
            "pricemedian": 5,
            "pricesafe": 4.75,
            "priceavg": 5,
            "pricelatest": 5,
            "pricemax": 5,
            "pricesource": "skinport",
            "priceupdatedat": 1710000000,
            "prices": {
              "skinport": 5
            },
            "prices_native": {},
            "price_statistics": {},
            "source_statistics": {},
            "volume": 9999,
            "image": "",
            "image_url": null,
            "type": "Synthetic fixture"
          },
          {
            "markethashname": "Synthetic unpriced Item D (not a Steam item)",
            "marketname": "Synthetic unpriced Item D",
            "count": 1,
            "appid": 730,
            "game": "cs2",
            "tradable": 1,
            "marketable": 1,
            "tradelocked": false,
            "tradelockuntil": null,
            "tradeprotected": null,
            "pricemedian": null,
            "pricesafe": null,
            "priceavg": null,
            "pricelatest": null,
            "pricemax": null,
            "pricesource": "",
            "priceupdatedat": null,
            "prices": {},
            "prices_native": {},
            "price_statistics": {},
            "source_statistics": {},
            "volume": 9999,
            "image": "",
            "image_url": null,
            "type": "Synthetic fixture"
          }
        ],
        "meta": {
          "cached": true,
          "lane": "cache",
          "saved": true,
          "ms": 0,
          "bytes": 0,
          "paid_bytes": 0,
          "upstream_attempts": 0,
          "detail": "",
          "price_source": "skinport",
          "price_stat": "selected",
          "cache_age": 60,
          "cache_ttl": 300,
          "shared": false,
          "items_matched": 4,
          "source": "steam_community_public_inventory",
          "coverage": "public_only",
          "context_id": "2",
          "steam_reported_count": null,
          "steam_count_mismatch": false
        }
      },
      "expected": {
        "state": "partial_value",
        "units": 4,
        "eligible_units": 4,
        "unpriced_units": 1,
        "known_subtotal_usd": 25.0,
        "inventory_value_usd": null
      }
    },
    {
      "id": "native_temporary_error",
      "kind": "native",
      "http_status": 200,
      "body": {
        "steamid": "76561198000000001",
        "game": "cs2",
        "currency": "USD",
        "status": "error",
        "total": 0.0,
        "estimated_total": null,
        "unestimated_count": 0,
        "items_total": 0,
        "sellable": 0,
        "untradable": 0,
        "untradable_value": 0.0,
        "tradelocked": 0,
        "tradelocked_value": 0.0,
        "unpriced": 0,
        "items": [],
        "meta": {
          "cached": true,
          "lane": "cache",
          "saved": true,
          "ms": 0,
          "bytes": 0,
          "paid_bytes": 0,
          "upstream_attempts": 0,
          "detail": "",
          "price_source": "skinport",
          "price_stat": "selected",
          "cache_age": 60,
          "cache_ttl": 300,
          "shared": false,
          "items_matched": 0,
          "source": "steam_community_public_inventory",
          "coverage": "public_only",
          "context_id": "2",
          "steam_reported_count": null,
          "steam_count_mismatch": false
        }
      },
      "expected": {
        "state": "unavailable",
        "inventory_value_usd": null
      }
    },
    {
      "id": "compatibility_ok",
      "kind": "compatibility",
      "http_status": 200,
      "body": [
        {
          "markethashname": "Synthetic Item A (not a Steam item)",
          "marketname": "Synthetic Item A",
          "count": 2,
          "appid": 730,
          "game": "cs2",
          "tradable": 1,
          "marketable": 1,
          "tradelocked": false,
          "tradelockuntil": null,
          "tradeprotected": null,
          "pricemedian": 10,
          "pricesafe": 9.5,
          "priceavg": 10,
          "pricelatest": 10,
          "pricemax": 10,
          "pricesource": "skinport",
          "priceupdatedat": 1710000000,
          "prices": {
            "skinport": 10
          },
          "prices_native": {},
          "price_statistics": {},
          "source_statistics": {},
          "volume": 9999,
          "image": "",
          "image_url": null,
          "type": "Synthetic fixture"
        },
        {
          "markethashname": "Synthetic Item B (not a Steam item)",
          "marketname": "Synthetic Item B",
          "count": 1,
          "appid": 730,
          "game": "cs2",
          "tradable": 1,
          "marketable": 1,
          "tradelocked": false,
          "tradelockuntil": null,
          "tradeprotected": null,
          "pricemedian": 5,
          "pricesafe": 4.75,
          "priceavg": 5,
          "pricelatest": 5,
          "pricemax": 5,
          "pricesource": "skinport",
          "priceupdatedat": 1710000000,
          "prices": {
            "skinport": 5
          },
          "prices_native": {},
          "price_statistics": {},
          "source_statistics": {},
          "volume": 9999,
          "image": "",
          "image_url": null,
          "type": "Synthetic fixture"
        },
        {
          "markethashname": "Synthetic nonmarketable Item C (not a Steam item)",
          "marketname": "Synthetic nonmarketable Item C",
          "count": 1,
          "appid": 730,
          "game": "cs2",
          "tradable": 1,
          "marketable": 0,
          "tradelocked": false,
          "tradelockuntil": null,
          "tradeprotected": null,
          "pricemedian": 100,
          "pricesafe": 95.0,
          "priceavg": 100,
          "pricelatest": 100,
          "pricemax": 100,
          "pricesource": "skinport",
          "priceupdatedat": 1710000000,
          "prices": {
            "skinport": 100
          },
          "prices_native": {},
          "price_statistics": {},
          "source_statistics": {},
          "volume": 9999,
          "image": "",
          "image_url": null,
          "type": "Synthetic fixture"
        }
      ],
      "expected": {
        "state": "valued",
        "units": 4,
        "eligible_units": 3,
        "unpriced_units": 0,
        "known_subtotal_usd": 25.0,
        "inventory_value_usd": 25.0
      },
      "headers": {
        "X-Wok-Price-Currency": "USD",
        "X-Wok-Total": "25.00",
        "X-Wok-Cache-Age": "60",
        "X-Wok-Cache-TTL": "300",
        "X-Wok-Cached": "1",
        "X-Wok-Inventory-Coverage": "public_only"
      }
    },
    {
      "id": "compatibility_observed_empty",
      "kind": "compatibility",
      "http_status": 200,
      "body": [],
      "expected": {
        "state": "empty",
        "units": 0,
        "eligible_units": 0,
        "unpriced_units": 0,
        "known_subtotal_usd": 0.0,
        "inventory_value_usd": 0.0
      },
      "headers": {
        "X-Wok-Price-Currency": "USD",
        "X-Wok-Total": "0.00",
        "X-Wok-Cache-Age": "60",
        "X-Wok-Cache-TTL": "300",
        "X-Wok-Cached": "1",
        "X-Wok-Inventory-Coverage": "public_only"
      }
    },
    {
      "id": "compatibility_no_inventory",
      "kind": "compatibility",
      "http_status": 410,
      "body": {
        "error": "PROFILE_NOT_FOUND_OR_NO_INVENTORY_FOR_GAME"
      },
      "expected": {
        "state": "unavailable",
        "inventory_value_usd": null
      }
    },
    {
      "id": "compatibility_private",
      "kind": "compatibility",
      "http_status": 403,
      "body": {
        "error": "PRIVATE"
      },
      "expected": {
        "state": "unavailable",
        "inventory_value_usd": null
      }
    },
    {
      "id": "compatibility_unpriced",
      "kind": "compatibility",
      "http_status": 200,
      "body": [
        {
          "markethashname": "Synthetic Item A (not a Steam item)",
          "marketname": "Synthetic Item A",
          "count": 2,
          "appid": 730,
          "game": "cs2",
          "tradable": 1,
          "marketable": 1,
          "tradelocked": false,
          "tradelockuntil": null,
          "tradeprotected": null,
          "pricemedian": 10,
          "pricesafe": 9.5,
          "priceavg": 10,
          "pricelatest": 10,
          "pricemax": 10,
          "pricesource": "skinport",
          "priceupdatedat": 1710000000,
          "prices": {
            "skinport": 10
          },
          "prices_native": {},
          "price_statistics": {},
          "source_statistics": {},
          "volume": 9999,
          "image": "",
          "image_url": null,
          "type": "Synthetic fixture"
        },
        {
          "markethashname": "Synthetic Item B (not a Steam item)",
          "marketname": "Synthetic Item B",
          "count": 1,
          "appid": 730,
          "game": "cs2",
          "tradable": 1,
          "marketable": 1,
          "tradelocked": false,
          "tradelockuntil": null,
          "tradeprotected": null,
          "pricemedian": 5,
          "pricesafe": 4.75,
          "priceavg": 5,
          "pricelatest": 5,
          "pricemax": 5,
          "pricesource": "skinport",
          "priceupdatedat": 1710000000,
          "prices": {
            "skinport": 5
          },
          "prices_native": {},
          "price_statistics": {},
          "source_statistics": {},
          "volume": 9999,
          "image": "",
          "image_url": null,
          "type": "Synthetic fixture"
        },
        {
          "markethashname": "Synthetic unpriced Item D (not a Steam item)",
          "marketname": "Synthetic unpriced Item D",
          "count": 1,
          "appid": 730,
          "game": "cs2",
          "tradable": 1,
          "marketable": 1,
          "tradelocked": false,
          "tradelockuntil": null,
          "tradeprotected": null,
          "pricemedian": null,
          "pricesafe": null,
          "priceavg": null,
          "pricelatest": null,
          "pricemax": null,
          "pricesource": "",
          "priceupdatedat": null,
          "prices": {},
          "prices_native": {},
          "price_statistics": {},
          "source_statistics": {},
          "volume": 9999,
          "image": "",
          "image_url": null,
          "type": "Synthetic fixture"
        }
      ],
      "expected": {
        "state": "partial_value",
        "units": 4,
        "eligible_units": 4,
        "unpriced_units": 1,
        "known_subtotal_usd": 25.0,
        "inventory_value_usd": null
      },
      "headers": {
        "X-Wok-Price-Currency": "USD",
        "X-Wok-Total": "25.00",
        "X-Wok-Cache-Age": "60",
        "X-Wok-Cache-TTL": "300",
        "X-Wok-Cached": "1",
        "X-Wok-Inventory-Coverage": "public_only"
      }
    },
    {
      "id": "compatibility_temporary_error",
      "kind": "compatibility",
      "http_status": 502,
      "body": {
        "error": "Synthetic Steam source unavailable"
      },
      "expected": {
        "state": "unavailable",
        "inventory_value_usd": null
      }
    },
    {
      "id": "batch_partial_pair_failure",
      "kind": "batch",
      "http_status": 200,
      "body": {
        "results": [
          {
            "steamid": "76561198000000001",
            "game": "cs2",
            "status": "ok",
            "total": 25.0,
            "estimated_total": null,
            "unestimated_count": 4,
            "items_total": 4,
            "sellable": 3,
            "untradable": 1,
            "untradable_value": 100.0,
            "tradelocked": 0,
            "tradelocked_value": 0.0,
            "unpriced": 0,
            "items": [
              {
                "markethashname": "Synthetic Item A (not a Steam item)",
                "marketname": "Synthetic Item A",
                "count": 2,
                "appid": 730,
                "game": "cs2",
                "tradable": 1,
                "marketable": 1,
                "tradelocked": false,
                "tradelockuntil": null,
                "tradeprotected": null,
                "pricemedian": 10,
                "pricesafe": 9.5,
                "priceavg": 10,
                "pricelatest": 10,
                "pricemax": 10,
                "pricesource": "skinport",
                "priceupdatedat": 1710000000,
                "prices": {
                  "skinport": 10
                },
                "prices_native": {},
                "price_statistics": {},
                "source_statistics": {},
                "volume": 9999,
                "image": "",
                "image_url": null,
                "type": "Synthetic fixture"
              },
              {
                "markethashname": "Synthetic Item B (not a Steam item)",
                "marketname": "Synthetic Item B",
                "count": 1,
                "appid": 730,
                "game": "cs2",
                "tradable": 1,
                "marketable": 1,
                "tradelocked": false,
                "tradelockuntil": null,
                "tradeprotected": null,
                "pricemedian": 5,
                "pricesafe": 4.75,
                "priceavg": 5,
                "pricelatest": 5,
                "pricemax": 5,
                "pricesource": "skinport",
                "priceupdatedat": 1710000000,
                "prices": {
                  "skinport": 5
                },
                "prices_native": {},
                "price_statistics": {},
                "source_statistics": {},
                "volume": 9999,
                "image": "",
                "image_url": null,
                "type": "Synthetic fixture"
              },
              {
                "markethashname": "Synthetic nonmarketable Item C (not a Steam item)",
                "marketname": "Synthetic nonmarketable Item C",
                "count": 1,
                "appid": 730,
                "game": "cs2",
                "tradable": 1,
                "marketable": 0,
                "tradelocked": false,
                "tradelockuntil": null,
                "tradeprotected": null,
                "pricemedian": 100,
                "pricesafe": 95.0,
                "priceavg": 100,
                "pricelatest": 100,
                "pricemax": 100,
                "pricesource": "skinport",
                "priceupdatedat": 1710000000,
                "prices": {
                  "skinport": 100
                },
                "prices_native": {},
                "price_statistics": {},
                "source_statistics": {},
                "volume": 9999,
                "image": "",
                "image_url": null,
                "type": "Synthetic fixture"
              }
            ],
            "meta": {
              "cached": true,
              "lane": "cache",
              "saved": true,
              "ms": 0,
              "bytes": 0,
              "paid_bytes": 0,
              "upstream_attempts": 0,
              "detail": "",
              "price_source": "skinport",
              "price_stat": "selected",
              "cache_age": 60,
              "cache_ttl": 300,
              "shared": false,
              "elapsed_ms": 0
            },
            "unpriced_sellable": 0,
            "ok": true,
            "http_status": 200
          },
          {
            "steamid": "76561198000000002",
            "game": "cs2",
            "status": "empty",
            "total": 0.0,
            "estimated_total": null,
            "unestimated_count": 0,
            "items_total": 0,
            "sellable": 0,
            "untradable": 0,
            "untradable_value": 0.0,
            "tradelocked": 0,
            "tradelocked_value": 0.0,
            "unpriced": 0,
            "items": [],
            "meta": {
              "cached": true,
              "lane": "cache",
              "saved": true,
              "ms": 0,
              "bytes": 0,
              "paid_bytes": 0,
              "upstream_attempts": 0,
              "detail": "",
              "price_source": "skinport",
              "price_stat": "selected",
              "cache_age": 60,
              "cache_ttl": 300,
              "shared": false,
              "elapsed_ms": 0
            },
            "unpriced_sellable": 0,
            "ok": true,
            "http_status": 200
          },
          {
            "steamid": "76561198000000003",
            "game": "cs2",
            "status": "private",
            "total": 0.0,
            "estimated_total": null,
            "unestimated_count": 0,
            "items_total": 0,
            "sellable": 0,
            "untradable": 0,
            "untradable_value": 0.0,
            "tradelocked": 0,
            "tradelocked_value": 0.0,
            "unpriced": 0,
            "items": [],
            "meta": {
              "cached": true,
              "lane": "cache",
              "saved": true,
              "ms": 0,
              "bytes": 0,
              "paid_bytes": 0,
              "upstream_attempts": 0,
              "detail": "",
              "price_source": "skinport",
              "price_stat": "selected",
              "cache_age": 60,
              "cache_ttl": 300,
              "shared": false,
              "elapsed_ms": 0
            },
            "unpriced_sellable": 0,
            "ok": false,
            "http_status": 403,
            "error": {
              "code": "private_inventory",
              "message": "Synthetic private_inventory"
            }
          },
          {
            "steamid": "76561198000000004",
            "game": "cs2",
            "status": "error",
            "total": 0.0,
            "estimated_total": null,
            "unestimated_count": 0,
            "items_total": 0,
            "sellable": 0,
            "untradable": 0,
            "untradable_value": 0.0,
            "tradelocked": 0,
            "tradelocked_value": 0.0,
            "unpriced": 0,
            "items": [],
            "meta": {
              "cached": true,
              "lane": "cache",
              "saved": true,
              "ms": 0,
              "bytes": 0,
              "paid_bytes": 0,
              "upstream_attempts": 0,
              "detail": "",
              "price_source": "skinport",
              "price_stat": "selected",
              "cache_age": 60,
              "cache_ttl": 300,
              "shared": false,
              "elapsed_ms": 0
            },
            "unpriced_sellable": 0,
            "ok": false,
            "http_status": 502,
            "error": {
              "code": "upstream_error",
              "message": "Synthetic upstream_error"
            }
          }
        ],
        "meta": {
          "requested": 4,
          "succeeded": 2,
          "failed": 2,
          "cached": 4,
          "elapsed_ms": 0,
          "limits": {
            "steamids": 20,
            "games": 4,
            "pairs": 80
          }
        }
      },
      "expected": {
        "state": "partial_batch",
        "succeeded": 2,
        "failed": 2,
        "pairs": [
          {
            "state": "valued",
            "units": 4,
            "eligible_units": 3,
            "unpriced_units": 0,
            "known_subtotal_usd": 25.0,
            "inventory_value_usd": 25.0
          },
          {
            "state": "empty",
            "units": 0,
            "eligible_units": 0,
            "unpriced_units": 0,
            "known_subtotal_usd": 0.0,
            "inventory_value_usd": 0.0
          },
          {
            "state": "unavailable",
            "inventory_value_usd": null
          },
          {
            "state": "unavailable",
            "inventory_value_usd": null
          }
        ]
      }
    }
  ]
}
