Raw schema
{
"type": "object",
"properties": {
"market": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"description": "Market slug from list_markets, for example bitcoin"
},
"durations": {
"description": "Exact duration labels from list_markets, for example [\"1 hour\", \"6 hours\"]",
"minItems": 1,
"maxItems": 6,
"type": "array",
"items": {
"type": "string",
"minLength": 2,
"maxLength": 24,
"pattern": "^\\d{1,5}\\s*[A-Za-z]{1,8}$"
}
},
"minDuration": {
"description": "Shortest duration to include, for example \"1 hour\"",
"type": "string",
"minLength": 2,
"maxLength": 24,
"pattern": "^\\d{1,5}\\s*[A-Za-z]{1,8}$"
},
"maxDuration": {
"description": "Longest duration to include, for example \"1 day\"",
"type": "string",
"minLength": 2,
"maxLength": 24,
"pattern": "^\\d{1,5}\\s*[A-Za-z]{1,8}$"
},
"maxDurationExclusive": {
"description": "true for \"less than maxDuration\"; default includes maxDuration",
"type": "boolean"
},
"direction": {
"description": "Default both",
"type": "string",
"enum": [
"up",
"down",
"both"
]
},
"minProbabilityPercent": {
"description": "Only forecasts whose probability (Kunkafa's confidence) is at least this",
"type": "number",
"minimum": 0,
"maximum": 100
},
"maxProbabilityPercent": {
"description": "Only forecasts whose probability is at most this",
"type": "number",
"minimum": 0,
"maximum": 100
},
"minTargetPercent": {
"description": "Only targets at least this far from the reference price, in percent",
"type": "number",
"minimum": 0,
"maximum": 10000
},
"maxTargetPercent": {
"description": "Only targets at most this far from the reference price, in percent",
"type": "number",
"minimum": 0,
"maximum": 10000
}
},
"required": [
"market"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}