{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/talend/json-schema/talend-raw-component-metric-page-schema.json",
  "title": "RawComponentMetricPage",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/talend-monitoring-api-openapi.yml#/components/schemas/RawComponentMetricPage",
  "type": "object",
  "required": [
    "items",
    "limit",
    "offset",
    "total"
  ],
  "properties": {
    "items": {
      "type": "array",
      "description": "Current page data",
      "items": {
        "$ref": "#/$defs/RawComponentMetric"
      }
    },
    "limit": {
      "type": "integer",
      "format": "int32",
      "description": "Page size"
    },
    "offset": {
      "type": "integer",
      "format": "int32",
      "description": "Page offset"
    },
    "total": {
      "type": "integer",
      "format": "int32",
      "description": "Total number"
    }
  },
  "$defs": {
    "RawComponentMetric": {
      "type": "object",
      "required": [
        "component_start_time_seconds",
        "connector_id",
        "connector_label",
        "connector_type",
        "engine_id",
        "father_pid",
        "job_name",
        "pid",
        "process_id",
        "root_pid",
        "task_execution_id",
        "task_id",
        "workspace_id"
      ],
      "properties": {
        "engine_id": {
          "type": "string",
          "description": "Engine ID"
        },
        "workspace_id": {
          "type": "string",
          "description": "Workspace ID"
        },
        "task_id": {
          "type": "string",
          "description": "Task ID"
        },
        "task_execution_id": {
          "type": "string",
          "description": "Task execution ID"
        },
        "operator": {
          "type": "string",
          "description": "Operator"
        },
        "operator_type": {
          "type": "string",
          "description": "Operator type",
          "enum": [
            "HUMAN",
            "SERVICE"
          ]
        },
        "process_id": {
          "type": "string",
          "description": "Process ID"
        },
        "job_name": {
          "type": "string",
          "description": "Job name"
        },
        "pid": {
          "type": "string",
          "description": "PID"
        },
        "father_pid": {
          "type": "string",
          "description": "Father PID"
        },
        "root_pid": {
          "type": "string",
          "description": "Root PID"
        },
        "connector_type": {
          "type": "string",
          "description": "Connector type"
        },
        "connector_label": {
          "type": "string",
          "description": "Connector label"
        },
        "connector_id": {
          "type": "string",
          "description": "Connector ID"
        },
        "target_connector_type": {
          "type": "string",
          "description": "Target connector type"
        },
        "target_label": {
          "type": "string",
          "description": "Target connector label"
        },
        "target_id": {
          "type": "string",
          "description": "Target connector ID"
        },
        "connection_type": {
          "type": "string",
          "description": "Connection type"
        },
        "connection_name": {
          "type": "string",
          "description": "Connection name"
        },
        "component_start_time_seconds": {
          "type": "number",
          "description": "Component start time seconds"
        },
        "component_connection_rows_total": {
          "type": "number",
          "description": "Component connection rows total"
        },
        "component_execution_duration_milliseconds": {
          "type": "number",
          "description": "Component execution duration milliseconds"
        },
        "stacktrace": {
          "type": "string",
          "description": "Contains the component stacktrace  (only if an error occurs while executing the component)"
        }
      }
    }
  }
}