changedOutput schema / $defs / AgentForecastBatchResponse / properties / results / items / properties / forecast / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "duplicate": {
- "type": "boolean"
- },
- "forecastAt": {
- "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"
- },
- "id": {
- "type": "string"
- },
- "market": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "pattern": "^0x[a-fA-F0-9]{40}$",
- "type": "string"
- },
- "chainId": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "address",
- "chainId"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "option": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "conditionId": {
- "type": "string"
- },
- "eventId": {
- "type": "string"
- }
- },
- "required": [
- "eventId",
- "conditionId"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "priceAtForecast": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "probability": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "id",
- "probability",
- "priceAtForecast",
- "forecastAt",
- "duplicate",
- "market",
- "option"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "contest": {
+ "additionalProperties": false,
+ "properties": {
+ "category": {
+ "anyOf": [
+ {
+ "enum": [
+ "politics",
+ "economy",
+ "tech",
+ "culture",
+ "sports"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "counts": {
+ "enum": [
+ "pending_price",
+ "not_counted"
+ ],
+ "type": "string"
+ },
+ "forecastsLeftToday": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "locksAt": {
+ "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"
+ }
+ ]
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "resetsAt": {
+ "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"
+ },
+ "scoredWhen": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "counts",
+ "reason",
+ "category",
+ "forecastsLeftToday",
+ "resetsAt",
+ "locksAt",
+ "scoredWhen"
+ ],
+ "type": "object"
+ },
+ "duplicate": {
+ "type": "boolean"
+ },
+ "forecastAt": {
+ "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"
+ },
+ "id": {
+ "type": "string"
+ },
+ "market": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "pattern": "^0x[a-fA-F0-9]{40}$",
+ "type": "string"
+ },
+ "chainId": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "address",
+ "chainId"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "option": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "conditionId": {
+ "type": "string"
+ },
+ "eventId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "eventId",
+ "conditionId"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "priceAtForecast": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "probability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "id",
+ "probability",
+ "priceAtForecast",
+ "forecastAt",
+ "duplicate",
+ "market",
+ "option"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]