{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FeatureFlagCreate",
  "title": "FeatureFlagCreate",
  "type": "object",
  "description": "Request body for creating a new feature flag",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the feature flag. Must be unique within the workspace.",
      "pattern": "^[a-zA-Z0-9_-]+$",
      "maxLength": 256
    },
    "description": {
      "type": "string",
      "description": "Description of the feature flag"
    },
    "tags": {
      "type": "array",
      "description": "Tags to associate with the feature flag",
      "items": {
        "$ref": "#/components/schemas/Tag"
      }
    }
  }
}