Split · Schema

Matcher

A matcher defining a single matching criterion based on attributes, segments, or key values.

ExperimentationFeature FlagsFeature ManagementRolloutsSDK

Properties

Name Type Description
type string Type of matching to perform
negate boolean Whether to negate the matcher result
attribute string The attribute name to match against. Required for attribute-based matchers.
strings array String values used by string-based matchers
number integer Numeric value used by numeric matchers
date integer Unix timestamp value used by date-based matchers
between object Range values for the BETWEEN matcher
depends object Dependency configuration for the DEPENDS_ON matcher
View JSON Schema on GitHub

JSON Schema

split-matcher-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Matcher",
  "title": "Matcher",
  "type": "object",
  "description": "A matcher defining a single matching criterion based on attributes, segments, or key values.",
  "properties": {
    "type": {
      "type": "string",
      "description": "Type of matching to perform",
      "enum": [
        "IN_SEGMENT",
        "WHITELIST",
        "ALL_KEYS",
        "EQUAL_TO",
        "GREATER_THAN_OR_EQUAL_TO",
        "LESS_THAN_OR_EQUAL_TO",
        "BETWEEN",
        "CONTAINS_STRING",
        "STARTS_WITH",
        "ENDS_WITH",
        "MATCHES_STRING",
        "IN_LIST_STRING",
        "EQUAL_TO_SET",
        "CONTAINS_ALL_OF_SET",
        "CONTAINS_ANY_OF_SET",
        "PART_OF_SET",
        "EQUAL_TO_BOOLEAN",
        "DEPENDS_ON"
      ]
    },
    "negate": {
      "type": "boolean",
      "description": "Whether to negate the matcher result"
    },
    "attribute": {
      "type": "string",
      "description": "The attribute name to match against. Required for attribute-based matchers."
    },
    "strings": {
      "type": "array",
      "description": "String values used by string-based matchers",
      "items": {
        "type": "string"
      }
    },
    "number": {
      "type": "integer",
      "description": "Numeric value used by numeric matchers"
    },
    "date": {
      "type": "integer",
      "format": "int64",
      "description": "Unix timestamp value used by date-based matchers"
    },
    "between": {
      "type": "object",
      "description": "Range values for the BETWEEN matcher",
      "properties": {
        "from": {
          "type": "integer",
          "description": "Lower bound of the range"
        },
        "to": {
          "type": "integer",
          "description": "Upper bound of the range"
        }
      }
    },
    "depends": {
      "type": "object",
      "description": "Dependency configuration for the DEPENDS_ON matcher",
      "properties": {
        "splitName": {
          "type": "string",
          "description": "Name of the feature flag to depend on"
        },
        "treatments": {
          "type": "array",
          "description": "Treatments that must be returned by the dependency",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}

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/split-matcher"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.