{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://therundown.io/schemas/MarketLinesResponse",
  "title": "MarketLinesResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "value": {
      "type": "string",
      "description": "Line value (numeric for spreads/totals, participant name if `line_value_is_participant` is true)"
    },
    "selection": {
      "type": "string"
    },
    "handicap": {
      "type": "string"
    },
    "prices": {
      "type": "object",
      "description": "Prices keyed by affiliate ID",
      "additionalProperties": {
        "$ref": "#/components/schemas/MarketLinePriceResponse"
      }
    }
  }
}