{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-crosswork/json-schema/cisco-crosswork-robotctl-api-health-app-srv-processes-schema.json",
  "title": "robotctl_apiHealthAppSrvProcesses",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-crosswork-crosswork-health-api-api-openapi.yml#/components/schemas/robotctl_apiHealthAppSrvProcesses",
  "type": "object",
  "properties": {
    "Result": {
      "$ref": "#/$defs/robotctl_apiResultValue"
    },
    "Description": {
      "type": "string",
      "title": "Additional info for the service status response"
    },
    "ProcessList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/robotctl_apisrvProcessDetail"
      },
      "title": "List of processes for the service"
    }
  },
  "$defs": {
    "robotctl_apiResultValue": {
      "type": "string",
      "enum": [
        "NOOP",
        "SUCCESS",
        "FAILURE"
      ],
      "default": "NOOP"
    },
    "robotctl_apiSupervisordState": {
      "type": "string",
      "enum": [
        "SupRunning",
        "SupFatal",
        "SupRestarting",
        "SupShutdown"
      ],
      "default": "SupRunning",
      "title": "- SupRunning: supervisord API codes"
    },
    "robotctl_apisrvProcessDetail": {
      "type": "object",
      "properties": {
        "ProcessName": {
          "type": "string"
        },
        "Pod": {
          "type": "string"
        },
        "State": {
          "$ref": "#/$defs/robotctl_apiSupervisordState"
        },
        "Pid": {
          "type": "integer",
          "format": "int32"
        },
        "Uptime": {
          "type": "string"
        },
        "Issue": {
          "type": "string"
        },
        "Recommendation": {
          "type": "string"
        },
        "StatusString": {
          "type": "string"
        },
        "Time": {
          "type": "string"
        }
      }
    }
  }
}