feat(report): add dense personal report appendix

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
jesse-ux
2026-09-23 10:42:17 +08:00
co-authored by Claude Code
parent a7f82dc2a6
commit bbd96d3b6b
44 changed files with 48833 additions and 50 deletions
@@ -109,13 +109,20 @@
"enum": [
"D1",
"D2",
"D6",
"D8",
"D3",
"D4",
"D7",
"D9",
"D10",
"D11",
"D12",
"D16",
"D20",
"D24",
"D30"
"D27",
"D30",
"D40",
"D60"
]
},
"title": {
@@ -434,6 +441,103 @@
"evidenceRefs",
"claimStatus"
]
},
"factTable": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"title",
"claimStatus",
"sourcePath",
"note",
"columns",
"rows"
],
"properties": {
"id": {
"enum": [
"vimshottari",
"ashtakavarga",
"shadbala",
"functional_roles",
"avasthas",
"special_points",
"sade_sati",
"annual"
]
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"claimStatus": {
"$ref": "#/definitions/claimStatus"
},
"sourcePath": {
"type": "string",
"minLength": 1,
"maxLength": 400,
"pattern": "^[A-Za-z0-9_.\\[\\]-]+$"
},
"note": {
"type": "string",
"maxLength": 500
},
"columns": {
"type": "array",
"minItems": 1,
"maxItems": 16,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80
}
},
"rows": {
"type": "array",
"maxItems": 2000,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"sourcePath",
"cells"
],
"properties": {
"sourcePath": {
"type": "string",
"minLength": 1,
"maxLength": 400,
"pattern": "^[A-Za-z0-9_.\\[\\]-]+$"
},
"cells": {
"type": "array",
"minItems": 1,
"maxItems": 16,
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
}
}
}
}
}
}
},
"additionalProperties": false,
@@ -739,7 +843,7 @@
"$ref": "#/definitions/chart"
},
"minItems": 1,
"maxItems": 9,
"maxItems": 16,
"description": "maxItems must equal CHART_IDS.length in frontend/src/lib/personal-report-contract.ts"
},
"thematicNarrative": {
@@ -806,6 +910,13 @@
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"factTables": {
"type": "array",
"maxItems": 8,
"items": {
"$ref": "#/definitions/factTable"
}
}
},
"required": [