Shareworks · Schema

Error Response

Equity CompensationStock OptionsRSUESPPEmployee EquityFinancial ServicesMorgan StanleyEquity AdministrationPrivate CompaniesPublic Companies

Properties

Name Type Description
code string Code representing the type of error
message string Message describing the error
errors array List of all further error details, usually due to validation checks
errorId string Identifier for the error
View JSON Schema on GitHub

JSON Schema

RestApiErrorResponse.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/shareworks/main/json-schema/RestApiErrorResponse.json",
  "title": "Error Response",
  "required": [
    "code",
    "errorId",
    "message"
  ],
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Code representing the type of error"
    },
    "message": {
      "type": "string",
      "description": "Message describing the error"
    },
    "errors": {
      "type": "array",
      "description": "List of all further error details, usually due to validation checks",
      "items": {
        "$ref": "#/components/schemas/ErrorWithCode"
      }
    },
    "errorId": {
      "type": "string",
      "description": "Identifier for the error"
    }
  }
}