{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "format": "uri"
    },
    "title": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "detail": {
      "type": "string"
    },
    "correlationId": {
      "type": "string"
    },
    "requestId": {
      "type": "string"
    },
    "retryable": {
      "type": "boolean"
    },
    "service": {
      "type": "string"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "reason"
        ],
        "additionalProperties": false
      }
    },
    "status": {
      "type": "integer",
      "minimum": 400,
      "maximum": 599
    },
    "instance": {
      "type": "string",
      "format": "uri-reference"
    }
  },
  "required": [
    "type",
    "title",
    "status",
    "code",
    "detail",
    "correlationId",
    "requestId",
    "retryable",
    "service",
    "timestamp",
    "errors"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "type": "https://example.invalid/problems/profile-inactive",
      "title": "Inactive profile",
      "code": "PROFILE_INACTIVE",
      "detail": "Select an effective permitted profile.",
      "correlationId": "corr-test-001",
      "requestId": "req-test-001",
      "retryable": false,
      "service": "Policy Service",
      "timestamp": "2026-10-15T05:00:01Z",
      "errors": [],
      "status": 422,
      "instance": "urn:ltans:request:req-test-001"
    }
  ]
}
