Skip to content

Edit a draft Policy version

PATCH
/v1/policy-versions/{policyVersionId}
curl --request PATCH \
--url https://api.dockt.com/v1/policy-versions/plv_example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "definition": { "packages": [ { "code": "example", "version": "example" } ], "rules": [ { "rule_code": "example", "label": "example", "applies_when": { "kind": "always" }, "expectation": { "kind": "fact_comparison", "fact": "example", "operator": "equals", "value": "example" }, "enforcement": "required", "applies_to": "assignment" } ], "lists": [ { "code": "example", "title": "example", "items": [ { "kind": "document", "document_type": "example", "document_conditions": [ { "key": "example", "check": { "kind": "one_of", "values": [ "example" ] }, "on_mismatch": "exclude", "on_unclear": "exclude", "document_types": [ "example" ] } ] } ] } ], "overrides": [ { "target": { "source": "compliance_package", "source_id": "example", "rule_code": "example" }, "enforcement": "required", "qualification_comparison_policy": { "mode": "accepted_only" }, "applies_when": { "kind": "always" }, "expectation": { "kind": "fact_comparison", "fact": "example", "operator": "equals", "value": "example" }, "remove": [ { "kind": "document", "document_type": "example" } ], "require_also": [ { "kind": "fact_comparison", "fact": "example", "operator": "equals", "value": "example" } ], "accept_also": [ { "kind": "fact_comparison", "fact": "example", "operator": "equals", "value": "example" } ], "apply_only_when": [ { "kind": "always" } ], "apply_also_when": [ { "kind": "always" } ], "reason": "example" } ], "list_overrides": [ { "list": "example", "accept_also": [ { "kind": "document", "document_type": "example", "document_conditions": [ { "key": "example", "check": { "kind": "one_of", "values": [ "example" ] }, "on_mismatch": "exclude", "on_unclear": "exclude", "document_types": [ "example" ] } ] } ], "remove": [ { "kind": "document", "document_type": "example" } ], "reason": "example" } ], "expiry_warnings": [ { "document_type": "example", "days": 1 } ], "document_validity": [ { "document_type": "example", "days_after_issue": 1, "counts_from": "each_document" } ], "jobs": [ { "codes": [ "example" ], "title": "example", "rules": [ { "rule_code": "example", "label": "example", "applies_when": { "kind": "always" }, "expectation": { "kind": "fact_comparison", "fact": "example", "operator": "equals", "value": "example" }, "enforcement": "required" } ], "proof_required": true } ], "examples": [ { "name": "example", "attributes": { "additionalProperty": [ "example" ] }, "roles": [ "example" ], "expect": [ "example" ], "expect_not": [ "example" ] } ], "recheck_interval_days": 1 }, "source": "example" }'
policyVersionId
required

Dockt Policy version identifier.

string
x-dockt-expected-user

Rejects the request with 401 unless the browser session belongs to this auth_user_id. This assertion does not grant authority.

string
>= 1 characters
Media typeapplication/json

Replaces a draft with a definition or with policy source; send one of them. Source that does not read fails with 422 policy_source_invalid.

object
definition
object
packages
Array<object>
object
code
required
string
>= 1 characters
version
required
string
>= 1 characters
rules
Array<object>
object
rule_code
required
string
>= 1 characters
label
required

Human-readable name shown in Dockt and customer systems.

string
>= 1 characters <= 120 characters
applies_when
required
Any of:
object
kind
required
string
Allowed values: always
expectation
required
Any of:
object
kind
required
string
Allowed values: fact_comparison
fact
required
string
>= 1 characters
operator
required
string
Allowed values: equals not_equals greater_than greater_than_or_equal less_than less_than_or_equal
value
required
Any of:
string
enforcement
required
string
Allowed values: required advisory waived
applies_to

Defaults to assignment.

string
Allowed values: assignment engagement
lists
Array<object>

A named list of accepted evidence, such as what counts as basic safety. A rule that requires the list is met by anything on it.

object
code
required
string
title
required

Human-readable name shown in Dockt and customer systems.

string
>= 1 characters <= 120 characters
items
required
Array
>= 1 items
Any of:
object
kind
required
string
Allowed values: document
document_type
required
string
>= 1 characters
document_conditions
Array<object>
>= 1 items

Condition on a discovered document metadata key. By default a document that contradicts it, or whose value is unknown, does not count as evidence for the rule.

object
key
required
string
check
required
Any of:
object
kind
required
string
Allowed values: one_of
values
required
Array<string>
>= 1 items
on_mismatch

What a document that contradicts the condition counts as. Defaults to exclude.

string
Allowed values: exclude invalid review
on_unclear

What a document whose value is unknown counts as. Defaults to exclude.

string
Allowed values: exclude review accept
document_types

Only documents of these types are checked; others count as they are.

Array<string>
>= 1 items
overrides
Array<object>
object
target
required
Any of:
object
source
required
string
Allowed values: compliance_package
source_id
required
string
>= 1 characters
rule_code
required
string
>= 1 characters
enforcement
string
Allowed values: required advisory waived
qualification_comparison_policy
Any of:
object
mode
required
string
Allowed values: accepted_only
applies_when

Replaces when the rule applies.

Any of:
object
kind
required
string
Allowed values: always
expectation

Replaces what the rule requires.

Any of:
object
kind
required
string
Allowed values: fact_comparison
fact
required
string
>= 1 characters
operator
required
string
Allowed values: equals not_equals greater_than greater_than_or_equal less_than less_than_or_equal
value
required
Any of:
string
remove

Alternatives the rule no longer accepts.

Array
>= 1 items
Any of:
object
kind
required
string
Allowed values: document
document_type
required
string
>= 1 characters
require_also
Array
>= 1 items
Any of:
object
kind
required
string
Allowed values: fact_comparison
fact
required
string
>= 1 characters
operator
required
string
Allowed values: equals not_equals greater_than greater_than_or_equal less_than less_than_or_equal
value
required
Any of:
string
accept_also
Array
>= 1 items
Any of:
object
kind
required
string
Allowed values: fact_comparison
fact
required
string
>= 1 characters
operator
required
string
Allowed values: equals not_equals greater_than greater_than_or_equal less_than less_than_or_equal
value
required
Any of:
string
apply_only_when
Array
>= 1 items
Any of:
object
kind
required
string
Allowed values: always
apply_also_when
Array
>= 1 items
Any of:
object
kind
required
string
Allowed values: always
reason
string
>= 1 characters
list_overrides
Array<object>

Changes to a list of the Policy this one builds on. Accepting more needs a reason.

object
list
required
string
>= 1 characters
accept_also
Array
>= 1 items
Any of:
object
kind
required
string
Allowed values: document
document_type
required
string
>= 1 characters
document_conditions
Array<object>
>= 1 items

Condition on a discovered document metadata key. By default a document that contradicts it, or whose value is unknown, does not count as evidence for the rule.

object
key
required
string
check
required
Any of:
object
kind
required
string
Allowed values: one_of
values
required
Array<string>
>= 1 items
on_mismatch

What a document that contradicts the condition counts as. Defaults to exclude.

string
Allowed values: exclude invalid review
on_unclear

What a document whose value is unknown counts as. Defaults to exclude.

string
Allowed values: exclude review accept
document_types

Only documents of these types are checked; others count as they are.

Array<string>
>= 1 items
remove
Array
>= 1 items
Any of:
object
kind
required
string
Allowed values: document
document_type
required
string
>= 1 characters
reason
string
>= 1 characters
expiry_warnings
Array<object>

How many days before a document of this type expires its requirement counts as expiring soon, overriding the document type’s default.

object
document_type
required
string
days
required
integer
>= 1 <= 365
document_validity
Array<object>

How long a document of this type counts, from its issue date, for example an A1 request acknowledgement you accept for 60 days.

object
document_type
required
string
days_after_issue
required
integer
>= 1 <= 3650
counts_from

first_document counts every document of the type from the worker’s first one, so a later one, such as a second A1 request, cannot extend the period. Defaults to each_document.

string
Allowed values: each_document first_document
jobs
Array<object>

Requirements for Assignments with one of the job’s role codes.

object
codes
required

Role codes that select this job, such as welder or your own job code.

Array<string>
>= 1 items
title
required

Human-readable name shown in Dockt and customer systems.

string
>= 1 characters <= 120 characters
rules
required
Array<object>
object
rule_code
required
string
>= 1 characters
label
required

Human-readable name shown in Dockt and customer systems.

string
>= 1 characters <= 120 characters
applies_when
required
Any of:
object
kind
required
string
Allowed values: always
expectation
required
Any of:
object
kind
required
string
Allowed values: fact_comparison
fact
required
string
>= 1 characters
operator
required
string
Allowed values: equals not_equals greater_than greater_than_or_equal less_than less_than_or_equal
value
required
Any of:
string
enforcement
required
string
Allowed values: required advisory waived
proof_required

An uploaded document must prove the job’s qualifications, not only a registry.

boolean
examples
Array<object>

A worker situation and the rules you expect. Checked at activation; a failing example blocks it.

object
name
required

Human-readable name shown in Dockt and customer systems.

string
>= 1 characters <= 120 characters
attributes
required

Attribute values by their public codes.

object
key
additional properties
Any of:
string
roles
Array<string>
expect
required

Rules that must apply: your rules and the base Policy’s by code, package rules as <package>.<rule_code>.

Array<string>
expect_not
required

Rules that must not apply.

Array<string>
recheck_interval_days

Days between re-checks of open work against registries (company, credential and document registries). Defaults to 7; a Policy that builds on another overrides the base’s.

integer
>= 1 <= 365
source

Policy source in the policy language.

string
<= 200000 characters

Envelope for a single resource response.

Media typeapplication/json

Envelope for a single resource response.

object
object
required
string
Allowed values: single
data
required
object
object
required
string
Allowed values: policy_version
id
required

Dockt Policy version identifier.

string
policy
required
object
id
required

Dockt Policy identifier.

string
number
required
integer
>= -9007199254740991 <= 9007199254740991
status
required
string
Allowed values: draft active retired
definition
required
object
packages
required

Compliance package releases; only on a Policy without a base.

Array<object>
object
code
required
string
>= 1 characters
version
required
string
>= 1 characters
rules
required

Your own rules, in the same policy language as the packages.

Array<object>
object
rule_code
required
string
>= 1 characters
label
required

Human-readable name shown in Dockt and customer systems.

string
>= 1 characters <= 120 characters
applies_when
required
Any of:
object
kind
required
string
Allowed values: always
expectation
required
Any of:
object
kind
required
string
Allowed values: fact_comparison
fact
required
string
>= 1 characters
operator
required
string
Allowed values: equals not_equals greater_than greater_than_or_equal less_than less_than_or_equal
value
required
Any of:
string
enforcement
required
string
Allowed values: required advisory waived
applies_to

Defaults to assignment.

string
Allowed values: assignment engagement
lists
required

Named lists of accepted evidence your rules can require.

Array<object>

A named list of accepted evidence, such as what counts as basic safety. A rule that requires the list is met by anything on it.

object
code
required
string
title
required

Human-readable name shown in Dockt and customer systems.

string
>= 1 characters <= 120 characters
items
required
Array
>= 1 items
Any of:
object
kind
required
string
Allowed values: document
document_type
required
string
>= 1 characters
document_conditions
Array<object>
>= 1 items

Condition on a discovered document metadata key. By default a document that contradicts it, or whose value is unknown, does not count as evidence for the rule.

object
key
required
string
check
required
Any of:
object
kind
required
string
Allowed values: one_of
values
required
Array<string>
>= 1 items
on_mismatch

What a document that contradicts the condition counts as. Defaults to exclude.

string
Allowed values: exclude invalid review
on_unclear

What a document whose value is unknown counts as. Defaults to exclude.

string
Allowed values: exclude review accept
document_types

Only documents of these types are checked; others count as they are.

Array<string>
>= 1 items
overrides
required

Adjustments to package rules and to rules of the Policy this one builds on.

Array<object>
object
target
required
Any of:
object
source
required
string
Allowed values: compliance_package
source_id
required
string
>= 1 characters
rule_code
required
string
>= 1 characters
enforcement
string
Allowed values: required advisory waived
qualification_comparison_policy
Any of:
object
mode
required
string
Allowed values: accepted_only
applies_when

Replaces when the rule applies.

Any of:
object
kind
required
string
Allowed values: always
expectation

Replaces what the rule requires.

Any of:
object
kind
required
string
Allowed values: fact_comparison
fact
required
string
>= 1 characters
operator
required
string
Allowed values: equals not_equals greater_than greater_than_or_equal less_than less_than_or_equal
value
required
Any of:
string
remove

Alternatives the rule no longer accepts.

Array
>= 1 items
Any of:
object
kind
required
string
Allowed values: document
document_type
required
string
>= 1 characters
require_also
Array
>= 1 items
Any of:
object
kind
required
string
Allowed values: fact_comparison
fact
required
string
>= 1 characters
operator
required
string
Allowed values: equals not_equals greater_than greater_than_or_equal less_than less_than_or_equal
value
required
Any of:
string
accept_also
Array
>= 1 items
Any of:
object
kind
required
string
Allowed values: fact_comparison
fact
required
string
>= 1 characters
operator
required
string
Allowed values: equals not_equals greater_than greater_than_or_equal less_than less_than_or_equal
value
required
Any of:
string
apply_only_when
Array
>= 1 items
Any of:
object
kind
required
string
Allowed values: always
apply_also_when
Array
>= 1 items
Any of:
object
kind
required
string
Allowed values: always
reason
string
>= 1 characters
list_overrides
required

Adjustments to lists of the Policy this one builds on.

Array<object>

Changes to a list of the Policy this one builds on. Accepting more needs a reason.

object
list
required
string
>= 1 characters
accept_also
Array
>= 1 items
Any of:
object
kind
required
string
Allowed values: document
document_type
required
string
>= 1 characters
document_conditions
Array<object>
>= 1 items

Condition on a discovered document metadata key. By default a document that contradicts it, or whose value is unknown, does not count as evidence for the rule.

object
key
required
string
check
required
Any of:
object
kind
required
string
Allowed values: one_of
values
required
Array<string>
>= 1 items
on_mismatch

What a document that contradicts the condition counts as. Defaults to exclude.

string
Allowed values: exclude invalid review
on_unclear

What a document whose value is unknown counts as. Defaults to exclude.

string
Allowed values: exclude review accept
document_types

Only documents of these types are checked; others count as they are.

Array<string>
>= 1 items
remove
Array
>= 1 items
Any of:
object
kind
required
string
Allowed values: document
document_type
required
string
>= 1 characters
reason
string
>= 1 characters
expiry_warnings
required

Warning periods per document type; a Policy that builds on another overrides the base’s.

Array<object>

How many days before a document of this type expires its requirement counts as expiring soon, overriding the document type’s default.

object
document_type
required
string
days
required
integer
>= 1 <= 365
document_validity
required

Validity periods per document type, replacing what the document states; a Policy that builds on another overrides the base’s.

Array<object>

How long a document of this type counts, from its issue date, for example an A1 request acknowledgement you accept for 60 days.

object
document_type
required
string
days_after_issue
required
integer
>= 1 <= 3650
counts_from

first_document counts every document of the type from the worker’s first one, so a later one, such as a second A1 request, cannot extend the period. Defaults to each_document.

string
Allowed values: each_document first_document
jobs
required
Array<object>

Requirements for Assignments with one of the job’s role codes.

object
codes
required

Role codes that select this job, such as welder or your own job code.

Array<string>
>= 1 items
title
required

Human-readable name shown in Dockt and customer systems.

string
>= 1 characters <= 120 characters
rules
required
Array<object>
object
rule_code
required
string
>= 1 characters
label
required

Human-readable name shown in Dockt and customer systems.

string
>= 1 characters <= 120 characters
applies_when
required
Any of:
object
kind
required
string
Allowed values: always
expectation
required
Any of:
object
kind
required
string
Allowed values: fact_comparison
fact
required
string
>= 1 characters
operator
required
string
Allowed values: equals not_equals greater_than greater_than_or_equal less_than less_than_or_equal
value
required
Any of:
string
enforcement
required
string
Allowed values: required advisory waived
proof_required

An uploaded document must prove the job’s qualifications, not only a registry.

boolean
examples
required

Examples checked at activation.

Array<object>

A worker situation and the rules you expect. Checked at activation; a failing example blocks it.

object
name
required

Human-readable name shown in Dockt and customer systems.

string
>= 1 characters <= 120 characters
attributes
required

Attribute values by their public codes.

object
key
additional properties
Any of:
string
roles
Array<string>
expect
required

Rules that must apply: your rules and the base Policy’s by code, package rules as <package>.<rule_code>.

Array<string>
expect_not
required

Rules that must not apply.

Array<string>
recheck_interval_days

Days between re-checks of open work against registries (company, credential and document registries). Defaults to 7; a Policy that builds on another overrides the base’s.

integer
>= 1 <= 365
source
required

The version in the policy language: the source it was saved as, comments included, or its definition printed when it was saved as a definition.

string
created_at
required

ISO 8601 date-time string.

string format: date-time
activated_at
required
Any of:

ISO 8601 date-time string.

string format: date-time

Example

{
"object": "single",
"data": {
"object": "policy_version",
"id": "plv_example",
"policy": {
"id": "pol_example"
},
"status": "draft",
"definition": {
"rules": [
{
"applies_when": {
"kind": "always"
},
"expectation": {
"kind": "fact_comparison",
"operator": "equals"
},
"enforcement": "required",
"applies_to": "assignment"
}
],
"lists": [
{
"items": [
{
"kind": "document",
"document_conditions": [
{
"check": {
"kind": "one_of"
},
"on_mismatch": "exclude",
"on_unclear": "exclude"
}
]
}
]
}
],
"overrides": [
{
"target": {
"source": "compliance_package"
},
"enforcement": "required",
"qualification_comparison_policy": {
"mode": "accepted_only"
},
"applies_when": {
"kind": "always"
},
"expectation": {
"kind": "fact_comparison",
"operator": "equals"
},
"remove": [
{
"kind": "document"
}
],
"require_also": [
{
"kind": "fact_comparison",
"operator": "equals"
}
],
"accept_also": [
{
"kind": "fact_comparison",
"operator": "equals"
}
],
"apply_only_when": [
{
"kind": "always"
}
],
"apply_also_when": [
{
"kind": "always"
}
]
}
],
"list_overrides": [
{
"accept_also": [
{
"kind": "document",
"document_conditions": [
{
"check": {
"kind": "one_of"
},
"on_mismatch": "exclude",
"on_unclear": "exclude"
}
]
}
],
"remove": [
{
"kind": "document"
}
]
}
],
"document_validity": [
{
"counts_from": "each_document"
}
],
"jobs": [
{
"rules": [
{
"applies_when": {
"kind": "always"
},
"expectation": {
"kind": "fact_comparison",
"operator": "equals"
},
"enforcement": "required"
}
]
}
]
},
"created_at": "2026-08-06T09:30:00Z",
"activated_at": "2026-08-06T09:30:00Z"
}
}

Problem Details response for HTTP 400. The type URI is the stable machine-readable error code.

Media typeapplication/problem+json

Standard error response with a stable status, human-readable detail, and optional validation errors.

object
type
required
string
title
required
string
status
required
number
detail
required
string
instance
required
Any of:

Request identifier that Dockt support can use to trace an API call.

string
errors

Structured request validation issues.

object
issues
required
Array<object>

One request validation issue with a stable field path and human-readable message.

object
path
required
Array
message
required
string

Example

{
"type": "https://docs.dockt.com/errors/invalid-request",
"title": "Bad request",
"status": 400,
"detail": "The request did not match the expected schema.",
"instance": "req_example1042"
}

Problem Details response for HTTP 401. The type URI is the stable machine-readable error code.

Media typeapplication/problem+json

Standard error response with a stable status, human-readable detail, and optional validation errors.

object
type
required
string
title
required
string
status
required
number
detail
required
string
instance
required
Any of:

Request identifier that Dockt support can use to trace an API call.

string
errors

Structured request validation issues.

object
issues
required
Array<object>

One request validation issue with a stable field path and human-readable message.

object
path
required
Array
message
required
string

Example

{
"type": "https://docs.dockt.com/errors/missing-auth",
"title": "Unauthorized",
"status": 401,
"detail": "Send a valid bearer token or browser session.",
"instance": "req_example1042"
}

Problem Details response for HTTP 403. The type URI is the stable machine-readable error code.

Media typeapplication/problem+json

Standard error response with a stable status, human-readable detail, and optional validation errors.

object
type
required
string
title
required
string
status
required
number
detail
required
string
instance
required
Any of:

Request identifier that Dockt support can use to trace an API call.

string
errors

Structured request validation issues.

object
issues
required
Array<object>

One request validation issue with a stable field path and human-readable message.

object
path
required
Array
message
required
string

Example

{
"type": "https://docs.dockt.com/errors/forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The authenticated principal does not have the required permission.",
"instance": "req_example1042"
}

Problem Details response for HTTP 404. The type URI is the stable machine-readable error code.

Media typeapplication/problem+json

Standard error response with a stable status, human-readable detail, and optional validation errors.

object
type
required
string
title
required
string
status
required
number
detail
required
string
instance
required
Any of:

Request identifier that Dockt support can use to trace an API call.

string
errors

Structured request validation issues.

object
issues
required
Array<object>

One request validation issue with a stable field path and human-readable message.

object
path
required
Array
message
required
string

Example

{
"type": "https://docs.dockt.com/errors/not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found in the authenticated scope.",
"instance": "req_example1042"
}

Problem Details response for HTTP 409. The type URI is the stable machine-readable error code.

Media typeapplication/problem+json

Standard error response with a stable status, human-readable detail, and optional validation errors.

object
type
required
string
title
required
string
status
required
number
detail
required
string
instance
required
Any of:

Request identifier that Dockt support can use to trace an API call.

string
errors

Structured request validation issues.

object
issues
required
Array<object>

One request validation issue with a stable field path and human-readable message.

object
path
required
Array
message
required
string

Example

{
"type": "https://docs.dockt.com/errors/conflict",
"title": "Conflict",
"status": 409,
"detail": "The request conflicts with the current resource state.",
"instance": "req_example1042"
}

Problem Details response for HTTP 422. The type URI is the stable machine-readable error code.

Media typeapplication/problem+json

Standard error response with a stable status, human-readable detail, and optional validation errors.

object
type
required
string
title
required
string
status
required
number
detail
required
string
instance
required
Any of:

Request identifier that Dockt support can use to trace an API call.

string
errors

Structured request validation issues.

object
issues
required
Array<object>

One request validation issue with a stable field path and human-readable message.

object
path
required
Array
message
required
string

Example

{
"type": "https://docs.dockt.com/errors/validation",
"title": "Validation failed",
"status": 422,
"detail": "Correct the invalid fields and send the request again.",
"instance": "req_example1042",
"errors": {
"issues": [
{
"path": [
"body",
"inputs",
"3",
"value"
],
"message": "Expected a two-letter country code."
}
]
}
}

Problem Details response for HTTP 429. The type URI is the stable machine-readable error code.

Media typeapplication/problem+json

Standard error response with a stable status, human-readable detail, and optional validation errors.

object
type
required
string
title
required
string
status
required
number
detail
required
string
instance
required
Any of:

Request identifier that Dockt support can use to trace an API call.

string
errors

Structured request validation issues.

object
issues
required
Array<object>

One request validation issue with a stable field path and human-readable message.

object
path
required
Array
message
required
string

Example

{
"type": "https://docs.dockt.com/errors/rate-limit",
"title": "Too many requests",
"status": 429,
"detail": "Wait for the Retry-After interval before retrying.",
"instance": "req_example1042"
}

Problem Details response for HTTP 500. The type URI is the stable machine-readable error code.

Media typeapplication/problem+json

Standard error response with a stable status, human-readable detail, and optional validation errors.

object
type
required
string
title
required
string
status
required
number
detail
required
string
instance
required
Any of:

Request identifier that Dockt support can use to trace an API call.

string
errors

Structured request validation issues.

object
issues
required
Array<object>

One request validation issue with a stable field path and human-readable message.

object
path
required
Array
message
required
string

Example

{
"type": "https://docs.dockt.com/errors/internal",
"title": "Internal server error",
"status": 500,
"detail": "Retry the request safely or contact Dockt support with the request ID.",
"instance": "req_example1042"
}

Problem Details response for HTTP 503. The type URI is the stable machine-readable error code.

Media typeapplication/problem+json

Standard error response with a stable status, human-readable detail, and optional validation errors.

object
type
required
string
title
required
string
status
required
number
detail
required
string
instance
required
Any of:

Request identifier that Dockt support can use to trace an API call.

string
errors

Structured request validation issues.

object
issues
required
Array<object>

One request validation issue with a stable field path and human-readable message.

object
path
required
Array
message
required
string

Example

{
"instance": "req_example1042"
}