Skip to content

ValidateReportV1

PromptScript API


Defined in: core/src/types/validate-report.ts:77

Report of prs validate --format json, version 1.

Properties

$schema

$schema: "https://getpromptscript.dev/schema/validate-report/v1.json"

Defined in: core/src/types/validate-report.ts:79

Schema URL, the version tag of the report


errors

errors: ValidateErrorV1[]

Defined in: core/src/types/validate-report.ts:85

Errors of all validated files, in file order


success

success: boolean

Defined in: core/src/types/validate-report.ts:83

False when there are errors, or warnings under --strict


summary

summary: ValidateSummaryV1

Defined in: core/src/types/validate-report.ts:89

Counts of errors and warnings


version

version: 1

Defined in: core/src/types/validate-report.ts:81

Major version of the report format, always 1


warnings

warnings: ValidateWarningV1[]

Defined in: core/src/types/validate-report.ts:87

Warnings of all validated files, in file order