DocSpring · Schema

error_or_multiple_errors_response

PDFDocument GenerationPDF TemplatesE-SignaturesFormsHTML to PDFDocument Automation

Properties

Name Type Description
status string
error string Single error message (when only one error occurred)
errors array Array of error messages (when multiple validation errors occurred)
View JSON Schema on GitHub

JSON Schema

error_or_multiple_errors_response.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/docspring/main/json-schema/error_or_multiple_errors_response.json",
  "title": "error_or_multiple_errors_response",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "error"
      ]
    },
    "error": {
      "type": "string",
      "description": "Single error message (when only one error occurred)"
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Array of error messages (when multiple validation errors occurred)"
    }
  },
  "required": [
    "status"
  ],
  "additionalProperties": false
}