Dream Sports · Schema

CTAListResponse

CompanySports TechnologyFantasy SportsOpen SourceDeveloper ToolsPlatform EngineeringAuthenticationOpenID ConnectMobileReact NativeDevOpsObservabilityTest ManagementOTA UpdatesFeature FlagsIndiaMCPAgent-Native

Properties

Name Type Description
ctas array
totalEntries integer
totalPages integer
pageNumber integer
pageSize integer
statusWiseCount object
View JSON Schema on GitHub

JSON Schema

dream-sports-ctalist-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dream-sports/json-schema/dream-sports-ctalist-response-schema.json",
  "title": "CTAListResponse",
  "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/CTAListResponse",
  "type": "object",
  "properties": {
    "ctas": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CTA"
      }
    },
    "totalEntries": {
      "type": "integer",
      "format": "int32"
    },
    "totalPages": {
      "type": "integer",
      "format": "int32"
    },
    "pageNumber": {
      "type": "integer",
      "format": "int32"
    },
    "pageSize": {
      "type": "integer",
      "format": "int32"
    },
    "statusWiseCount": {
      "$ref": "#/$defs/StatusWiseCount"
    }
  },
  "$defs": {
    "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"
        }
      }
    },
    "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"
        }
      }
    },
    "StatusWiseCount": {
      "type": "object",
      "properties": {
        "draft": {
          "type": "object"
        },
        "paused": {
          "type": "object"
        },
        "live": {
          "type": "object"
        },
        "scheduled": {
          "type": "object"
        },
        "concluded": {
          "type": "object"
        },
        "terminated": {
          "type": "object"
        }
      }
    },
    "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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/dream-sports-ctalist-response"
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.