{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/neuronsystems-org/json-schema/neuronsystems-org-inventory-response-schema.json",
  "title": "InventoryResponse",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/neuronsystems-org-openapi.json#/components/schemas/InventoryResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    },
    "target_sport": {
      "type": "string"
    },
    "minimum_order_impressions": {
      "type": "integer"
    },
    "volume_discount_tiers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "min_impressions": {
            "type": "integer"
          },
          "discount_pct": {
            "type": "number"
          }
        }
      }
    },
    "inventory": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "format": {
            "$ref": "#/$defs/AdFormat"
          },
          "title": {
            "type": "string"
          },
          "available_impressions_today": {
            "type": "integer"
          },
          "sold_impressions": {
            "type": "integer"
          },
          "list_cpm_usd": {
            "type": "number",
            "description": "Published rate-card CPM, before targeting premium or volume discount."
          },
          "floor_cpm_usd": {
            "type": "number",
            "description": "Hard floor: the lowest CPM the exchange will sell or accept a bid at."
          },
          "cpm_floor_usd": {
            "type": "number",
            "deprecated": true,
            "description": "DEPRECATED alias of list_cpm_usd, retained for older clients."
          }
        }
      }
    }
  },
  "$defs": {
    "AdFormat": {
      "type": "string",
      "enum": [
        "leaderboard_728x90",
        "medium_rectangle_300x250",
        "mobile_banner_320x50",
        "voice_sponsor_read",
        "pregame_anthem_slot",
        "halftime_music_show"
      ]
    }
  }
}