Atlassian · Schema

JiraExpressionValidationError

Details about syntax and type errors. The error details apply to the entire expression, unless the object includes: * `line` and `column` * `expression`

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
column integer The text column in which the error occurred.
expression string The part of the expression in which the error occurred.
line integer The text line in which the error occurred.
message string Details about the error.
type string The error type.
View JSON Schema on GitHub

JSON Schema

atlassian-jiraexpressionvalidationerror-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/JiraExpressionValidationError",
  "title": "JiraExpressionValidationError",
  "additionalProperties": false,
  "description": "Details about syntax and type errors. The error details apply to the entire expression, unless the object includes:\n\n *  `line` and `column`\n *  `expression`",
  "properties": {
    "column": {
      "description": "The text column in which the error occurred.",
      "format": "int32",
      "type": "integer"
    },
    "expression": {
      "description": "The part of the expression in which the error occurred.",
      "type": "string"
    },
    "line": {
      "description": "The text line in which the error occurred.",
      "format": "int32",
      "type": "integer"
    },
    "message": {
      "description": "Details about the error.",
      "example": "!, -, typeof, (, IDENTIFIER, null, true, false, NUMBER, STRING, TEMPLATE_LITERAL, new, [ or { expected, > encountered.",
      "type": "string"
    },
    "type": {
      "description": "The error type.",
      "enum": [
        "syntax",
        "type",
        "other"
      ],
      "type": "string"
    }
  },
  "required": [
    "message",
    "type"
  ],
  "type": "object"
}