Dream Sports · Schema

BehaviourTagCreateRequest

Request to create a new Behaviour Tag

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

Properties

Name Type Description
behaviourTagName string Name of the Behaviour Tag
description string Description of the Behaviour Tag
exposureRule object Exposure rules defining when this behaviour tag applies to users. Includes session, window, and lifespan frequency limits.
ctaRelation object CTA relation rules defining which CTAs are shown/hidden for this behaviour tag. shownCta defines which CTAs to show (rule: LIST/ANY/NONE), hideCta defines which CTAs to hide (rule: LIST/ANY/NONE).
linkedCtas array Set of CTA IDs linked to this behaviour tag
View JSON Schema on GitHub

JSON Schema

dream-sports-behaviour-tag-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dream-sports/json-schema/dream-sports-behaviour-tag-create-request-schema.json",
  "title": "BehaviourTagCreateRequest",
  "description": "Request to create a new Behaviour Tag",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dream-sports-behaviour-tags-api-openapi.yml#/components/schemas/BehaviourTagCreateRequest",
  "type": "object",
  "required": [
    "behaviourTagName",
    "exposureRule",
    "ctaRelation"
  ],
  "properties": {
    "behaviourTagName": {
      "type": "string",
      "description": "Name of the Behaviour Tag"
    },
    "description": {
      "type": "string",
      "description": "Description of the Behaviour Tag"
    },
    "exposureRule": {
      "description": "Exposure rules defining when this behaviour tag applies to users. Includes session, window, and lifespan frequency limits.",
      "type": "object",
      "$ref": "#/$defs/ExposureRule"
    },
    "ctaRelation": {
      "description": "CTA relation rules defining which CTAs are shown/hidden for this behaviour tag. shownCta defines which CTAs to show (rule: LIST/ANY/NONE), hideCta defines which CTAs to hide (rule: LIST/ANY/NONE).",
      "type": "object",
      "$ref": "#/$defs/CTARelation"
    },
    "linkedCtas": {
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string"
      },
      "description": "Set of CTA IDs linked to this behaviour tag"
    }
  },
  "$defs": {
    "CTARelation": {
      "type": "object",
      "properties": {
        "shownCta": {
          "$ref": "#/$defs/CtaRelationRule"
        },
        "hideCta": {
          "$ref": "#/$defs/CtaRelationRule"
        }
      }
    },
    "CtaRelationRule": {
      "type": "object",
      "properties": {
        "rule": {
          "$ref": "#/$defs/CtaRelationRuleTypes"
        },
        "ctaList": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "type": "string"
          }
        }
      }
    },
    "CtaRelationRuleTypes": {
      "type": "string",
      "enum": [
        "ANY",
        "LIST",
        "REST"
      ]
    },
    "ExposureRule": {
      "type": "object",
      "properties": {
        "session": {
          "$ref": "#/$defs/SessionFrequency"
        },
        "window": {
          "$ref": "#/$defs/WindowFrequency"
        },
        "lifespan": {
          "$ref": "#/$defs/LifespanFrequency"
        }
      }
    },
    "LifespanFrequency": {
      "type": "object",
      "required": [
        "limit"
      ],
      "properties": {
        "limit": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "SessionFrequency": {
      "type": "object",
      "required": [
        "limit"
      ],
      "properties": {
        "limit": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "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-behaviour-tag-create-request"
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.