addedOutput schema / anyOf
Added value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "compared_against": {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "const": "engine_implied_probability"
+ },
+ "observed_at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
+ "type": "string"
+ },
+ "price": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "source": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ }
+ },
+ "required": [
+ "price",
+ "basis",
+ "observed_at",
+ "source"
+ ],
+ "type": "object"
+ },
+ "estimate_basis": {
+ "const": "engine_estimated_yes_probability"
+ },
+ "estimated_at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
+ "type": "string"
+ },
+ "fair_price": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "label": {
+ "const": "estimate"
+ },
+ "market": {
+ "additionalProperties": false,
+ "properties": {
+ "outcome": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "ticker": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 500,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "url": {
+ "maxLength": 2000,
+ "minLength": 9,
+ "pattern": "^https://",
+ "type": "string"
+ },
+ "venue": {
+ "enum": [
+ "Kalshi",
+ "Polymarket"
+ ]
+ }
+ },
+ "required": [
+ "venue",
+ "ticker",
+ "title",
+ "url",
+ "outcome"
+ ],
+ "type": "object"
+ },
+ "market_quotes": {
+ "items": {
+ "additionalProperties": false,
+ "allOf": [
+ {
+ "else": {
+ "properties": {
+ "basis": {
+ "enum": [
+ "midpoint",
+ "last_trade",
+ "listed_price"
+ ]
+ },
+ "native_payout_usd": {
+ "const": 1
+ },
+ "observation_basis": {
+ "const": "received_at"
+ }
+ }
+ },
+ "if": {
+ "properties": {
+ "source": {
+ "const": "Novig"
+ }
+ }
+ },
+ "then": {
+ "properties": {
+ "basis": {
+ "const": "best_bid"
+ },
+ "native_payout_usd": {
+ "const": 0.01
+ },
+ "observation_basis": {
+ "const": "http_date"
+ }
+ },
+ "required": [
+ "event_id",
+ "market_id",
+ "outcome_id"
+ ]
+ }
+ }
+ ],
+ "properties": {
+ "basis": {
+ "enum": [
+ "best_bid",
+ "midpoint",
+ "last_trade",
+ "listed_price"
+ ]
+ },
+ "event_id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "market_id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "native_payout_usd": {
+ "enum": [
+ 0.01,
+ 1
+ ]
+ },
+ "observation_basis": {
+ "enum": [
+ "source_timestamp",
+ "http_date",
+ "received_at"
+ ]
+ },
+ "observed_at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
+ "type": "string"
+ },
+ "outcome": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "outcome_id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "payout_usd": {
+ "const": 1
+ },
+ "price": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "received_at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
+ "type": "string"
+ },
+ "source": {
+ "enum": [
+ "Kalshi",
+ "Polymarket",
+ "Novig"
+ ]
+ }
+ },
+ "required": [
+ "source",
+ "price",
+ "basis",
+ "outcome",
+ "observed_at",
+ "received_at",
+ "observation_basis",
+ "payout_usd",
+ "native_payout_usd"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "model": {
+ "maxLength": 120,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "quote_sources": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "reason": {
+ "maxLength": 100,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "source": {
+ "enum": [
+ "Kalshi",
+ "Polymarket",
+ "Novig"
+ ]
+ },
+ "status": {
+ "enum": [
+ "available",
+ "unavailable"
+ ]
+ }
+ },
+ "required": [
+ "source",
+ "status"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "retrieved_at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "market",
+ "fair_price",
+ "label",
+ "estimate_basis",
+ "compared_against",
+ "estimated_at",
+ "retrieved_at",
+ "model"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "candidates": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "game_date": {
+ "anyOf": [
+ {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "market": {
+ "additionalProperties": false,
+ "properties": {
+ "outcome": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "ticker": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 500,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "url": {
+ "maxLength": 2000,
+ "minLength": 9,
+ "pattern": "^https://",
+ "type": "string"
+ },
+ "venue": {
+ "enum": [
+ "Kalshi",
+ "Polymarket"
+ ]
+ }
+ },
+ "required": [
+ "venue",
+ "ticker",
+ "title",
+ "url",
+ "outcome"
+ ],
+ "type": "object"
+ },
+ "market_type": {
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "selection": {
+ "maxLength": 300,
+ "minLength": 3,
+ "pattern": "^(?:kalshi|polymarket):[A-Za-z0-9._-]+$",
+ "type": "string"
+ },
+ "starts_at": {
+ "anyOf": [
+ {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "market",
+ "starts_at",
+ "game_date",
+ "market_type",
+ "selection"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "query": {
+ "maxLength": 300,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "retrieved_at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
+ "type": "string"
+ },
+ "status": {
+ "const": "needs_match"
+ }
+ },
+ "required": [
+ "status",
+ "query",
+ "retrieved_at",
+ "candidates"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "query": {
+ "maxLength": 300,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "retrieved_at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
+ "type": "string"
+ },
+ "status": {
+ "const": "no_match"
+ },
+ "summary": {
+ "maxLength": 300,
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "query",
+ "summary",
+ "retrieved_at"
+ ],
+ "type": "object"
+ }
+]
removedOutput schema / properties
Removed value: -{
- "compared_against": {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "const": "engine_implied_probability"
- },
- "observed_at": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
- "type": "string"
- },
- "price": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "source": {
- "maxLength": 1000,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- }
- },
- "required": [
- "price",
- "basis",
- "observed_at",
- "source"
- ],
- "type": "object"
- },
- "estimate_basis": {
- "const": "engine_estimated_yes_probability"
- },
- "estimated_at": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
- "type": "string"
- },
- "fair_price": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "label": {
- "const": "estimate"
- },
- "market": {
- "additionalProperties": false,
- "properties": {
- "outcome": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "ticker": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "title": {
- "maxLength": 500,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "url": {
- "maxLength": 2000,
- "minLength": 9,
- "pattern": "^https://",
- "type": "string"
- },
- "venue": {
- "enum": [
- "Kalshi",
- "Polymarket"
- ]
- }
- },
- "required": [
- "venue",
- "ticker",
- "title",
- "url",
- "outcome"
- ],
- "type": "object"
- },
- "model": {
- "maxLength": 120,
- "minLength": 1,
- "pattern": "\\S",
- "type": "string"
- },
- "retrieved_at": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
- "type": "string"
- }
-}