launchdarkly · Schema

Target

An individual targeting entry for a specific variation.

Properties

Name Type Description
values array The list of context keys targeted.
variation integer The variation index to serve to these targets.
contextKind string The context kind for this target.
View JSON Schema on GitHub

JSON Schema

launchdarkly-target-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Target",
  "title": "Target",
  "type": "object",
  "description": "An individual targeting entry for a specific variation.",
  "properties": {
    "values": {
      "type": "array",
      "description": "The list of context keys targeted.",
      "items": {
        "type": "string"
      }
    },
    "variation": {
      "type": "integer",
      "description": "The variation index to serve to these targets."
    },
    "contextKind": {
      "type": "string",
      "description": "The context kind for this target."
    }
  }
}