@htilabs/platform-common-models 0.7.0-beta.1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/README.md +0 -44
  2. package/dist/constants/index.cjs +76 -52
  3. package/dist/constants/index.cjs.map +1 -1
  4. package/dist/constants/index.d.cts +1 -1
  5. package/dist/constants/index.d.ts +1 -1
  6. package/dist/constants/index.js +75 -48
  7. package/dist/constants/index.js.map +1 -1
  8. package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-DaDrEuTa.d.cts} +36 -36
  9. package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-DaDrEuTa.d.ts} +36 -36
  10. package/dist/cvcs/index.cjs +11136 -136
  11. package/dist/cvcs/index.cjs.map +1 -1
  12. package/dist/cvcs/index.d.cts +12856 -603
  13. package/dist/cvcs/index.d.ts +12856 -603
  14. package/dist/cvcs/index.js +11060 -132
  15. package/dist/cvcs/index.js.map +1 -1
  16. package/dist/{index-I-DiX9eQ.d.ts → index-C0J3f169.d.ts} +1 -1
  17. package/dist/{index-CoVr1jIV.d.cts → index-EPjPjR0z.d.cts} +1 -1
  18. package/dist/index.cjs +12593 -246
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +1686 -98
  21. package/dist/index.d.ts +1686 -98
  22. package/dist/index.js +12442 -234
  23. package/dist/index.js.map +1 -1
  24. package/dist/models/index.d.cts +2 -2
  25. package/dist/models/index.d.ts +2 -2
  26. package/dist/{platform-auth-C97LpsRd.d.cts → platform-auth-7dL99tZh.d.cts} +21 -9
  27. package/dist/{platform-auth-C97LpsRd.d.ts → platform-auth-7dL99tZh.d.ts} +21 -9
  28. package/dist/schemas/index.cjs +68 -49
  29. package/dist/schemas/index.cjs.map +1 -1
  30. package/dist/schemas/index.d.cts +11 -15
  31. package/dist/schemas/index.d.ts +11 -15
  32. package/dist/schemas/index.js +68 -49
  33. package/dist/schemas/index.js.map +1 -1
  34. package/dist/types/index.d.cts +2 -2
  35. package/dist/types/index.d.ts +2 -2
  36. package/package.json +19 -25
  37. package/src/__tests__/__snapshots__/cvc-sot.snap +297 -9
  38. package/src/__tests__/cvc-sot-snapshot.test.ts +150 -18
  39. package/src/__tests__/cvc-structural.test.ts +76 -3
  40. package/src/constants/ic.ts +163 -51
  41. package/src/cvcs/accommodationType.v1.0.0.json +107 -0
  42. package/src/cvcs/actionStepCompletionStatus.v1.0.0.json +89 -0
  43. package/src/cvcs/actionStepType.v1.0.0.json +71 -0
  44. package/src/cvcs/announcementAudienceScope.v1.0.0.json +80 -0
  45. package/src/cvcs/announcementResponseType.v1.0.0.json +89 -0
  46. package/src/cvcs/basisQuickPicks.v1.0.0.json +123 -0
  47. package/src/cvcs/checkInActivity.v1.0.0.json +233 -0
  48. package/src/cvcs/checkInPhase.v1.0.0.json +152 -0
  49. package/src/cvcs/childBehavioralConcerns.v1.0.0.json +161 -0
  50. package/src/cvcs/childCustodyArrangement.v1.0.0.json +188 -0
  51. package/src/cvcs/collectionContext.v1.0.0.json +88 -0
  52. package/src/cvcs/contactInfoUseType.v1.0.0.json +87 -0
  53. package/src/cvcs/daIncidentArchiveReason.v1.0.0.json +89 -0
  54. package/src/cvcs/daIncidentConfidence.v1.0.0.json +80 -0
  55. package/src/cvcs/daIncidentDayApprox.v1.0.0.json +89 -0
  56. package/src/cvcs/daIncidentSeverity.v1.0.0.json +97 -0
  57. package/src/cvcs/determinationLevel.v1.0.0.json +96 -0
  58. package/src/cvcs/disabilitySubtype.v1.0.0.json +126 -0
  59. package/src/cvcs/discretionLevel.v1.0.0.json +89 -0
  60. package/src/cvcs/emergencyContactCallReason.v1.0.0.json +107 -0
  61. package/src/cvcs/emergencyContactPermissions.v1.0.0.json +125 -0
  62. package/src/cvcs/emergencyExitCascade.v1.0.0.json +89 -0
  63. package/src/cvcs/exitProcessChecklistItem.v1.0.0.json +152 -0
  64. package/src/cvcs/exitReasons.v1.0.0.json +224 -0
  65. package/src/cvcs/facialHair.v1.0.0.json +71 -0
  66. package/src/cvcs/funder.v1.0.0.json +125 -0
  67. package/src/cvcs/goalCategory.v1.0.0.json +161 -0
  68. package/src/cvcs/goalPriority.v1.0.0.json +80 -0
  69. package/src/cvcs/goalStatus.v1.0.0.json +98 -0
  70. package/src/cvcs/goalWithdrawalReason.v1.0.0.json +116 -0
  71. package/src/cvcs/hmisProjectType.v1.0.0.json +178 -0
  72. package/src/cvcs/hopeScaleCaptureContext.v1.0.0.json +116 -0
  73. package/src/cvcs/hopeScaleResponseOptions.v1.0.0.json +125 -0
  74. package/src/cvcs/hopeScaleTier.v1.0.0.json +89 -0
  75. package/src/cvcs/identificationStatus.v1.0.0.json +80 -0
  76. package/src/cvcs/index.ts +150 -6
  77. package/src/cvcs/inferenceType.v1.0.0.json +78 -0
  78. package/src/cvcs/investigativeRequestType.v1.0.0.json +89 -0
  79. package/src/cvcs/languages.v1.0.0.json +1924 -0
  80. package/src/cvcs/leReportStatus.v1.0.0.json +89 -0
  81. package/src/cvcs/legalActionType.v1.0.0.json +116 -0
  82. package/src/cvcs/messageReportReason.v1.0.0.json +107 -0
  83. package/src/cvcs/midStayEventType.v1.0.0.json +116 -0
  84. package/src/cvcs/milestoneType.v1.0.0.json +170 -0
  85. package/src/cvcs/needsResidentialAgain.v1.0.0.json +80 -0
  86. package/src/cvcs/personRelationships.v1.0.0.json +6 -6
  87. package/src/cvcs/petExitReason.v1.0.0.json +107 -0
  88. package/src/cvcs/petRelationshipBasis.v1.0.0.json +80 -0
  89. package/src/cvcs/programSpecificCode.v1.0.0.json +125 -0
  90. package/src/cvcs/proofOfIdType.v1.0.0.json +188 -0
  91. package/src/cvcs/qualityFlags.v1.0.0.json +96 -0
  92. package/src/cvcs/referenceLinkType.v1.0.0.json +125 -0
  93. package/src/cvcs/relationshipDynamics.v1.0.0.json +445 -0
  94. package/src/cvcs/returnedToAbuserStatus.v1.0.0.json +80 -0
  95. package/src/cvcs/roleContext.v1.0.0.json +78 -0
  96. package/src/cvcs/rsvpResponse.v1.0.0.json +80 -0
  97. package/src/cvcs/servicePlanClosureReason.v1.0.0.json +125 -0
  98. package/src/cvcs/servicePlanReviewSnoozeReason.v1.0.0.json +116 -0
  99. package/src/cvcs/serviceSource.v1.0.0.json +71 -0
  100. package/src/cvcs/serviceStates.v1.0.0.json +12 -2
  101. package/src/cvcs/sessionState.v1.0.0.json +96 -0
  102. package/src/cvcs/severityFollowUp.v1.0.0.json +89 -0
  103. package/src/cvcs/signatureMethod.v1.0.0.json +89 -0
  104. package/src/cvcs/signatureType.v1.0.0.json +89 -0
  105. package/src/cvcs/smtBodyLocation.v1.0.0.json +314 -0
  106. package/src/cvcs/smtNameRelation.v1.0.0.json +116 -0
  107. package/src/cvcs/smtSignificanceFlags.v1.0.0.json +116 -0
  108. package/src/cvcs/sourceCategory.v1.1.0.json +96 -0
  109. package/src/cvcs/sourceSubtype.v1.1.0.json +330 -0
  110. package/src/cvcs/substanceUseStatus.v1.0.0.json +90 -0
  111. package/src/cvcs/supportStrength.v1.0.0.json +114 -0
  112. package/src/cvcs/supportTopic.v1.0.0.json +116 -0
  113. package/src/cvcs/threadStatus.v1.0.0.json +80 -0
  114. package/src/cvcs/threadType.v1.0.0.json +98 -0
  115. package/src/cvcs/timeScope.v1.0.0.json +69 -0
  116. package/src/cvcs/verificationMethod.v1.0.0.json +96 -0
  117. package/src/cvcs/verificationStatus.v1.0.0.json +80 -0
  118. package/src/cvcs/visaType.v1.0.0.json +378 -0
  119. package/src/generated/cvc-enums.ts +1816 -46
  120. package/src/index.ts +0 -20
  121. package/src/schemas/common.ts +0 -4
  122. package/dist/config/index.cjs +0 -191
  123. package/dist/config/index.cjs.map +0 -1
  124. package/dist/config/index.d.cts +0 -101
  125. package/dist/config/index.d.ts +0 -101
  126. package/dist/config/index.js +0 -165
  127. package/dist/config/index.js.map +0 -1
  128. package/src/__tests__/runtime-contract-validator.test.ts +0 -556
  129. package/src/config/fixtures/valid.yaml +0 -90
  130. package/src/config/index.ts +0 -352
  131. package/src/cvcs/hmisSex.v1.0.0.json +0 -89
  132. package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +0 -96
  133. package/src/cvcs/recencyBand.v1.0.0.json +0 -124
@@ -0,0 +1,80 @@
1
+ {
2
+ "domain": "thread_status",
3
+ "name": "Core Thread Status",
4
+ "version": "1.0.0",
5
+ "_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering; codes from prototype/data/cvcs/core_thread_status.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
6
+ "_source": "prototype/data/cvcs/core_thread_status.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Thread status"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "960-000-000-000-000-000-000",
14
+ "key": "missingness_root",
15
+ "title": "Unknown, Redacted, or Missing",
16
+ "selectable": false,
17
+ "parentCode": null,
18
+ "childCodes": [
19
+ "960-000-000-000-000-000-001",
20
+ "960-000-000-000-000-000-002",
21
+ "960-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected). The prototype YAML does not enumerate missingness states (thread.status defaults to OPEN on creation); the standard workspace triplet is added here per the value-CVC authoring convention."
24
+ },
25
+ {
26
+ "code": "960-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "960-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Value is unknown at time of entry."
33
+ },
34
+ {
35
+ "code": "960-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "960-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
42
+ },
43
+ {
44
+ "code": "960-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "960-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "960-001-000-000-000-000-000",
54
+ "key": "open",
55
+ "title": "Open",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Thread is active and accepts new messages. Default state on creation. Applies to all five thread_types. THREAD_CREATED CAR fires; subsequent MESSAGE_SENT CARs fire per message."
60
+ },
61
+ {
62
+ "code": "960-002-000-000-000-000-000",
63
+ "key": "resolved",
64
+ "title": "Resolved",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Thread closed by responsible party. SUPPORT / INVESTIGATIVE_REQUEST: HTI staff closes when the user's question/request is fully handled. COMMUNITY_PARTNER: rarely used (participants just stop replying); available for explicit 'this conversation is done.' WORKING_GROUP: not typically used at the channel level. ANNOUNCEMENT: not used (announcements transition OPEN → ARCHIVED instead). Closed threads stay searchable but don't accept new replies per Q1 v2 — re-engagement spawns a new thread referencing the closed prior (OPEN → RESOLVED is terminal in v1; no RE-OPEN path). THREAD_RESOLVED CAR fires on transition."
69
+ },
70
+ {
71
+ "code": "960-003-000-000-000-000-000",
72
+ "key": "archived",
73
+ "title": "Archived",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Thread is no longer active but preserved for search + audit trail. ANNOUNCEMENT: announcements past announcement_expires_at auto-transition to ARCHIVED. WORKING_GROUP: group admin can archive a channel when the group itself dissolves. Other thread_types: rarely used at this level (per-participant archive on the thread_participants row is more common). This thread-level ARCHIVED is a stronger global-archive state, orthogonal to the per-participant thread_participants.archived boolean. THREAD_ARCHIVED CAR fires on transition."
78
+ }
79
+ ]
80
+ }
@@ -0,0 +1,98 @@
1
+ {
2
+ "domain": "thread_type",
3
+ "name": "Thread Type",
4
+ "version": "1.0.0",
5
+ "_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering; codes from prototype/data/cvcs/core_thread_type.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
6
+ "_source": "prototype/data/cvcs/core_thread_type.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Thread type"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "961-000-000-000-000-000-000",
14
+ "key": "missingness_root",
15
+ "title": "Unknown, Redacted, or Missing",
16
+ "selectable": false,
17
+ "parentCode": null,
18
+ "childCodes": [
19
+ "961-000-000-000-000-000-001",
20
+ "961-000-000-000-000-000-002",
21
+ "961-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected). Standard workspace missingness triplet; the prototype YAML enumerates only level-1 canonical discriminator values, so the triplet is added per SOT convention."
24
+ },
25
+ {
26
+ "code": "961-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "961-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Thread type is unknown at time of entry."
33
+ },
34
+ {
35
+ "code": "961-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "961-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
42
+ },
43
+ {
44
+ "code": "961-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "961-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value. System-only sentinel per GLOBAL_DESIGN_RULES."
51
+ },
52
+ {
53
+ "code": "961-001-000-000-000-000-000",
54
+ "key": "support",
55
+ "title": "Support",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Platform user → HTI generic-support staff queue. Per-submission lifecycle; one-shot or short Q&A; closes on resolution per Q1 v2 (closed threads spawn new-with-reference rather than re-open). Form-based intake: Topic + Message + auto-metadata (Page · User · Browser·time). Entry points: Help button cross-prototype (sidebar on PAVE+LEADS+Thread; topbar icon on HTI Platform per Q10 v2). (YAML code SUPPORT.)"
60
+ },
61
+ {
62
+ "code": "961-002-000-000-000-000-000",
63
+ "key": "community_partner",
64
+ "title": "Community Partner",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Platform user → Platform user(s) across agencies. Rolling, indefinite, iMessage-shape lifecycle. Free-form compose + recipient picker. Recipient picker is open by default per Q2 v2, with three layered controls: agency-level admin setting (Anyone / Network only / Within agency only) + per-user privacy setting + Platform-level block + report-to-HTI on every message. Subject is optional + mutable. Archive moves a thread out of the active inbox but preserves it. Cross-agency victim-data routing stays in PAVE's Sharing / ROIWizard infrastructure per § 2 binding rule (refer-not-carry). (YAML code COMMUNITY_PARTNER.)"
69
+ },
70
+ {
71
+ "code": "961-003-000-000-000-000-000",
72
+ "key": "working_group",
73
+ "title": "Working Group",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Working group member → group. Persistent rolling channel for v1 per Q3 v2 (topic sub-threads land Phase 3.1). Free-form post to group. Membership is always invite-only per Q8 v2 (admin invites + invitee accepts) — stricter than original v1 per-group-setting recommendation; matches sensitive-MDT use case (case consultations around active investigations). Pinned-thread affordance for canonical resources (meeting notes, charters). (YAML code WORKING_GROUP.)"
78
+ },
79
+ {
80
+ "code": "961-004-000-000-000-000-000",
81
+ "key": "announcement",
82
+ "title": "Announcement",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "HTI Platform Admin (PLT-ADM per Q15 v2) → broadcast audience. One-way feed item; replies open 1:1 Community Partner thread with author per Q5 v2 (per-announcement override available at publish for designated channel routing). RSVP-aware per Q4 v2 — default Yes/Maybe/No with per-announcement override to acknowledge-only or register. Audience scopes for v1: all / role / working_group per Q12 v2 (agency + sector scopes deferred to v2). Pushed to Bell + optionally surfaced in Messages feed. Expiration + auto-archive supported. (YAML code ANNOUNCEMENT.)"
87
+ },
88
+ {
89
+ "code": "961-005-000-000-000-000-000",
90
+ "key": "investigative_request",
91
+ "title": "Investigative Request",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "LEADS Platform user → HTI investigative-analyst team. Per-submission lifecycle; structured intake variant (richer field shape than generic Support — jurisdiction picker, timeframe picker, structured attachment slots — TBD at Phase 1 build spec). Per Q11 v2 — promoted from Support sub-type to own thread_type from v1 based on Crysta's directive: 'different rules and target recipients on the HTI side, so probably its own thread type.' Different routing rules + different HTI recipient team + likely different SLA + likely different visibility model justify the separation. Companion CVC for structured intake-field codes lands in Phase 1 build spec. (YAML code INVESTIGATIVE_REQUEST.)"
96
+ }
97
+ ]
98
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "domain": "time_scope",
3
+ "name": "Core Time Scope",
4
+ "version": "1.0.0",
5
+ "levels": {
6
+ "0": "Unknown or Missing",
7
+ "1": "Time scope"
8
+ },
9
+ "entries": [
10
+ {
11
+ "code": "174-000-000-000-000-000-000",
12
+ "key": "missingness_root",
13
+ "title": "Unknown, Redacted, or Missing",
14
+ "selectable": false,
15
+ "parentCode": null,
16
+ "childCodes": [
17
+ "174-000-000-000-000-000-001",
18
+ "174-000-000-000-000-000-002",
19
+ "174-000-000-000-000-000-003"
20
+ ],
21
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
22
+ },
23
+ {
24
+ "code": "174-000-000-000-000-000-001",
25
+ "key": "unknown",
26
+ "title": "Unknown",
27
+ "selectable": true,
28
+ "parentCode": "174-000-000-000-000-000-000",
29
+ "childCodes": [],
30
+ "definition": "It cannot be determined whether the assertion is current vs prior as of time_as_of. Use when the source captures the concept but does not specify current vs historical (or conflicting evidence prevents resolution). Avoid using as a default; prefer prompting / collecting the missing temporal framing when feasible. Downstream current-status resolvers should treat this as non-evidence (not as false, and not as current)."
31
+ },
32
+ {
33
+ "code": "174-000-000-000-000-000-002",
34
+ "key": "anonymous",
35
+ "title": "Anonymous",
36
+ "selectable": true,
37
+ "parentCode": "174-000-000-000-000-000-000",
38
+ "childCodes": [],
39
+ "definition": "Value is intentionally withheld or redacted."
40
+ },
41
+ {
42
+ "code": "174-000-000-000-000-000-003",
43
+ "key": "data_not_collected",
44
+ "title": "Data not collected",
45
+ "selectable": true,
46
+ "parentCode": "174-000-000-000-000-000-000",
47
+ "childCodes": [],
48
+ "definition": "No attempt was made to collect the value."
49
+ },
50
+ {
51
+ "code": "174-001-000-000-000-000-000",
52
+ "key": "current",
53
+ "title": "Current",
54
+ "selectable": true,
55
+ "parentCode": null,
56
+ "childCodes": [],
57
+ "definition": "The assertion is intended to represent a state / condition that is true at time_as_of. Use when the source indicates currently, now, at intake, as of assessment / interview, or otherwise implies the condition is ongoing / present at the as-of time. Common pattern: set time_is_active = true when the condition is ongoing and no end is known. Current is evaluated relative to time_as_of, not today in system time."
58
+ },
59
+ {
60
+ "code": "174-002-000-000-000-000-000",
61
+ "key": "prior",
62
+ "title": "Prior",
63
+ "selectable": true,
64
+ "parentCode": null,
65
+ "childCodes": [],
66
+ "definition": "The assertion represents a state / condition that occurred before time_as_of and is not true at time_as_of. Use when the source indicates previously, history of, former, past, no longer, or otherwise implies it is not current. If known, populate time_end (or at least don't mark time_is_active true). Prior does not require precise dates; it can be paired with recency_band when the source provides only buckets."
67
+ }
68
+ ]
69
+ }
@@ -0,0 +1,96 @@
1
+ {
2
+ "domain": "verification_method",
3
+ "name": "Core Verification Method",
4
+ "version": "1.0.0",
5
+ "levels": {
6
+ "0": "Unknown or Missing",
7
+ "1": "Verification method"
8
+ },
9
+ "entries": [
10
+ {
11
+ "code": "143-000-000-000-000-000-000",
12
+ "key": "missingness_root",
13
+ "title": "Unknown, Redacted, or Missing",
14
+ "selectable": false,
15
+ "parentCode": null,
16
+ "childCodes": [
17
+ "143-000-000-000-000-000-001",
18
+ "143-000-000-000-000-000-002",
19
+ "143-000-000-000-000-000-003"
20
+ ],
21
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
22
+ },
23
+ {
24
+ "code": "143-000-000-000-000-000-001",
25
+ "key": "unknown",
26
+ "title": "Unknown",
27
+ "selectable": true,
28
+ "parentCode": "143-000-000-000-000-000-000",
29
+ "childCodes": [],
30
+ "definition": "Value is unknown at time of entry."
31
+ },
32
+ {
33
+ "code": "143-000-000-000-000-000-002",
34
+ "key": "anonymous",
35
+ "title": "Anonymous",
36
+ "selectable": true,
37
+ "parentCode": "143-000-000-000-000-000-000",
38
+ "childCodes": [],
39
+ "definition": "Value is intentionally withheld or redacted."
40
+ },
41
+ {
42
+ "code": "143-000-000-000-000-000-003",
43
+ "key": "data_not_collected",
44
+ "title": "Data not collected",
45
+ "selectable": true,
46
+ "parentCode": "143-000-000-000-000-000-000",
47
+ "childCodes": [],
48
+ "definition": "No attempt was made to collect the value."
49
+ },
50
+ {
51
+ "code": "143-001-000-000-000-000-000",
52
+ "key": "court_record_confirmed",
53
+ "title": "Court record confirmed",
54
+ "selectable": true,
55
+ "parentCode": null,
56
+ "childCodes": [],
57
+ "definition": "Verification is grounded in a court record or comparable legal evidentiary artifact. Use when an evidentiary artifact confirms the asserted fact. Pair with legal_evidentiary provenance and artifact refs. Scope to what the artifact supports; do not over-infer facts beyond the artifact."
58
+ },
59
+ {
60
+ "code": "143-002-000-000-000-000-000",
61
+ "key": "evidence_threshold_met",
62
+ "title": "Evidence threshold met",
63
+ "selectable": true,
64
+ "parentCode": null,
65
+ "childCodes": [],
66
+ "definition": "Verification was applied because a documented evidence threshold was met (policy-driven), regardless of specific method category. Use when the organization has a formal threshold and wants a generic code plus policy version tracking. Prefer more specific methods when possible; use this when method granularity is not captured."
67
+ },
68
+ {
69
+ "code": "143-003-000-000-000-000-000",
70
+ "key": "multi_source_corroboration",
71
+ "title": "Multi-source corroboration",
72
+ "selectable": true,
73
+ "parentCode": null,
74
+ "childCodes": [],
75
+ "definition": "Verification is based on corroboration from multiple independent sources or artifacts. Use when your verification policy requires 2+ independent sources. Capture corroboration count / notes where available. Define independent in policy. Often pairs with support_strength = corroborated or stronger."
76
+ },
77
+ {
78
+ "code": "143-004-000-000-000-000-000",
79
+ "key": "qa_audit_passed",
80
+ "title": "QA audit passed",
81
+ "selectable": true,
82
+ "parentCode": null,
83
+ "childCodes": [],
84
+ "definition": "The assertion passed a defined QA / audit checklist or review process. Use for systematic data quality verification processes. Store audit reference ids externally via artifact refs where applicable. Useful for governance and reproducibility."
85
+ },
86
+ {
87
+ "code": "143-005-000-000-000-000-000",
88
+ "key": "supervisor_review",
89
+ "title": "Supervisor review",
90
+ "selectable": true,
91
+ "parentCode": null,
92
+ "childCodes": [],
93
+ "definition": "A supervisor (or designated reviewer) reviewed the assertion and marked it verified under an operational review process. Use when verification is granted via human review workflow. Pair with verified_by_user_id and verified_at, and capture any required support_strength policy. Not equivalent to legal confirmation; scope is operational."
94
+ }
95
+ ]
96
+ }
@@ -0,0 +1,80 @@
1
+ {
2
+ "domain": "verification_status",
3
+ "name": "Verification Status",
4
+ "version": "1.0.0",
5
+ "_status": "DRAFT — TEMPORARY: net-new value-CVC not yet in Notion; provisional 900+ numbering; codes from prototype/data/cvcs/core_verification_status.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). Single-select 3-state verification CVC ('I can get it' third state) sourced from DragonFly's Foreign-National intake form pattern 'do you have verification of a T-Visa?' Y / N / 'I can get it' — preserves the form-faithful capture of 'client doesn't have proof in hand right now but has access to it through attorney / files / family'. Distinct from verification_method (CVC-143). YAML carries the canonical L0 missingness triplet (ANON / UNK / DNC) plus 3 level-1 states; mapped here onto the workspace-standard missingness_root (anonymous / unknown / data_not_collected).",
6
+ "_source": "prototype/data/cvcs/core_verification_status.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Verification state"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "962-000-000-000-000-000-000",
14
+ "key": "missingness_root",
15
+ "title": "Unknown, Redacted, or Missing",
16
+ "selectable": false,
17
+ "parentCode": null,
18
+ "childCodes": [
19
+ "962-000-000-000-000-000-001",
20
+ "962-000-000-000-000-000-002",
21
+ "962-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected). Carries the prototype YAML's L0 triplet — UNK → unknown, ANON → anonymous, DNC → data_not_collected."
24
+ },
25
+ {
26
+ "code": "962-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "962-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Verification status not currently known. Carries the prototype YAML UNK sentinel."
33
+ },
34
+ {
35
+ "code": "962-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "962-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Subject explicitly declined to provide verification information. Carries the prototype YAML ANON sentinel under the workspace-standard ANON idiom."
42
+ },
43
+ {
44
+ "code": "962-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "962-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "System-derived sentinel — the field has not yet been asked. Carries the prototype YAML DNC sentinel."
51
+ },
52
+ {
53
+ "code": "962-001-000-000-000-000-000",
54
+ "key": "yes",
55
+ "title": "Yes — verification on file",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Verification document is on file at the agency or in the survivor's possession."
60
+ },
61
+ {
62
+ "code": "962-002-000-000-000-000-000",
63
+ "key": "no",
64
+ "title": "No — no verification",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "No verification document exists or has been issued."
69
+ },
70
+ {
71
+ "code": "962-003-000-000-000-000-000",
72
+ "key": "i_can_get_it",
73
+ "title": "I can get it",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Verification document is not currently on hand but the survivor has access to it (through attorney / files / family / prior agency). Captured per DragonFly's form-faithful pattern; signals the advocate may need to coordinate document retrieval."
78
+ }
79
+ ]
80
+ }