Dream Sports · Schema
CTA
CompanySports TechnologyFantasy SportsOpen SourceDeveloper ToolsPlatform EngineeringAuthenticationOpenID ConnectMobileReact NativeDevOpsObservabilityTest ManagementOTA UpdatesFeature FlagsIndiaMCPAgent-Native
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | |
| rule | object | |
| ctaStatus | object | |
| name | string | |
| description | string | |
| tags | array | |
| team | string | |
| behaviourTags | array | |
| startTime | integer | |
| endTime | integer | |
| createdAt | integer | |
| createdBy | string | |
| lastUpdatedAt | integer | |
| lastUpdatedBy | string | |
| tenantId | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/dream-sports/json-schema/dream-sports-cta-schema.json",
"title": "CTA",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/dream-sports-ctas-api-openapi.yml#/components/schemas/CTA",
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"rule": {
"$ref": "#/$defs/Rule"
},
"ctaStatus": {
"$ref": "#/$defs/CTAStatus"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"team": {
"type": "string"
},
"behaviourTags": {
"type": "array",
"items": {
"type": "string"
}
},
"startTime": {
"type": "integer",
"format": "int64"
},
"endTime": {
"type": "integer",
"format": "int64"
},
"createdAt": {
"type": "integer",
"format": "int64"
},
"createdBy": {
"type": "string"
},
"lastUpdatedAt": {
"type": "integer",
"format": "int64"
},
"lastUpdatedBy": {
"type": "string"
},
"tenantId": {
"type": "string"
}
},
"$defs": {
"CTAStatus": {
"type": "string",
"enum": [
"DRAFT",
"SCHEDULED",
"LIVE",
"PAUSED",
"CONCLUDED",
"TERMINATED"
]
},
"CohortEligibility": {
"type": "object",
"description": "Cohort eligibility configuration for CTAs. IMPORTANT: User-cohorts system is not currently supported. Always use includes: [\"all\"] (single cohort) or includes: [\"all\"] (list), and keep excludes: [] empty.",
"required": [
"includes",
"excludes"
],
"properties": {
"includes": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of cohort names to include. Must be [\"all\"] since user-cohorts system is not currently supported.",
"minItems": 1
},
"excludes": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of cohort names to exclude. Must always be empty [] since user-cohorts system is not currently supported."
}
}
},
"Filters": {
"type": "object",
"required": [
"operator",
"filter"
],
"properties": {
"operator": {
"type": "string"
},
"filter": {
"type": "array",
"items": {}
}
}
},
"Frequency": {
"type": "object",
"properties": {
"session": {
"$ref": "#/$defs/SessionFrequency"
},
"window": {
"$ref": "#/$defs/WindowFrequency"
},
"lifeSpan": {
"$ref": "#/$defs/LifespanFrequency"
}
}
},
"GroupByConfig": {
"type": "object",
"properties": {
"maxActiveStateMachineCount": {
"type": "integer",
"format": "int32"
},
"groupByKeys": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"LifespanFrequency": {
"type": "object",
"required": [
"limit"
],
"properties": {
"limit": {
"type": "integer",
"format": "int32"
}
}
},
"Rule": {
"type": "object",
"required": [
"cohortEligibility",
"stateToAction",
"stateTransition",
"priority",
"actions",
"frequency"
],
"properties": {
"cohortEligibility": {
"$ref": "#/$defs/CohortEligibility"
},
"stateToAction": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"minProperties": 1
},
"resetStates": {
"type": "array",
"items": {
"type": "string"
}
},
"resetCTAonFirstLaunch": {
"type": "boolean"
},
"contextParams": {
"type": "array",
"items": {
"type": "string"
}
},
"stateTransition": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"$ref": "#/$defs/StateTransitionCondition"
}
}
}
},
"groupByConfig": {
"$ref": "#/$defs/GroupByConfig"
},
"priority": {
"type": "integer",
"format": "int32"
},
"stateMachineTTL": {
"type": "integer",
"format": "int64"
},
"ctaValidTill": {
"type": "integer",
"format": "int64"
},
"actions": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
}
},
"frequency": {
"$ref": "#/$defs/Frequency"
}
}
},
"SessionFrequency": {
"type": "object",
"required": [
"limit"
],
"properties": {
"limit": {
"type": "integer",
"format": "int32"
}
}
},
"StateTransitionCondition": {
"type": "object",
"required": [
"transitionTo",
"filters"
],
"properties": {
"transitionTo": {
"type": "string"
},
"filters": {
"$ref": "#/$defs/Filters"
}
}
},
"WindowFrequency": {
"type": "object",
"required": [
"limit",
"unit",
"value"
],
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"unit": {
"$ref": "#/$defs/WindowFrequencyUnit"
},
"value": {
"type": "integer",
"format": "int32"
}
}
},
"WindowFrequencyUnit": {
"type": "string",
"enum": [
"days",
"hours",
"minutes",
"seconds"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/dream-sports-cta"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.