PromptLintFinding
One lint finding of a Prompt template (1.55.0; prompt-manager.md section 6): its code, its severity, where it is and whether a publish needs it acknowledged.
An object with 7 fields.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
acknowledge | boolean | yes | True for a warning a publish refuses unless acknowledged_warnings lists its code (PROMPT_ACKNOWLEDGE_CODES). |
code | PromptLintCode | yes | |
column | integer or null | yes | The column of that line, from 1; null outside a body. |
line | integer or null | yes | The line in the variant the pointer names, from 1; null outside a body. |
message | string | yes | A human-readable explanation that names a code, a path or a declared name and never quotes the text it found; never parse it. |
path | string | yes | A JSON Pointer into the template, such as /variants/default or /declarations/variables/appointment_time; at Agent publish, into the Agent configuration, such as /prompt/template_id. |
severity | PromptLintSeverity | yes |