{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-catalog-node-input-schema.json",
  "title": "CatalogNodeInput",
  "description": "Input for creating or updating a catalog node",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optimizely-catalog-nodes-api-openapi.yml#/components/schemas/CatalogNodeInput",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Unique code for the node"
    },
    "name": {
      "type": "string",
      "description": "Display name of the node"
    },
    "parent_node_code": {
      "type": "string",
      "description": "Code of the parent node"
    },
    "is_active": {
      "type": "boolean",
      "description": "Whether the node is active"
    },
    "sort_order": {
      "type": "integer",
      "description": "Sort order for display"
    }
  }
}