removedOutput schema / $defs / DiscoverMarketsResponse
Removed value: -{
- "additionalProperties": false,
- "properties": {
- "hasMore": {
- "type": "boolean"
- },
- "markets": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "actions": {
- "additionalProperties": false,
- "properties": {
- "canChallenge": {
- "type": "boolean"
- },
- "canClaim": {
- "type": "boolean"
- },
- "canCreatorResolve": {
- "type": "boolean"
- },
- "canVote": {
- "type": "boolean"
- },
- "creatorAddress": {
- "$ref": "#/$defs/EvmAddress"
- },
- "reason": {
- "$ref": "#/$defs/ErrorReason"
- }
- },
- "required": [
- "canCreatorResolve",
- "canChallenge",
- "canVote",
- "canClaim"
- ],
- "type": "object"
- },
- "address": {
- "anyOf": [
- {
- "$ref": "#/$defs/EvmAddress"
- },
- {
- "type": "null"
- }
- ]
- },
- "category": {
- "enum": [
- "CRYPTO",
- "SPORTS",
- "POLITICS",
- "ELECTIONS",
- "FINANCE",
- "TECH",
- "WORLD",
- "ECONOMY",
- "CULTURE",
- "WEATHER",
- "SCIENCE_HEALTH",
- "AI",
- "GAMING",
- "BUSINESS",
- "FASHION",
- "MOVIES_TV",
- "MUSIC",
- "SHOPPING",
- "BEAUTY",
- "TRAVEL",
- "CLIMATE",
- "DAILY_LIFE",
- "LOCAL",
- "SOCIAL",
- "FUN",
- "OTHER"
- ],
- "type": "string",
- "x-extensible-enum": true
- },
- "chainId": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "challengeBy": {
- "anyOf": [
- {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "closeTime": {
- "anyOf": [
- {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "collateralToken": {
- "anyOf": [
- {
- "$ref": "#/$defs/EvmAddress"
- },
- {
- "type": "null"
- }
- ]
- },
- "councilReviewEndsAt": {
- "anyOf": [
- {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "createdBy": {
- "anyOf": [
- {
- "$ref": "#/$defs/EvmAddress"
- },
- {
- "type": "null"
- }
- ]
- },
- "creatorAgentId": {
- "type": [
- "string",
- "null"
- ]
- },
- "creatorResolveBy": {
- "anyOf": [
- {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "creatorTier": {
- "anyOf": [
- {
- "$ref": "#/$defs/ReputationTier"
- },
- {
- "type": "null"
- }
- ]
- },
- "finality": {
- "enum": [
- "pending",
- "finalized"
- ],
- "type": "string"
- },
- "geo": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "countryCode": {
- "type": [
- "string",
- "null"
- ]
- },
- "derivation": {
- "anyOf": [
- {
- "enum": [
- "explicit",
- "entity_hq"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "lat": {
- "type": [
- "number",
- "null"
- ]
- },
- "lon": {
- "type": [
- "number",
- "null"
- ]
- },
- "place": {
- "type": [
- "string",
- "null"
- ]
- },
- "scope": {
- "enum": [
- "city",
- "region",
- "country",
- "global"
- ],
- "type": "string"
- }
- },
- "required": [
- "scope",
- "countryCode",
- "place",
- "lat",
- "lon",
- "derivation"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "humanVote": {
- "additionalProperties": false,
- "properties": {
- "deadlineImmutable": {
- "const": true,
- "type": "boolean"
- },
- "endsAt": {
- "anyOf": [
- {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "sessionId": {
- "type": [
- "string",
- "null"
- ]
- },
- "windowStartsAt": {
- "const": "session_open",
- "type": "string"
- }
- },
- "required": [
- "sessionId",
- "windowStartsAt",
- "deadlineImmutable",
- "endsAt"
- ],
- "type": "object"
- },
- "id": {
- "type": "string"
- },
- "isTernary": {
- "type": "boolean"
- },
- "jurorTier": {
- "anyOf": [
- {
- "$ref": "#/$defs/ReputationTier"
- },
- {
- "type": "null"
- }
- ]
- },
- "language": {
- "type": [
- "string",
- "null"
- ]
- },
- "lifecycleStage": {
- "$ref": "#/$defs/MarketLifecycleStage"
- },
- "marketReference": {
- "pattern": "^mkt_[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}$",
- "type": "string"
- },
- "marketState": {
- "enum": [
- "open",
- "closed",
- "creator_proposal",
- "challenge",
- "human_voting",
- "council_review",
- "resolved",
- "void"
- ],
- "type": "string"
- },
- "marketType": {
- "type": "string"
- },
- "nextActionDeadline": {
- "anyOf": [
- {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "openTime": {
- "anyOf": [
- {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "outcome": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "outcomes": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "type": "string"
- },
- "pricePercent": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "label",
- "pricePercent"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "minItems": 2,
- "type": "array"
- },
- "prices": {
- "additionalProperties": false,
- "properties": {
- "outcome1": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "outcome2": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "outcome3": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- "pricingModel": {
- "type": [
- "string",
- "null"
- ]
- },
- "question": {
- "type": "string"
- },
- "resolutionCriteria": {
- "type": [
- "string",
- "null"
- ]
- },
- "resolutionSource": {
- "anyOf": [
- {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "resolutionTime": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "settlement": {
- "enum": [
- "onchain",
- "committed"
- ],
- "type": "string"
- },
- "sourceToken": {
- "additionalProperties": false,
- "properties": {
- "side": {
- "maximum": 1,
- "minimum": 0,
- "type": "integer"
- },
- "tokenId": {
- "type": "string"
- }
- },
- "required": [
- "tokenId",
- "side"
- ],
- "type": "object"
- },
- "stageDeadline": {
- "anyOf": [
- {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "supportsVoid": {
- "type": "boolean"
- },
- "tradingEndsAt": {
- "anyOf": [
- {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "volume": {
- "$ref": "#/$defs/WeiString"
- },
- "volume24h": {
- "$ref": "#/$defs/WeiString"
- },
- "volumePm": {
- "additionalProperties": false,
- "properties": {
- "last24hPm": {
- "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
- "type": "string"
- },
- "lifetimePm": {
- "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
- "type": "string"
- }
- },
- "required": [
- "lifetimePm",
- "last24hPm"
- ],
- "type": "object"
- }
- },
- "required": [
- "id",
- "address",
- "chainId",
- "question",
- "category",
- "marketState",
- "tradingEndsAt",
- "lifecycleStage",
- "stageDeadline",
- "isTernary",
- "outcome",
- "marketType",
- "finality",
- "pricingModel",
- "openTime",
- "closeTime",
- "resolutionTime",
- "creatorResolveBy",
- "challengeBy",
- "humanVote",
- "councilReviewEndsAt",
- "nextActionDeadline",
- "actions",
- "createdAt",
- "collateralToken",
- "language",
- "volume"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "nextCursor": {
- "type": [
- "string",
- "null"
- ]
- },
- "questions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "category": {
- "type": "string"
- },
- "endsAt": {
- "anyOf": [
- {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "marketAddress": {
- "anyOf": [
- {
- "$ref": "#/$defs/EvmAddress"
- },
- {
- "type": "null"
- }
- ]
- },
- "options": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "type": "string"
- },
- "price": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "label",
- "price"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "slug": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "format": "uri",
- "type": "string"
- },
- "volume24hUsd": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "slug",
- "title",
- "url",
- "category",
- "endsAt",
- "options",
- "volume24hUsd",
- "marketAddress"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "markets",
- "hasMore",
- "nextCursor"
- ],
- "type": "object"
-}
addedOutput schema / properties / result / anyOf
Added value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "markets": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/EvmAddress"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "chance": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "lifecycleStage": {
+ "$ref": "#/$defs/MarketLifecycleStage"
+ },
+ "question": {
+ "type": "string"
+ },
+ "tradingEndsAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "address",
+ "question",
+ "chance",
+ "lifecycleStage",
+ "tradingEndsAt"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "nextCursor": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "questions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "endsAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "options": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "price": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "label",
+ "price"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "slug": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "volume24hUsd": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "slug",
+ "title",
+ "endsAt",
+ "options",
+ "volume24hUsd"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "view": {
+ "const": "compact",
+ "type": "string"
+ }
+ },
+ "required": [
+ "view",
+ "markets",
+ "hasMore",
+ "nextCursor"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "type": "boolean"
+ },
+ "markets": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "actions": {
+ "additionalProperties": false,
+ "properties": {
+ "canChallenge": {
+ "type": "boolean"
+ },
+ "canClaim": {
+ "type": "boolean"
+ },
+ "canCreatorResolve": {
+ "type": "boolean"
+ },
+ "canVote": {
+ "type": "boolean"
+ },
+ "creatorAddress": {
+ "$ref": "#/$defs/EvmAddress"
+ },
+ "reason": {
+ "$ref": "#/$defs/ErrorReason"
+ }
+ },
+ "required": [
+ "canCreatorResolve",
+ "canChallenge",
+ "canVote",
+ "canClaim"
+ ],
+ "type": "object"
+ },
+ "address": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/EvmAddress"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "category": {
+ "enum": [
+ "CRYPTO",
+ "SPORTS",
+ "POLITICS",
+ "ELECTIONS",
+ "FINANCE",
+ "TECH",
+ "WORLD",
+ "ECONOMY",
+ "CULTURE",
+ "WEATHER",
+ "SCIENCE_HEALTH",
+ "AI",
+ "GAMING",
+ "BUSINESS",
+ "FASHION",
+ "MOVIES_TV",
+ "MUSIC",
+ "SHOPPING",
+ "BEAUTY",
+ "TRAVEL",
+ "CLIMATE",
+ "DAILY_LIFE",
+ "LOCAL",
+ "SOCIAL",
+ "FUN",
+ "OTHER"
+ ],
+ "type": "string",
+ "x-extensible-enum": true
+ },
+ "chainId": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "challengeBy": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "closeTime": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "collateralToken": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/EvmAddress"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "councilReviewEndsAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "createdAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "createdBy": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/EvmAddress"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "creatorAgentId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "creatorResolveBy": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "creatorTier": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/ReputationTier"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "finality": {
+ "enum": [
+ "pending",
+ "finalized"
+ ],
+ "type": "string"
+ },
+ "geo": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "countryCode": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "derivation": {
+ "anyOf": [
+ {
+ "enum": [
+ "explicit",
+ "entity_hq"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "lat": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "lon": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "place": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "scope": {
+ "enum": [
+ "city",
+ "region",
+ "country",
+ "global"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "scope",
+ "countryCode",
+ "place",
+ "lat",
+ "lon",
+ "derivation"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "humanVote": {
+ "additionalProperties": false,
+ "properties": {
+ "deadlineImmutable": {
+ "const": true,
+ "type": "boolean"
+ },
+ "endsAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sessionId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "windowStartsAt": {
+ "const": "session_open",
+ "type": "string"
+ }
+ },
+ "required": [
+ "sessionId",
+ "windowStartsAt",
+ "deadlineImmutable",
+ "endsAt"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "type": "string"
+ },
+ "isTernary": {
+ "type": "boolean"
+ },
+ "jurorTier": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/ReputationTier"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "language": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "lifecycleStage": {
+ "$ref": "#/$defs/MarketLifecycleStage"
+ },
+ "marketReference": {
+ "pattern": "^mkt_[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}$",
+ "type": "string"
+ },
+ "marketState": {
+ "enum": [
+ "open",
+ "closed",
+ "creator_proposal",
+ "challenge",
+ "human_voting",
+ "council_review",
+ "resolved",
+ "void"
+ ],
+ "type": "string"
+ },
+ "marketType": {
+ "type": "string"
+ },
+ "nextActionDeadline": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "openTime": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "outcome": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "outcomes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "pricePercent": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "label",
+ "pricePercent"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "minItems": 2,
+ "type": "array"
+ },
+ "prices": {
+ "additionalProperties": false,
+ "properties": {
+ "outcome1": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "outcome2": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "outcome3": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "pricingModel": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "question": {
+ "type": "string"
+ },
+ "resolutionCriteria": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "resolutionSource": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "resolutionTime": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "settlement": {
+ "enum": [
+ "onchain",
+ "committed"
+ ],
+ "type": "string"
+ },
+ "sourceToken": {
+ "additionalProperties": false,
+ "properties": {
+ "side": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "tokenId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "tokenId",
+ "side"
+ ],
+ "type": "object"
+ },
+ "stageDeadline": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "supportsVoid": {
+ "type": "boolean"
+ },
+ "tradingEndsAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "volume": {
+ "$ref": "#/$defs/WeiString"
+ },
+ "volume24h": {
+ "$ref": "#/$defs/WeiString"
+ },
+ "volumePm": {
+ "additionalProperties": false,
+ "properties": {
+ "last24hPm": {
+ "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
+ "type": "string"
+ },
+ "lifetimePm": {
+ "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "lifetimePm",
+ "last24hPm"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "id",
+ "address",
+ "chainId",
+ "question",
+ "category",
+ "marketState",
+ "tradingEndsAt",
+ "lifecycleStage",
+ "stageDeadline",
+ "isTernary",
+ "outcome",
+ "marketType",
+ "finality",
+ "pricingModel",
+ "openTime",
+ "closeTime",
+ "resolutionTime",
+ "creatorResolveBy",
+ "challengeBy",
+ "humanVote",
+ "councilReviewEndsAt",
+ "nextActionDeadline",
+ "actions",
+ "createdAt",
+ "collateralToken",
+ "language",
+ "volume"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "nextCursor": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "questions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "category": {
+ "type": "string"
+ },
+ "endsAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "marketAddress": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/EvmAddress"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "options": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "price": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "label",
+ "price"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "slug": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "volume24hUsd": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "slug",
+ "title",
+ "url",
+ "category",
+ "endsAt",
+ "options",
+ "volume24hUsd",
+ "marketAddress"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "markets",
+ "hasMore",
+ "nextCursor"
+ ],
+ "type": "object"
+ }
+]