{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/oracle/main/json-schema/oracle-work-request-error-collection-schema.json",
  "title": "WorkRequestErrorCollection",
  "description": "Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-accessgovernancecp-api-openapi.yml#/components/schemas/WorkRequestErrorCollection",
  "properties": {
    "items": {
      "description": "A list of workRequestError objects.",
      "items": {
        "$ref": "#/$defs/WorkRequestError"
      },
      "type": "array"
    }
  },
  "required": [
    "items"
  ],
  "type": "object",
  "$defs": {
    "WorkRequestError": {
      "description": "An error encountered while executing a work request.",
      "properties": {
        "code": {
          "description": "A machine-usable code for the error that occured. Error codes are listed on \n<a href=\"/iaas/Content/API/References/apierrors.htm\">API Errors Landing Page</a>.\n",
          "type": "string"
        },
        "message": {
          "description": "A human readable description of the issue encountered.",
          "type": "string"
        },
        "timestamp": {
          "description": "The time the error occured. An RFC3339 formatted datetime string.",
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "code",
        "message",
        "timestamp"
      ]
    }
  }
}