PostHog · Schema

FeatureFlagFilterPropertySemverSchema

A/B TestingAnalyticsFeature FlagsOpen-SourceProduct AnalyticsSession Recording

Properties

Name Type Description
key string Property key used in this feature flag condition.
type object Property filter type. Common values are 'person' and 'cohort'. * `cohort` - cohort * `person` - person * `group` - group
cohort_name string Resolved cohort name for cohort-type filters.
group_type_index integer Group type index when using group-based filters.
operator object Semantic version comparison operator. * `semver_gt` - semver_gt * `semver_gte` - semver_gte * `semver_lt` - semver_lt * `semver_lte` - semver_lte * `semver_eq` - semver_eq * `semver_neq` - semver_neq
value string Semantic version string.
View JSON Schema on GitHub

JSON Schema

posthog-featureflagfilterpropertysemverschema-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FeatureFlagFilterPropertySemverSchema",
  "title": "FeatureFlagFilterPropertySemverSchema",
  "type": "object",
  "properties": {
    "key": {
      "type": "string",
      "description": "Property key used in this feature flag condition."
    },
    "type": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PropertyGroupTypeEnum"
        }
      ],
      "description": "Property filter type. Common values are 'person' and 'cohort'.\n\n* `cohort` - cohort\n* `person` - person\n* `group` - group"
    },
    "cohort_name": {
      "type": "string",
      "nullable": true,
      "description": "Resolved cohort name for cohort-type filters."
    },
    "group_type_index": {
      "type": "integer",
      "nullable": true,
      "description": "Group type index when using group-based filters."
    },
    "operator": {
      "allOf": [
        {
          "$ref": "#/components/schemas/FeatureFlagFilterPropertySemverSchemaOperatorEnum"
        }
      ],
      "description": "Semantic version comparison operator.\n\n* `semver_gt` - semver_gt\n* `semver_gte` - semver_gte\n* `semver_lt` - semver_lt\n* `semver_lte` - semver_lte\n* `semver_eq` - semver_eq\n* `semver_neq` - semver_neq\n* `semver_tilde` - semver_tilde\n* `semver_caret` - semver_caret\n* `semver_wildcard` - semver_wildcard"
    },
    "value": {
      "type": "string",
      "description": "Semantic version string."
    }
  },
  "required": [
    "key",
    "operator",
    "value"
  ]
}

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/posthog-featureflagfilterpropertysemverschema"
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 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.