@htilabs/platform-common-models 0.12.0 → 0.12.2
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.
- package/dist/config/index.cjs +0 -81
- package/dist/config/index.cjs.map +1 -1
- package/dist/config/index.d.cts +4 -79
- package/dist/config/index.d.ts +4 -79
- package/dist/config/index.js +1 -79
- package/dist/config/index.js.map +1 -1
- package/dist/constants/index.cjs +18 -2
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +18 -2
- package/dist/constants/index.js.map +1 -1
- package/dist/cvc-Cp4uWnAa.d.cts +298 -0
- package/dist/cvc-Cp4uWnAa.d.ts +298 -0
- package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-ctHTp2df.d.cts} +44 -44
- package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-ctHTp2df.d.ts} +44 -44
- package/dist/cvcs/index.cjs +8065 -1384
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +15287 -8079
- package/dist/cvcs/index.d.ts +15287 -8079
- package/dist/cvcs/index.js +8052 -1384
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +4573 -0
- package/dist/enums/index.cjs.map +1 -0
- package/dist/enums/index.d.cts +5277 -0
- package/dist/enums/index.d.ts +5277 -0
- package/dist/enums/index.js +4369 -0
- package/dist/enums/index.js.map +1 -0
- package/dist/{index-I-DiX9eQ.d.ts → index-4DiJrn7y.d.ts} +1 -1
- package/dist/{index-CoVr1jIV.d.cts → index-qreOzXYS.d.cts} +1 -1
- package/dist/index.cjs +8616 -1389
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -4700
- package/dist/index.d.ts +7 -4700
- package/dist/index.js +8590 -1389
- package/dist/index.js.map +1 -1
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/mongo/index.cjs +0 -1
- package/dist/mongo/index.cjs.map +1 -1
- package/dist/mongo/index.js +1 -2
- package/dist/mongo/index.js.map +1 -1
- package/dist/{platform-auth-v53r3BhN.d.cts → platform-auth-Dv5fu0Fh.d.cts} +5 -4
- package/dist/{platform-auth-v53r3BhN.d.ts → platform-auth-Dv5fu0Fh.d.ts} +5 -4
- package/dist/schemas/index.cjs +5 -1
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +35 -35
- package/dist/schemas/index.d.ts +35 -35
- package/dist/schemas/index.js +5 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/validation/index.cjs +58 -0
- package/dist/validation/index.cjs.map +1 -1
- package/dist/validation/index.d.cts +82 -283
- package/dist/validation/index.d.ts +82 -283
- package/dist/validation/index.js +57 -0
- package/dist/validation/index.js.map +1 -1
- package/package.json +32 -22
- package/src/__sot__/README.md +36 -1
- package/src/__sot__/coreIndicatorFields.ts +331 -0
- package/src/__sot__/coreIndicators.pin.json +1936 -2
- package/src/__sot__/cvcIndex.pin.json +8 -4
- package/src/__tests__/__snapshots__/cvc-sot.snap +45 -13
- package/src/__tests__/core-information-scope-invariant.test.ts +134 -0
- package/src/__tests__/cvc-136-scoring-invariant.test.ts +8 -3
- package/src/__tests__/cvc-181-182-country-parity.test.ts +163 -0
- package/src/__tests__/cvc-drift-gate.test.ts +463 -12
- package/src/__tests__/cvc-sot-snapshot.test.ts +81 -11
- package/src/__tests__/cvc-status-parser.test.ts +150 -0
- package/src/__tests__/cvc-structural.test.ts +16 -0
- package/src/__tests__/runtime-contract-validator.test.ts +1 -325
- package/src/__tests__/share-response-reason-invariant.test.ts +167 -0
- package/src/config/index.ts +4 -189
- package/src/constants/ic.ts +120 -3
- package/src/cvcs/assertionDomain.v1.1.0.json +19 -1
- package/src/cvcs/assertionStatus.v1.0.0.json +80 -0
- package/src/cvcs/carCorrectionReason.v1.0.0.json +89 -0
- package/src/cvcs/caseShareState.v1.0.0.json +62 -0
- package/src/cvcs/coreIndicators.v1.0.0.json +83 -5
- package/src/cvcs/coreInformationScope.v1.0.0.json +1165 -0
- package/src/cvcs/countries.v1.0.0.json +3077 -0
- package/src/cvcs/createdBySystem.v1.0.0.json +89 -0
- package/src/cvcs/criminalOrgCategory.v1.0.0.json +116 -0
- package/src/cvcs/determinationHelperCategories.v1.0.0.json +1166 -0
- package/src/cvcs/incidentParticipationRoles.v1.0.0.json +11 -1
- package/src/cvcs/index.ts +36 -0
- package/src/cvcs/minorAdultStatus.v1.0.0.json +80 -0
- package/src/cvcs/personRelationships.v1.0.0.json +67 -2
- package/src/cvcs/referralOrigin.v1.0.0.json +26 -0
- package/src/cvcs/relationshipConcern.v1.0.0.json +28 -19
- package/src/cvcs/riskIdentificationMilestone.v1.0.0.json +109 -0
- package/src/cvcs/sessionTemplate.v1.0.0.json +22 -0
- package/src/cvcs/sharePurpose.v1.0.0.json +80 -12
- package/src/cvcs/shareResponseReason.v1.0.0.json +220 -0
- package/src/cvcs/subjectType.v1.0.0.json +80 -0
- package/src/generated/cvc-enums.ts +628 -20
- package/src/validation/cvcStatus.ts +209 -0
- package/src/validation/index.ts +1 -0
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"domain": "share_purpose",
|
|
3
3
|
"name": "Core Share Purpose",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.0",
|
|
5
|
+
"_status": "Synced verbatim from canonical CVC-84 (renamed `core-sharing_purpose` 2026-08-19). 8 core rows from `core_share_purpose.yaml` + 4 LEADS-wing rows from `core_share_purpose_extensions_leads.yaml`, which the prototype's `build_sharing_purpose_catalog.py` joins into the 12-row catalog. The wing rows were RATIFIED 2026-07-03 and live-synced 2026-08-19 (no longer proposal-only). 0.8.16 shipped the core 8 only, and shipped them WITHOUT the decision attributes — which is how a consumer came to map `deconfliction` and `automatic_account_share` onto each other's legacy policy rows. `setBy`, `wing`, `appScope` and `needToKnowArm` are now carried as data so that mapping is derivable rather than inferred from titles. Codes 084-001..008 are FROZEN at their published key assignment; the wing rows take 084-009..012, so nothing already stored changes meaning.",
|
|
6
|
+
"_source": "htilabstech/prototype data/cvcs/core_share_purpose.yaml + core_share_purpose_extensions_leads.yaml",
|
|
5
7
|
"levels": {
|
|
6
8
|
"1": "Purpose"
|
|
7
9
|
},
|
|
@@ -13,7 +15,9 @@
|
|
|
13
15
|
"selectable": true,
|
|
14
16
|
"parentCode": null,
|
|
15
17
|
"childCodes": [],
|
|
16
|
-
"definition": "
|
|
18
|
+
"definition": "A one time point in time share used to refer limited, specific segments of information to another party for a narrow purpose.",
|
|
19
|
+
"setBy": "manual",
|
|
20
|
+
"wing": "core"
|
|
17
21
|
},
|
|
18
22
|
{
|
|
19
23
|
"code": "084-002-000-000-000-000-000",
|
|
@@ -22,7 +26,9 @@
|
|
|
22
26
|
"selectable": true,
|
|
23
27
|
"parentCode": null,
|
|
24
28
|
"childCodes": [],
|
|
25
|
-
"definition": "
|
|
29
|
+
"definition": "An ongoing but time limited sharing purpose to support repeated communication needed to complete a specific service or action approved by the victim or mandated by law.",
|
|
30
|
+
"setBy": "manual",
|
|
31
|
+
"wing": "core"
|
|
26
32
|
},
|
|
27
33
|
{
|
|
28
34
|
"code": "084-003-000-000-000-000-000",
|
|
@@ -31,25 +37,32 @@
|
|
|
31
37
|
"selectable": true,
|
|
32
38
|
"parentCode": null,
|
|
33
39
|
"childCodes": [],
|
|
34
|
-
"definition": "
|
|
40
|
+
"definition": "A sharing purpose for detecting overlap between two parties' case records (deconfliction) so agencies, teams, or investigators can identify parallel work and coordinate safely when appropriate.",
|
|
41
|
+
"setBy": "automatic",
|
|
42
|
+
"wing": "core",
|
|
43
|
+
"appScope": "leads_only"
|
|
35
44
|
},
|
|
36
45
|
{
|
|
37
46
|
"code": "084-004-000-000-000-000-000",
|
|
38
47
|
"key": "mandatory_reporting",
|
|
39
|
-
"title": "Mandatory
|
|
48
|
+
"title": "Mandatory report",
|
|
40
49
|
"selectable": true,
|
|
41
50
|
"parentCode": null,
|
|
42
51
|
"childCodes": [],
|
|
43
|
-
"definition": "
|
|
52
|
+
"definition": "A sharing purpose indicating information must be shared to meet a legal or regulatory mandated reporting duty.",
|
|
53
|
+
"setBy": "manual",
|
|
54
|
+
"wing": "core"
|
|
44
55
|
},
|
|
45
56
|
{
|
|
46
57
|
"code": "084-005-000-000-000-000-000",
|
|
47
58
|
"key": "authority_reporting",
|
|
48
|
-
"title": "Authority
|
|
59
|
+
"title": "Authority report",
|
|
49
60
|
"selectable": true,
|
|
50
61
|
"parentCode": null,
|
|
51
62
|
"childCodes": [],
|
|
52
|
-
"definition": "
|
|
63
|
+
"definition": "A sharing purpose used to notify a designated authority for accountability, compliance, intelligence, or administrative purposes when the sender is not acting under a mandated reporter duty.",
|
|
64
|
+
"setBy": "manual",
|
|
65
|
+
"wing": "core"
|
|
53
66
|
},
|
|
54
67
|
{
|
|
55
68
|
"code": "084-006-000-000-000-000-000",
|
|
@@ -58,16 +71,20 @@
|
|
|
58
71
|
"selectable": true,
|
|
59
72
|
"parentCode": null,
|
|
60
73
|
"childCodes": [],
|
|
61
|
-
"definition": "
|
|
74
|
+
"definition": "An agency-admin configured, default sharing mode that automatically makes a limited, standardized subset of case information viewable across the agency account without requiring case-by-case sharing decisions by end users.",
|
|
75
|
+
"setBy": "automatic",
|
|
76
|
+
"wing": "core"
|
|
62
77
|
},
|
|
63
78
|
{
|
|
64
79
|
"code": "084-007-000-000-000-000-000",
|
|
65
80
|
"key": "discretionary_share",
|
|
66
|
-
"title": "Discretionary share",
|
|
81
|
+
"title": "Discretionary share (FYI)",
|
|
67
82
|
"selectable": true,
|
|
68
83
|
"parentCode": null,
|
|
69
84
|
"childCodes": [],
|
|
70
|
-
"definition": "
|
|
85
|
+
"definition": "A sharing purpose for situational awareness or FYI sharing when there is no explicit requested action, no legal duty, and no structured collaboration.",
|
|
86
|
+
"setBy": "manual",
|
|
87
|
+
"wing": "core"
|
|
71
88
|
},
|
|
72
89
|
{
|
|
73
90
|
"code": "084-008-000-000-000-000-000",
|
|
@@ -76,7 +93,58 @@
|
|
|
76
93
|
"selectable": true,
|
|
77
94
|
"parentCode": null,
|
|
78
95
|
"childCodes": [],
|
|
79
|
-
"definition":
|
|
96
|
+
"definition": null,
|
|
97
|
+
"setBy": "automatic",
|
|
98
|
+
"wing": "core",
|
|
99
|
+
"incompleteInSource": true
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"code": "084-009-000-000-000-000-000",
|
|
103
|
+
"key": "investigation_support",
|
|
104
|
+
"title": "Investigation support",
|
|
105
|
+
"selectable": true,
|
|
106
|
+
"parentCode": null,
|
|
107
|
+
"childCodes": [],
|
|
108
|
+
"definition": "Case or investigative intelligence (identifies people or organizations) disseminated to a LEADS recipient working on some aspect of the inquiry.",
|
|
109
|
+
"setBy": "manual",
|
|
110
|
+
"wing": "leads",
|
|
111
|
+
"needToKnowArm": "assist_support_investigation"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"code": "084-010-000-000-000-000-000",
|
|
115
|
+
"key": "threat_prevention",
|
|
116
|
+
"title": "Threat prevention",
|
|
117
|
+
"selectable": true,
|
|
118
|
+
"parentCode": null,
|
|
119
|
+
"childCodes": [],
|
|
120
|
+
"definition": "A sharing purpose for dissemination that is pertinent and necessary to prevent or mitigate a threat.",
|
|
121
|
+
"setBy": "manual",
|
|
122
|
+
"wing": "leads",
|
|
123
|
+
"needToKnowArm": "prevent_mitigate_threat"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"code": "084-011-000-000-000-000-000",
|
|
127
|
+
"key": "awareness_product",
|
|
128
|
+
"title": "Situational awareness (intelligence product)",
|
|
129
|
+
"selectable": true,
|
|
130
|
+
"parentCode": null,
|
|
131
|
+
"childCodes": [],
|
|
132
|
+
"definition": "A sharing purpose for a de-identified intelligence product — indicators, methodologies, or pattern trends with no identified individuals or organizations.",
|
|
133
|
+
"setBy": "manual",
|
|
134
|
+
"wing": "leads",
|
|
135
|
+
"needToKnowArm": "assumed_for_le"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"code": "084-012-000-000-000-000-000",
|
|
139
|
+
"key": "prosecution_support",
|
|
140
|
+
"title": "Prosecution support",
|
|
141
|
+
"selectable": true,
|
|
142
|
+
"parentCode": null,
|
|
143
|
+
"childCodes": [],
|
|
144
|
+
"definition": "A sharing purpose for material headed toward charging, court filing, or discovery; routes the act to the evidence/discovery export register rather than the dissemination share path.",
|
|
145
|
+
"setBy": "manual",
|
|
146
|
+
"wing": "leads",
|
|
147
|
+
"needToKnowArm": "assist_support_investigation"
|
|
80
148
|
}
|
|
81
149
|
]
|
|
82
150
|
}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "share_response_reason",
|
|
3
|
+
"name": "Core Share Response Reason",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"_status": "CANONICAL — Notion CVC-306 `core-share_response_reason` v1.1, `vocab_status: active` (minted 2026-08-23 in the Crysta-approved steward batch; FULL AUDIT 2026-09-14, SHARING-FAMILY-AUDIT -> Active / 1.1). Exported from prototype canon @ 6c2cfc0a, where it had sat unexported. The STRUCTURED reasons a recipient gives when responding to an inbound case share: ONE codebook with per-CONTEXT selectability (`field_review` · `decline_share` · `reject_share`) carried per entry as `contexts` — a consumer building a picker for one context filters on it, never on `selectable` alone. Rulings encoded upstream (Crysta 2026-08-23): reasons are CHIPS, not prose — an optional free-text note may ride alongside, never instead (R14); reasons NEVER travel to the sender in v1 (R16); 'connected with the person and they didn't want services' is an ACCEPT + CVC-219 why-nots, never a decline (R15). WORDING (title, definition, `guidance`, `logicNotes`) is verbatim from the Notion codebook export, which the yaml mirror's own header says wins on wording; `tobyRetention` is the yaml mirror's policy-as-data column. Positional ordinals 306-001..010 are MINTED in codebook row order (the codebook's Code column carries slugs only) and FROZEN at that key assignment: a new reason appends at 306-011+, a published code is never renumbered or reused. MISSINGNESS is canon's v1.1 shape: ONE ingestion-only sentinel, UNK (key `unknown`, `canonicalCode: UNK`, `selectable: false` — canon: never a picker chip; a reason is required at the act). The codebook's archived row(s) DNC (\"Not a value; never emit\") are OMITTED entirely — no code is assigned, and none ever shipped in a platform-common release. NUMBER: self-declared `cvc_id: CVC-306` and carried by upstream CVC_INDEX.md (`core-share_response_reason`), but the cvcIndex pin (622410b) predates that row, so the drift gate files this domain INDEX_ABSENT until the next pin refresh promotes it to CANONICAL_BINDING.",
|
|
6
|
+
"_source": "htilabstech/prototype/data/cvcs/core_share_response_reason.yaml @ 6c2cfc0a + htilabstech/prototype/Final CVCs/Sharing (IC-65)/core - share_response_reason — codebook.csv @ 6c2cfc0a (Notion CVC-306 v1.1; read from origin/main)",
|
|
7
|
+
"contexts": {
|
|
8
|
+
"field_review": "Field review",
|
|
9
|
+
"decline_share": "Decline share",
|
|
10
|
+
"reject_share": "Reject share"
|
|
11
|
+
},
|
|
12
|
+
"levels": {
|
|
13
|
+
"0": "Unknown or Missing",
|
|
14
|
+
"1": "Share response reason"
|
|
15
|
+
},
|
|
16
|
+
"entries": [
|
|
17
|
+
{
|
|
18
|
+
"code": "306-000-000-000-000-000-000",
|
|
19
|
+
"key": "missingness_root",
|
|
20
|
+
"title": "Unknown, Redacted, or Missing",
|
|
21
|
+
"selectable": false,
|
|
22
|
+
"parentCode": null,
|
|
23
|
+
"childCodes": [
|
|
24
|
+
"306-000-000-000-000-000-001"
|
|
25
|
+
],
|
|
26
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data. Non-standard variant (Unknown only): canonical CVC-306 v1.1 carries ONE ingestion-only sentinel (UNK, the CVC-216 R1 shape); ANON and DNC are deliberately absent, and the codebook's DNC row is [ARCHIVED]. The sentinel is never a picker chip in any context."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"code": "306-000-000-000-000-000-001",
|
|
30
|
+
"key": "unknown",
|
|
31
|
+
"title": "Unknown",
|
|
32
|
+
"selectable": false,
|
|
33
|
+
"parentCode": "306-000-000-000-000-000-000",
|
|
34
|
+
"childCodes": [],
|
|
35
|
+
"definition": "Unknown or cannot be determined from the available information.",
|
|
36
|
+
"canonicalCode": "UNK",
|
|
37
|
+
"contexts": [],
|
|
38
|
+
"guidance": null,
|
|
39
|
+
"logicNotes": "House missingness convention (L0) — the ONE sentinel (CVC-216 R1 shape, applied 2026-09-14): reserved for ingested share responses whose source never recorded a reason. Never a picker chip in any context (a reason is required at the act). ANON and DNC deliberately absent (declared).",
|
|
40
|
+
"tobyRetention": {
|
|
41
|
+
"class": "tombstone_retain",
|
|
42
|
+
"stewardFlag": true
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"code": "306-001-000-000-000-000-000",
|
|
47
|
+
"key": "information_incorrect",
|
|
48
|
+
"title": "The information is incorrect",
|
|
49
|
+
"selectable": true,
|
|
50
|
+
"parentCode": null,
|
|
51
|
+
"childCodes": [],
|
|
52
|
+
"definition": "The value is wrong — it does not match reality as the recipient knows it.",
|
|
53
|
+
"contexts": [
|
|
54
|
+
"field_review"
|
|
55
|
+
],
|
|
56
|
+
"guidance": "The highest-signal code for platform accuracy learning: an explicit human judgment that the sender's record is wrong on this point.",
|
|
57
|
+
"logicNotes": "Sibling of core - record_removal_reason's created_in_error / value-incorrect family.",
|
|
58
|
+
"tobyRetention": {
|
|
59
|
+
"class": "supersede"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"code": "306-002-000-000-000-000-000",
|
|
64
|
+
"key": "not_relevant_for_client",
|
|
65
|
+
"title": "Not relevant for my client",
|
|
66
|
+
"selectable": true,
|
|
67
|
+
"parentCode": null,
|
|
68
|
+
"childCodes": [],
|
|
69
|
+
"definition": "The information may be true, but it doesn't belong in this client's record for the services this agency provides.",
|
|
70
|
+
"contexts": [
|
|
71
|
+
"field_review"
|
|
72
|
+
],
|
|
73
|
+
"guidance": "Deliberately distinct from information_incorrect — relevance and accuracy must never collapse into one code (the RemoveAssetFlow lesson).",
|
|
74
|
+
"logicNotes": null,
|
|
75
|
+
"tobyRetention": {
|
|
76
|
+
"class": "tombstone_retain"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"code": "306-003-000-000-000-000-000",
|
|
81
|
+
"key": "duplicate_already_have",
|
|
82
|
+
"title": "Duplicate of what we have",
|
|
83
|
+
"selectable": true,
|
|
84
|
+
"parentCode": null,
|
|
85
|
+
"childCodes": [],
|
|
86
|
+
"definition": "The recipient already holds this information (or this whole share duplicates one already received).",
|
|
87
|
+
"contexts": [
|
|
88
|
+
"field_review",
|
|
89
|
+
"decline_share"
|
|
90
|
+
],
|
|
91
|
+
"guidance": "Field review: the incoming value adds nothing. Decline: the share as a whole duplicates a prior one.",
|
|
92
|
+
"logicNotes": null,
|
|
93
|
+
"tobyRetention": {
|
|
94
|
+
"class": "tombstone_retain",
|
|
95
|
+
"engineSignal": "same_thing"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"code": "306-004-000-000-000-000-000",
|
|
100
|
+
"key": "client_declined_recording",
|
|
101
|
+
"title": "Client asked us not to record this",
|
|
102
|
+
"selectable": true,
|
|
103
|
+
"parentCode": null,
|
|
104
|
+
"childCodes": [],
|
|
105
|
+
"definition": "The client asked this agency not to hold this information on file.",
|
|
106
|
+
"contexts": [
|
|
107
|
+
"field_review"
|
|
108
|
+
],
|
|
109
|
+
"guidance": "A consent judgment, not an accuracy judgment — platform learning must never read this as evidence the value is wrong.",
|
|
110
|
+
"logicNotes": "Interacts with the subpoena-exposure balancing test (GDR § 5.61): the advocate is weighing legal-harm risk against service value.",
|
|
111
|
+
"tobyRetention": {
|
|
112
|
+
"class": "inclusion_register"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"code": "306-005-000-000-000-000-000",
|
|
117
|
+
"key": "wrong_agency_service_area",
|
|
118
|
+
"title": "Wrong agency / outside our service area",
|
|
119
|
+
"selectable": true,
|
|
120
|
+
"parentCode": null,
|
|
121
|
+
"childCodes": [],
|
|
122
|
+
"definition": "This share should not have come to this agency — wrong coverage area or wrong service type.",
|
|
123
|
+
"contexts": [
|
|
124
|
+
"decline_share"
|
|
125
|
+
],
|
|
126
|
+
"guidance": "Decline-only: a routing miss, decided before engaging the content.",
|
|
127
|
+
"logicNotes": null,
|
|
128
|
+
"tobyRetention": {
|
|
129
|
+
"class": "retain_event"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"code": "306-006-000-000-000-000-000",
|
|
134
|
+
"key": "not_our_client",
|
|
135
|
+
"title": "Not our client",
|
|
136
|
+
"selectable": true,
|
|
137
|
+
"parentCode": null,
|
|
138
|
+
"childCodes": [],
|
|
139
|
+
"definition": "This person is not (and will not become) a client of this agency.",
|
|
140
|
+
"contexts": [
|
|
141
|
+
"decline_share"
|
|
142
|
+
],
|
|
143
|
+
"guidance": "Decline-only. NOT for the turned-away scenario — if the person was actually reached and chose no services, that's an ACCEPT with offered services + why-nots recorded.",
|
|
144
|
+
"logicNotes": null,
|
|
145
|
+
"tobyRetention": {
|
|
146
|
+
"class": "retain_event"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"code": "306-007-000-000-000-000-000",
|
|
151
|
+
"key": "sent_in_error",
|
|
152
|
+
"title": "Sent in error",
|
|
153
|
+
"selectable": true,
|
|
154
|
+
"parentCode": null,
|
|
155
|
+
"childCodes": [],
|
|
156
|
+
"definition": "The sender shared this by mistake (confirmed with the sender or evident from the content).",
|
|
157
|
+
"contexts": [
|
|
158
|
+
"decline_share",
|
|
159
|
+
"reject_share"
|
|
160
|
+
],
|
|
161
|
+
"guidance": "Available at decline (before engaging) and reject (discovered during review).",
|
|
162
|
+
"logicNotes": null,
|
|
163
|
+
"tobyRetention": {
|
|
164
|
+
"class": "retain_event"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"code": "306-008-000-000-000-000-000",
|
|
169
|
+
"key": "no_capacity",
|
|
170
|
+
"title": "No capacity right now",
|
|
171
|
+
"selectable": true,
|
|
172
|
+
"parentCode": null,
|
|
173
|
+
"childCodes": [],
|
|
174
|
+
"definition": "The agency cannot take this on at the moment.",
|
|
175
|
+
"contexts": [
|
|
176
|
+
"decline_share"
|
|
177
|
+
],
|
|
178
|
+
"guidance": "Decline-only; honest operational reason — the sender can re-share later (a re-claim starts fresh).",
|
|
179
|
+
"logicNotes": null,
|
|
180
|
+
"tobyRetention": {
|
|
181
|
+
"class": "retain_event"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"code": "306-009-000-000-000-000-000",
|
|
186
|
+
"key": "cannot_verify_conflicts",
|
|
187
|
+
"title": "Can't verify — conflicts with the client's account",
|
|
188
|
+
"selectable": true,
|
|
189
|
+
"parentCode": null,
|
|
190
|
+
"childCodes": [],
|
|
191
|
+
"definition": "The delivered content conflicts with what the client has told this agency directly, and cannot be verified.",
|
|
192
|
+
"contexts": [
|
|
193
|
+
"reject_share"
|
|
194
|
+
],
|
|
195
|
+
"guidance": "Reject-only: a whole-share trust judgment after review. High-signal for deconfliction/accuracy learning.",
|
|
196
|
+
"logicNotes": null,
|
|
197
|
+
"tobyRetention": {
|
|
198
|
+
"class": "retain_event"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"code": "306-010-000-000-000-000-000",
|
|
203
|
+
"key": "wrong_person",
|
|
204
|
+
"title": "Wrong person",
|
|
205
|
+
"selectable": true,
|
|
206
|
+
"parentCode": null,
|
|
207
|
+
"childCodes": [],
|
|
208
|
+
"definition": "Review made clear the shared content is about a different person than the recipient's client.",
|
|
209
|
+
"contexts": [
|
|
210
|
+
"reject_share"
|
|
211
|
+
],
|
|
212
|
+
"guidance": "Reject-only. Case identity, never person identity: the fix is rejecting the share — no cross-agency person merge exists or ever will.",
|
|
213
|
+
"logicNotes": null,
|
|
214
|
+
"tobyRetention": {
|
|
215
|
+
"class": "retain_event",
|
|
216
|
+
"engineSignal": "cross_agency_wrongness"
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
]
|
|
220
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "subject_type",
|
|
3
|
+
"name": "Subject Type",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"_status": "PROVISIONAL — GDR §10.1 confirmed-CVC name is `core - subject_type`, but Final CVCs/CVC_INDEX.md @ a596eb9 carries no number for it, so it parks in the provisional 900-block pending canonical Notion authoring + steward ratification. Substantive values sourced verbatim from the PAVE @pave/domain `SUBJECT_TYPES` enum (D10 GDR §10.1 bulk publish, bead pv-pgdr-cvc-source-gdr-10-1-bulk-publish). The PAVE enum enumerates only the substantive entity kinds, so the missingness quadruplet is added per SOT convention.",
|
|
6
|
+
"_source": "pave-2.0/packages/domain/src/enums.ts SUBJECT_TYPES",
|
|
7
|
+
"levels": {
|
|
8
|
+
"0": "Unknown or Missing",
|
|
9
|
+
"1": "Assertion subject type"
|
|
10
|
+
},
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"code": "987-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
|
+
"987-000-000-000-000-000-001",
|
|
20
|
+
"987-000-000-000-000-000-002",
|
|
21
|
+
"987-000-000-000-000-000-003"
|
|
22
|
+
],
|
|
23
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"code": "987-000-000-000-000-000-001",
|
|
27
|
+
"key": "unknown",
|
|
28
|
+
"title": "Unknown",
|
|
29
|
+
"selectable": true,
|
|
30
|
+
"parentCode": "987-000-000-000-000-000-000",
|
|
31
|
+
"childCodes": [],
|
|
32
|
+
"definition": "The subject type is unknown at time of entry (missingness sentinel)."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"code": "987-000-000-000-000-000-002",
|
|
36
|
+
"key": "anonymous",
|
|
37
|
+
"title": "Anonymous / declined to answer",
|
|
38
|
+
"selectable": true,
|
|
39
|
+
"parentCode": "987-000-000-000-000-000-000",
|
|
40
|
+
"childCodes": [],
|
|
41
|
+
"definition": "Value is intentionally withheld, declined, or redacted."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"code": "987-000-000-000-000-000-003",
|
|
45
|
+
"key": "data_not_collected",
|
|
46
|
+
"title": "Data not collected",
|
|
47
|
+
"selectable": true,
|
|
48
|
+
"parentCode": "987-000-000-000-000-000-000",
|
|
49
|
+
"childCodes": [],
|
|
50
|
+
"definition": "No attempt was made to collect the value."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"code": "987-001-000-000-000-000-000",
|
|
54
|
+
"key": "person",
|
|
55
|
+
"title": "Person",
|
|
56
|
+
"selectable": true,
|
|
57
|
+
"parentCode": null,
|
|
58
|
+
"childCodes": [],
|
|
59
|
+
"definition": "The assertion is about a person; `subject_id` resolves to a person record. Emitting systems typically default to this value (e.g. PAVE's assertion factory defaults `subjectType: \"person\"`)."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "987-002-000-000-000-000-000",
|
|
63
|
+
"key": "relationship",
|
|
64
|
+
"title": "Relationship",
|
|
65
|
+
"selectable": true,
|
|
66
|
+
"parentCode": null,
|
|
67
|
+
"childCodes": [],
|
|
68
|
+
"definition": "The assertion is about a relationship between people; `subject_id` resolves to a relationship record."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"code": "987-003-000-000-000-000-000",
|
|
72
|
+
"key": "case",
|
|
73
|
+
"title": "Case",
|
|
74
|
+
"selectable": true,
|
|
75
|
+
"parentCode": null,
|
|
76
|
+
"childCodes": [],
|
|
77
|
+
"definition": "The assertion is about a case; `subject_id` resolves to a case record."
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|