@htilabs/platform-common-models 0.7.0 → 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 (99) hide show
  1. package/dist/constants/index.cjs +72 -7
  2. package/dist/constants/index.cjs.map +1 -1
  3. package/dist/constants/index.d.cts +1 -1
  4. package/dist/constants/index.d.ts +1 -1
  5. package/dist/constants/index.js +71 -7
  6. package/dist/constants/index.js.map +1 -1
  7. package/dist/cvcs/index.cjs +10051 -10
  8. package/dist/cvcs/index.cjs.map +1 -1
  9. package/dist/cvcs/index.d.cts +11750 -554
  10. package/dist/cvcs/index.d.ts +11750 -554
  11. package/dist/cvcs/index.js +9986 -9
  12. package/dist/cvcs/index.js.map +1 -1
  13. package/dist/index.cjs +11341 -19
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +1480 -8
  16. package/dist/index.d.ts +1480 -8
  17. package/dist/index.js +11212 -19
  18. package/dist/index.js.map +1 -1
  19. package/dist/{platform-auth-CjC57132.d.cts → platform-auth-7dL99tZh.d.cts} +18 -2
  20. package/dist/{platform-auth-CjC57132.d.ts → platform-auth-7dL99tZh.d.ts} +18 -2
  21. package/dist/schemas/index.cjs +63 -7
  22. package/dist/schemas/index.cjs.map +1 -1
  23. package/dist/schemas/index.js +63 -7
  24. package/dist/schemas/index.js.map +1 -1
  25. package/dist/types/index.d.cts +2 -2
  26. package/dist/types/index.d.ts +2 -2
  27. package/package.json +2 -2
  28. package/src/__tests__/__snapshots__/cvc-sot.snap +259 -3
  29. package/src/__tests__/cvc-sot-snapshot.test.ts +70 -2
  30. package/src/__tests__/cvc-structural.test.ts +65 -0
  31. package/src/constants/ic.ts +158 -3
  32. package/src/cvcs/accommodationType.v1.0.0.json +107 -0
  33. package/src/cvcs/actionStepCompletionStatus.v1.0.0.json +89 -0
  34. package/src/cvcs/actionStepType.v1.0.0.json +71 -0
  35. package/src/cvcs/announcementAudienceScope.v1.0.0.json +80 -0
  36. package/src/cvcs/announcementResponseType.v1.0.0.json +89 -0
  37. package/src/cvcs/basisQuickPicks.v1.0.0.json +123 -0
  38. package/src/cvcs/checkInActivity.v1.0.0.json +233 -0
  39. package/src/cvcs/checkInPhase.v1.0.0.json +152 -0
  40. package/src/cvcs/childBehavioralConcerns.v1.0.0.json +161 -0
  41. package/src/cvcs/childCustodyArrangement.v1.0.0.json +188 -0
  42. package/src/cvcs/collectionContext.v1.0.0.json +88 -0
  43. package/src/cvcs/daIncidentArchiveReason.v1.0.0.json +89 -0
  44. package/src/cvcs/daIncidentConfidence.v1.0.0.json +80 -0
  45. package/src/cvcs/daIncidentDayApprox.v1.0.0.json +89 -0
  46. package/src/cvcs/daIncidentSeverity.v1.0.0.json +97 -0
  47. package/src/cvcs/disabilitySubtype.v1.0.0.json +126 -0
  48. package/src/cvcs/discretionLevel.v1.0.0.json +89 -0
  49. package/src/cvcs/emergencyContactCallReason.v1.0.0.json +107 -0
  50. package/src/cvcs/emergencyContactPermissions.v1.0.0.json +125 -0
  51. package/src/cvcs/emergencyExitCascade.v1.0.0.json +89 -0
  52. package/src/cvcs/exitProcessChecklistItem.v1.0.0.json +152 -0
  53. package/src/cvcs/exitReasons.v1.0.0.json +224 -0
  54. package/src/cvcs/facialHair.v1.0.0.json +71 -0
  55. package/src/cvcs/funder.v1.0.0.json +125 -0
  56. package/src/cvcs/goalCategory.v1.0.0.json +161 -0
  57. package/src/cvcs/goalPriority.v1.0.0.json +80 -0
  58. package/src/cvcs/goalStatus.v1.0.0.json +98 -0
  59. package/src/cvcs/goalWithdrawalReason.v1.0.0.json +116 -0
  60. package/src/cvcs/hmisProjectType.v1.0.0.json +178 -0
  61. package/src/cvcs/hopeScaleCaptureContext.v1.0.0.json +116 -0
  62. package/src/cvcs/hopeScaleResponseOptions.v1.0.0.json +125 -0
  63. package/src/cvcs/hopeScaleTier.v1.0.0.json +89 -0
  64. package/src/cvcs/identificationStatus.v1.0.0.json +80 -0
  65. package/src/cvcs/index.ts +128 -0
  66. package/src/cvcs/investigativeRequestType.v1.0.0.json +89 -0
  67. package/src/cvcs/languages.v1.0.0.json +1924 -0
  68. package/src/cvcs/leReportStatus.v1.0.0.json +89 -0
  69. package/src/cvcs/legalActionType.v1.0.0.json +116 -0
  70. package/src/cvcs/messageReportReason.v1.0.0.json +107 -0
  71. package/src/cvcs/midStayEventType.v1.0.0.json +116 -0
  72. package/src/cvcs/milestoneType.v1.0.0.json +170 -0
  73. package/src/cvcs/needsResidentialAgain.v1.0.0.json +80 -0
  74. package/src/cvcs/personRelationships.v1.0.0.json +6 -6
  75. package/src/cvcs/petExitReason.v1.0.0.json +107 -0
  76. package/src/cvcs/petRelationshipBasis.v1.0.0.json +80 -0
  77. package/src/cvcs/programSpecificCode.v1.0.0.json +125 -0
  78. package/src/cvcs/proofOfIdType.v1.0.0.json +188 -0
  79. package/src/cvcs/referenceLinkType.v1.0.0.json +125 -0
  80. package/src/cvcs/relationshipDynamics.v1.0.0.json +445 -0
  81. package/src/cvcs/returnedToAbuserStatus.v1.0.0.json +80 -0
  82. package/src/cvcs/rsvpResponse.v1.0.0.json +80 -0
  83. package/src/cvcs/servicePlanClosureReason.v1.0.0.json +125 -0
  84. package/src/cvcs/servicePlanReviewSnoozeReason.v1.0.0.json +116 -0
  85. package/src/cvcs/serviceSource.v1.0.0.json +71 -0
  86. package/src/cvcs/serviceStates.v1.0.0.json +12 -2
  87. package/src/cvcs/severityFollowUp.v1.0.0.json +89 -0
  88. package/src/cvcs/signatureMethod.v1.0.0.json +89 -0
  89. package/src/cvcs/signatureType.v1.0.0.json +89 -0
  90. package/src/cvcs/smtBodyLocation.v1.0.0.json +314 -0
  91. package/src/cvcs/smtNameRelation.v1.0.0.json +116 -0
  92. package/src/cvcs/smtSignificanceFlags.v1.0.0.json +116 -0
  93. package/src/cvcs/substanceUseStatus.v1.0.0.json +90 -0
  94. package/src/cvcs/supportTopic.v1.0.0.json +116 -0
  95. package/src/cvcs/threadStatus.v1.0.0.json +80 -0
  96. package/src/cvcs/threadType.v1.0.0.json +98 -0
  97. package/src/cvcs/verificationStatus.v1.0.0.json +80 -0
  98. package/src/cvcs/visaType.v1.0.0.json +378 -0
  99. package/src/generated/cvc-enums.ts +1605 -5
@@ -0,0 +1,90 @@
1
+ {
2
+ "domain": "substance_use_status",
3
+ "name": "Core Substance Use 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_substance_use_status.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
6
+ "_source": "prototype/data/cvcs/core_substance_use_status.yaml",
7
+ "_reconcile": "may map to an existing Notion CVC under a different name — reconcile before canonical authoring",
8
+ "levels": {
9
+ "0": "Unknown or Missing",
10
+ "1": "Substance use status"
11
+ },
12
+ "entries": [
13
+ {
14
+ "code": "958-000-000-000-000-000-000",
15
+ "key": "missingness_root",
16
+ "title": "Unknown, Redacted, or Missing",
17
+ "selectable": false,
18
+ "parentCode": null,
19
+ "childCodes": [
20
+ "958-000-000-000-000-000-001",
21
+ "958-000-000-000-000-000-002",
22
+ "958-000-000-000-000-000-003"
23
+ ],
24
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected). Maps the HMIS 4.10 canonical missing-response triplet from the prototype YAML: DK ('Client doesn't know') → unknown; PNA ('Client prefers not to answer') → anonymous (workspace ANON sentinel); UNK ('Data not collected') → data_not_collected."
25
+ },
26
+ {
27
+ "code": "958-000-000-000-000-000-001",
28
+ "key": "unknown",
29
+ "title": "Unknown",
30
+ "selectable": true,
31
+ "parentCode": "958-000-000-000-000-000-000",
32
+ "childCodes": [],
33
+ "definition": "Value is unknown at time of entry. Maps the prototype YAML's DK ('Client doesn't know') — survivor explicitly says they don't know (HMIS 4.10 canonical response option). Distinct from data_not_collected, where the question wasn't asked or the conversation didn't reach resolution."
34
+ },
35
+ {
36
+ "code": "958-000-000-000-000-000-002",
37
+ "key": "anonymous",
38
+ "title": "Anonymous / declined to answer",
39
+ "selectable": true,
40
+ "parentCode": "958-000-000-000-000-000-000",
41
+ "childCodes": [],
42
+ "definition": "Value is intentionally withheld or redacted. Maps the prototype YAML's PNA ('Client prefers not to answer') — survivor explicitly declines (HMIS 4.10 canonical response option). Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
43
+ },
44
+ {
45
+ "code": "958-000-000-000-000-000-003",
46
+ "key": "data_not_collected",
47
+ "title": "Data not collected",
48
+ "selectable": true,
49
+ "parentCode": "958-000-000-000-000-000-000",
50
+ "childCodes": [],
51
+ "definition": "No attempt was made to collect the value. Maps the prototype YAML's UNK ('Unknown' / HMIS 4.10 = Data not collected) — the default missing state; the question wasn't asked or the conversation didn't reach resolution. Distinct from DK (survivor explicitly says they don't know) and PNA (survivor explicitly declines)."
52
+ },
53
+ {
54
+ "code": "958-001-000-000-000-000-000",
55
+ "key": "no",
56
+ "title": "No",
57
+ "selectable": true,
58
+ "parentCode": null,
59
+ "childCodes": [],
60
+ "definition": "No substance use disorder reported (HMIS 4.10 = No). Does not contribute to HMIS 3.08 Disabling Condition rollup."
61
+ },
62
+ {
63
+ "code": "958-002-000-000-000-000-000",
64
+ "key": "alcohol",
65
+ "title": "Alcohol use disorder",
66
+ "selectable": true,
67
+ "parentCode": null,
68
+ "childCodes": [],
69
+ "definition": "Alcohol-only use disorder (HMIS 4.10 = Alcohol use disorder). Triggers severity follow-up via core_severity_follow_up CVC. DSM-5 (2013) retired the 'abuse' / 'dependence' distinction in favor of 'use disorder' — this code aligns."
70
+ },
71
+ {
72
+ "code": "958-003-000-000-000-000-000",
73
+ "key": "drug",
74
+ "title": "Drug use disorder",
75
+ "selectable": true,
76
+ "parentCode": null,
77
+ "childCodes": [],
78
+ "definition": "Drug-only use disorder (HMIS 4.10 = Drug use disorder). Triggers severity follow-up via core_severity_follow_up CVC. DSM-5-aligned terminology."
79
+ },
80
+ {
81
+ "code": "958-004-000-000-000-000-000",
82
+ "key": "both",
83
+ "title": "Both alcohol and drug use disorders",
84
+ "selectable": true,
85
+ "parentCode": null,
86
+ "childCodes": [],
87
+ "definition": "Poly-substance use disorder (HMIS 4.10 = Both alcohol and drug use disorders). Triggers severity follow-up via core_severity_follow_up CVC. Canonical multi-option form chosen over a bifurcated alcohol + drug Y/N pair so a poly-substance survivor is captured cleanly in a single field rather than two parallel Yes answers."
88
+ }
89
+ ]
90
+ }
@@ -0,0 +1,116 @@
1
+ {
2
+ "domain": "support_topic",
3
+ "name": "Core Support Topic",
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_support_topic.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
6
+ "_source": "prototype/data/cvcs/core_support_topic.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Support topic"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "959-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
+ "959-000-000-000-000-000-001",
20
+ "959-000-000-000-000-000-002",
21
+ "959-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 (OTHER is a substantive catch-all, not a missing sentinel); the standard workspace triplet is added here per the value-CVC authoring convention."
24
+ },
25
+ {
26
+ "code": "959-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "959-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Value is unknown at time of entry."
33
+ },
34
+ {
35
+ "code": "959-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "959-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": "959-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "959-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "959-001-000-000-000-000-000",
54
+ "key": "how_to_use_platform",
55
+ "title": "Question about how to use the platform",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "General usage question. The user needs help understanding how a feature works. Routes to the HTI generic-support team (routes_to_team: 'HTI Platform Support'). Most common Topic; the default selection in the modal dropdown."
60
+ },
61
+ {
62
+ "code": "959-002-000-000-000-000-000",
63
+ "key": "something_broken",
64
+ "title": "Something looks broken",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Bug report. Auto-captures Page + Browser + client time at submission. Encourages attaching a screenshot. The HTI staff queue surfaces these as elevated priority. Routes to 'HTI Platform Support'."
69
+ },
70
+ {
71
+ "code": "959-003-000-000-000-000-000",
72
+ "key": "data_record_issue",
73
+ "title": "Data or record issue",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "User reports incorrect data, missing records, sync issues, or data quality concerns. May route to a sub-team based on which data domain the issue touches (e.g., LEADS data issues route to the LEADS team). Routes to 'HTI Platform Support'."
78
+ },
79
+ {
80
+ "code": "959-004-000-000-000-000-000",
81
+ "key": "account_access",
82
+ "title": "Account or access issue",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Login problems, role-permission mismatches, account-state confusion, multi-factor auth failures. Routes to support with optional escalation to the Platform Admin team if it appears to be a provisioning issue. Routes to 'HTI Platform Support'."
87
+ },
88
+ {
89
+ "code": "959-005-000-000-000-000-000",
90
+ "key": "request_training",
91
+ "title": "Request a training",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "User requests a training module, workshop, or coaching session. Routes to the HTI training team (Trail-adjacent; routes_to_team: 'HTI Training Team'). Common follow-up: scheduling 1:1 coaching or pointing the user at an existing Trail module."
96
+ },
97
+ {
98
+ "code": "959-006-000-000-000-000-000",
99
+ "key": "feature_request",
100
+ "title": "Feature request",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "User suggests a new feature or platform improvement. Routes to the HTI product team for triage (routes_to_team: 'HTI Product Team'). Tracked + cross-referenced in product backlog over time."
105
+ },
106
+ {
107
+ "code": "959-007-000-000-000-000-000",
108
+ "key": "other",
109
+ "title": "Other",
110
+ "selectable": true,
111
+ "parentCode": null,
112
+ "childCodes": [],
113
+ "definition": "Catch-all for topics that don't fit the structured set. Free-text body carries the detail. HTI staff re-routes from the queue if the topic warrants a specialized team. Routes to 'HTI Platform Support'."
114
+ }
115
+ ]
116
+ }
@@ -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,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
+ }