launchdarkly · Schema

Statement

A policy statement controlling resource access or event filtering.

Properties

Name Type Description
effect string Whether this statement allows or denies the action.
resources array Resource specifiers this statement applies to.
notResources array Resource specifiers this statement does not apply to.
actions array The actions this statement applies to.
notActions array The actions this statement does not apply to.
View JSON Schema on GitHub

JSON Schema

launchdarkly-statement-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Statement",
  "title": "Statement",
  "type": "object",
  "description": "A policy statement controlling resource access or event filtering.",
  "properties": {
    "effect": {
      "type": "string",
      "description": "Whether this statement allows or denies the action.",
      "enum": [
        "allow",
        "deny"
      ]
    },
    "resources": {
      "type": "array",
      "description": "Resource specifiers this statement applies to.",
      "items": {
        "type": "string"
      }
    },
    "notResources": {
      "type": "array",
      "description": "Resource specifiers this statement does not apply to.",
      "items": {
        "type": "string"
      }
    },
    "actions": {
      "type": "array",
      "description": "The actions this statement applies to.",
      "items": {
        "type": "string"
      }
    },
    "notActions": {
      "type": "array",
      "description": "The actions this statement does not apply to.",
      "items": {
        "type": "string"
      }
    }
  }
}