Dynatrace · JSON Structure

Metrics Api V2 Constraint Violation Structure

Details of a single constraint violation in a request.

Type: object Properties: 4
AI OperationsAnalyticsAPMApplication Performance MonitoringApplication SecurityAutomationCloud MonitoringDigital Experience ManagementIntelligenceObservability

ConstraintViolation is a JSON Structure definition published by Dynatrace, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

path message parameterLocation location

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dynatrace/refs/heads/main/json-structure/metrics-api-v2-constraint-violation-structure.json",
  "description": "Details of a single constraint violation in a request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "description": "The JSON path to the field that caused the violation.",
      "example": "example-value"
    },
    "message": {
      "type": "string",
      "description": "A description of the constraint violation.",
      "example": "Example description."
    },
    "parameterLocation": {
      "type": "string",
      "description": "The location of the violating parameter (QUERY, PATH, BODY).",
      "example": "example-value"
    },
    "location": {
      "type": "string",
      "description": "The location detail for the violation.",
      "example": "example-value"
    }
  },
  "name": "ConstraintViolation"
}