{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-crosswork/json-schema/cisco-crosswork-rpc-generic-response-schema.json",
  "title": "rpc.GenericResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-crosswork-workers-api-openapi.yml#/components/schemas/rpc.GenericResponse",
  "type": "object",
  "properties": {
    "errorCode": {
      "$ref": "#/$defs/github-hyc_scm_engit_cisco_com_CWM_cwm-x24_services_worker-manager-service-dynamic_rpc.ErrorCode"
    },
    "message": {
      "description": "Message, returned if ErrorCode not OK",
      "type": "string"
    }
  },
  "$defs": {
    "github-hyc_scm_engit_cisco_com_CWM_cwm-x24_services_worker-manager-service-dynamic_rpc.ErrorCode": {
      "type": "integer",
      "enum": [
        0,
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10
      ],
      "x-enum-varnames": [
        "ErrorCode_OK",
        "ErrorCode_UNKNOWN",
        "ErrorCode_INVALID_ARGUMENTS",
        "ErrorCode_NOT_FOUND",
        "ErrorCode_ALREADY_EXISTS",
        "ErrorCode_PERMISSION_DENIED",
        "ErrorCode_UNAUTHENTICATED",
        "ErrorCode_FAILED",
        "ErrorCode_ALREADY_RUNNING",
        "ErrorCode_ALREADY_STOPPED",
        "ErrorCode_TIMED_OUT"
      ],
      "description": "Error Code."
    }
  }
}