Implements Spec 075 (V1.5) on top of Spec 074. Highlights - Deterministic report fingerprint (sha256) + previous_report_id linkage - Viewer change indicator: "No changes" vs "Changed" when previous exists - Check acknowledgements (fail|warn|block) with capability-first auth, confirmation, and audit event - Verify-step UX polish (issues-first, primary CTA) Testing - Focused Pest coverage for fingerprint, previous resolver, change indicator, acknowledgements, badge semantics, DB-only viewer guard. Notes - Viewing remains DB-only (no external calls while rendering). Co-authored-by: Ahmed Darrazi <ahmeddarrazi@MacBookPro.fritz.box> Reviewed-on: #93
32 lines
730 B
JSON
32 lines
730 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://tenantpilot.local/contracts/acknowledge-check.request.schema.json",
|
|
"title": "AcknowledgeVerificationCheckRequest",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"report_id",
|
|
"check_key",
|
|
"ack_reason"
|
|
],
|
|
"properties": {
|
|
"report_id": {
|
|
"type": ["string", "integer"]
|
|
},
|
|
"check_key": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"ack_reason": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 160
|
|
},
|
|
"expires_at": {
|
|
"description": "Optional informational expiry timestamp.",
|
|
"type": ["string", "null"],
|
|
"format": "date-time"
|
|
}
|
|
}
|
|
}
|