{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/viridi-parente/main/json-schema/viridi-parente-rule-chain-output-labels-usage-schema.json",
  "title": "RuleChainOutputLabelsUsage",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/viridi-parente-rule-chain-controller-api-openapi.yml#/components/schemas/RuleChainOutputLabelsUsage",
  "properties": {
    "ruleChainId": {
      "$ref": "#/$defs/RuleChainId",
      "description": "Rule Chain Id",
      "readOnly": true
    },
    "ruleNodeId": {
      "$ref": "#/$defs/RuleNodeId",
      "description": "Rule Node Id",
      "readOnly": true
    },
    "ruleChainName": {
      "type": "string",
      "description": "Rule Chain Name",
      "readOnly": true
    },
    "ruleNodeName": {
      "type": "string",
      "description": "Rule Node Name",
      "readOnly": true
    },
    "labels": {
      "type": "array",
      "description": "Output labels",
      "items": {
        "type": "string"
      },
      "readOnly": true,
      "uniqueItems": true
    }
  },
  "required": [
    "labels",
    "ruleChainId",
    "ruleChainName",
    "ruleNodeId",
    "ruleNodeName"
  ],
  "$defs": {
    "RuleChainId": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "ID of the entity, time-based UUID v1"
        },
        "entityType": {
          "type": "string",
          "description": "string",
          "enum": [
            "RULE_CHAIN"
          ]
        }
      },
      "required": [
        "entityType",
        "id"
      ]
    },
    "RuleNodeId": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "ID of the entity, time-based UUID v1"
        },
        "entityType": {
          "type": "string",
          "description": "string",
          "enum": [
            "RULE_NODE"
          ]
        }
      },
      "required": [
        "entityType",
        "id"
      ]
    }
  }
}