@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,89 @@
1
+ {
2
+ "domain": "action_step_completion_status",
3
+ "name": "Action Step Completion 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_action_step_completion_status.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
6
+ "_source": "prototype/data/cvcs/core_action_step_completion_status.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Action step completion status"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "901-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
+ "901-000-000-000-000-000-001",
20
+ "901-000-000-000-000-000-002",
21
+ "901-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) under the workspace standard ANON semantic. Distinct from the canonical UNKNOWN_NA / UNANSWERED operational states below, which are first-class completion outcomes, not missingness sentinels."
24
+ },
25
+ {
26
+ "code": "901-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "901-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Value is unknown at time of entry."
33
+ },
34
+ {
35
+ "code": "901-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "901-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": "901-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "901-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "901-001-000-000-000-000-000",
54
+ "key": "yes",
55
+ "title": "Yes",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Action step was completed. Triggers completion-date capture. (Code quoted in the prototype YAML to prevent PyYAML boolean parsing.)"
60
+ },
61
+ {
62
+ "code": "901-002-000-000-000-000-000",
63
+ "key": "no",
64
+ "title": "No",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Action step was not completed (yet). May be revisited at a future check-in. (Code quoted in the prototype YAML to prevent PyYAML boolean parsing.)"
69
+ },
70
+ {
71
+ "code": "901-003-000-000-000-000-000",
72
+ "key": "unknown_na",
73
+ "title": "Unknown / N/A",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Step's completion status is unknown OR not applicable. Per The Spring's canonical structure, fused as one option — separating Unknown from N/A adds capture friction without adding analytic clarity for goal tracking. Preserved as a first-class operational value distinct from the missingness_root sentinels."
78
+ },
79
+ {
80
+ "code": "901-004-000-000-000-000-000",
81
+ "key": "unanswered",
82
+ "title": "Unanswered",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Step has not been reviewed yet. Default on action step creation; flipped to one of the other three values when the advocate reviews progress at a check-in."
87
+ }
88
+ ]
89
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "domain": "action_step_type",
3
+ "name": "Action Step 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_action_step_type.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). NOTE: the prototype YAML declares no L0 missingness sentinels ('every action step is one type or the other by construction'); missingness_root is added here for shape parity with the SOT contract but is non-selectable.",
6
+ "_source": "prototype/data/cvcs/core_action_step_type.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Action step type"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "902-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
+ "902-000-000-000-000-000-001",
20
+ "902-000-000-000-000-000-002",
21
+ "902-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) under the workspace standard ANON semantic. Per the prototype YAML this CVC is an internal field with no user-facing missingness — every action step is CLIENT_ACTION or ADVOCATE_ACTION by construction — but the missingness_root is retained for SOT shape parity."
24
+ },
25
+ {
26
+ "code": "902-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "902-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Value is unknown at time of entry."
33
+ },
34
+ {
35
+ "code": "902-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "902-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": "902-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "902-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "902-001-000-000-000-000-000",
54
+ "key": "client_action",
55
+ "title": "Client action step",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "An action the client commits to taking to move the goal forward. Belongs to the survivor per OAC 75:30-3-1(c) self-determination."
60
+ },
61
+ {
62
+ "code": "902-002-000-000-000-000-000",
63
+ "key": "advocate_action",
64
+ "title": "Advocate action step",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "An action the advocate commits to taking in support of the client's goal. Distinct from client action — keeps the agency boundary clear in the record."
69
+ }
70
+ ]
71
+ }
@@ -0,0 +1,80 @@
1
+ {
2
+ "domain": "announcement_audience_scope",
3
+ "name": "Announcement Audience Scope",
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_announcement_audience_scope.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). v1 ships only the three scopes below; AGENCY and SECTOR are deferred v2 candidates in the prototype YAML and are NOT yet authored here.",
6
+ "_source": "prototype/data/cvcs/core_announcement_audience_scope.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Announcement audience scope"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "903-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
+ "903-000-000-000-000-000-001",
20
+ "903-000-000-000-000-000-002",
21
+ "903-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) under the workspace standard ANON semantic."
24
+ },
25
+ {
26
+ "code": "903-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "903-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Value is unknown at time of entry."
33
+ },
34
+ {
35
+ "code": "903-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "903-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": "903-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "903-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "903-001-000-000-000-000-000",
54
+ "key": "all",
55
+ "title": "All Platform Members",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Network-wide broadcast. Every authenticated Platform Member receives the announcement. Use for governance updates, feature releases, all-hands office hours, urgent maintenance windows. No filter value required."
60
+ },
61
+ {
62
+ "code": "903-002-000-000-000-000-000",
63
+ "key": "role",
64
+ "title": "By role",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Targeted to all Platform Members with a specific role. Horizontal cross-agency cut. Filter value is a role code from IC-66 (e.g., 'MEM-ADM' for member-account admins, 'CASE-ADV' for case advocates). Use for role-specific updates ('all administrators: new audit log feature', 'all Case Advocates: training session next Friday')."
69
+ },
70
+ {
71
+ "code": "903-003-000-000-000-000-000",
72
+ "key": "working_group",
73
+ "title": "By Working Group",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Targeted to members of a specific Working Group. Filter value is a working_group_id. Use for recurring meeting notes, sub-team coordination, sensitive case consultations within an MDT. Working Group admins may also have publish authority per Q15 v2."
78
+ }
79
+ ]
80
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "domain": "announcement_response_type",
3
+ "name": "Announcement Response 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_announcement_response_type.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog).",
6
+ "_source": "prototype/data/cvcs/core_announcement_response_type.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Announcement response type"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "904-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
+ "904-000-000-000-000-000-001",
20
+ "904-000-000-000-000-000-002",
21
+ "904-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) under the workspace standard ANON semantic. Distinct from the NONE ('no response needed') operational value below, which is a deliberate read-only configuration rather than missing data."
24
+ },
25
+ {
26
+ "code": "904-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "904-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Value is unknown at time of entry."
33
+ },
34
+ {
35
+ "code": "904-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "904-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": "904-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "904-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "904-001-000-000-000-000-000",
54
+ "key": "none",
55
+ "title": "No response needed",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Read-only feed item. Recipients see the announcement; no explicit response captured. Use for FYI announcements where the author doesn't need to track engagement (e.g., 'New governance documents published — see Network tab')."
60
+ },
61
+ {
62
+ "code": "904-002-000-000-000-000-000",
63
+ "key": "acknowledge",
64
+ "title": "Acknowledge",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Read-receipt response. Recipient clicks 'Got it' / 'Saw this'; tracked for the author. Use for compliance-style announcements where the author needs proof of receipt but no further engagement (e.g., 'Policy update: please acknowledge by EOD Friday')."
69
+ },
70
+ {
71
+ "code": "904-003-000-000-000-000-000",
72
+ "key": "rsvp",
73
+ "title": "RSVP",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Calendar-event-shape response per Q4 v2 default. Recipient selects Yes / Maybe / No (see core_rsvp_response). Tracked attendance counts visible to the author. Use for office hours, live trainings, network events, working-group meetings."
78
+ },
79
+ {
80
+ "code": "904-004-000-000-000-000-000",
81
+ "key": "register",
82
+ "title": "Register",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Click-through to an external registration surface (a training enrollment page, an event registration form, a survey link, etc.). Tracks click-throughs for the author. Use when registration happens on a separate surface that has its own enrollment mechanics."
87
+ }
88
+ ]
89
+ }
@@ -0,0 +1,123 @@
1
+ {
2
+ "domain": "basis_quick_picks",
3
+ "name": "Basis Quick-Picks (How Do We Know?)",
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_basis_quick_picks.yaml; PENDING canonical Notion authoring (PAVE Auditability backlog). NON-FLAT STRUCTURE: the prototype YAML defines seven pre-resolved (source_category, source_subtype) TUPLES surfaced as quick-pick chips (chip_id, not a source code), NOT a flat code list. Each entry here = one chip; the resolved tuple is carried in the definition and in the _tuple field. The eighth UX chip (+ Other source / refine) is an escape hatch into the full CVC-140 / CVC-140-child taxonomy and is intentionally NOT in this set. (Prototype vocab_status was canonical-frozen, but no platform-common Notion CVC exists yet.)",
6
+ "_source": "prototype/data/cvcs/core_basis_quick_picks.yaml",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Basis quick-pick chip (source_category, source_subtype tuple)"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "905-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
+ "905-000-000-000-000-000-001",
20
+ "905-000-000-000-000-000-002",
21
+ "905-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected basis. Variant: 3-value (unknown, anonymous, data_not_collected) under the workspace standard ANON semantic. In the canonical UX, no quick-pick is the unresolved state; these sentinels are provided for SOT parity."
24
+ },
25
+ {
26
+ "code": "905-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "905-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Basis is unknown at time of entry."
33
+ },
34
+ {
35
+ "code": "905-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "905-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Basis is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
42
+ },
43
+ {
44
+ "code": "905-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "905-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the basis."
51
+ },
52
+ {
53
+ "code": "905-001-000-000-000-000-000",
54
+ "key": "client_disclosed_directly",
55
+ "title": "Client disclosed directly",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "_tuple": { "source_category": "HUMAN", "source_subtype": "VICTIM_DISCLOSURE" },
60
+ "definition": "Subject directly disclosed during interview, intake, or assessment. Resolves to the tuple (source_category=HUMAN, source_subtype=VICTIM_DISCLOSURE) per CVC-140-child. ordering=1."
61
+ },
62
+ {
63
+ "code": "905-002-000-000-000-000-000",
64
+ "key": "third_party_reported",
65
+ "title": "Third party reported",
66
+ "selectable": true,
67
+ "parentCode": null,
68
+ "childCodes": [],
69
+ "_tuple": { "source_category": "HUMAN", "source_subtype": "THIRD_PARTY_REPORT" },
70
+ "definition": "Another person (family, friend, community member, anonymous tipster, or other non-subject reporter) reported information about the subject. Resolves to the tuple (source_category=HUMAN, source_subtype=THIRD_PARTY_REPORT) per CVC-140-child. ordering=2."
71
+ },
72
+ {
73
+ "code": "905-003-000-000-000-000-000",
74
+ "key": "staff_observed",
75
+ "title": "Staff observed",
76
+ "selectable": true,
77
+ "parentCode": null,
78
+ "childCodes": [],
79
+ "_tuple": { "source_category": "HUMAN", "source_subtype": "STAFF_OBSERVATION" },
80
+ "definition": "First-hand observation by staff during service delivery or field work — directly witnessed, not inferred. Resolves to the tuple (source_category=HUMAN, source_subtype=STAFF_OBSERVATION) per CVC-140-child. If the basis is interpretation rather than direct witness, the escape-hatch route refines to SERVICE_PROVIDER_ASSESSMENT or LAW_ENFORCEMENT_ASSESSMENT. ordering=3."
81
+ },
82
+ {
83
+ "code": "905-004-000-000-000-000-000",
84
+ "key": "provider_assessed",
85
+ "title": "Provider assessed",
86
+ "selectable": true,
87
+ "parentCode": null,
88
+ "childCodes": [],
89
+ "_tuple": { "source_category": "HUMAN", "source_subtype": "SERVICE_PROVIDER_ASSESSMENT" },
90
+ "definition": "Assessment or professional judgment by a service provider (counselor, advocate, clinician, etc.). Resolves to the tuple (source_category=HUMAN, source_subtype=SERVICE_PROVIDER_ASSESSMENT) per CVC-140-child. ordering=4."
91
+ },
92
+ {
93
+ "code": "905-005-000-000-000-000-000",
94
+ "key": "record_document_reviewed",
95
+ "title": "Record / document reviewed",
96
+ "selectable": true,
97
+ "parentCode": null,
98
+ "childCodes": [],
99
+ "_tuple": { "source_category": "LEGAL_EVIDENTIARY", "source_subtype": "COURT_RECORD" },
100
+ "definition": "Generic 'advocate read a record / document' catch-all. Default resolves to the tuple (source_category=LEGAL_EVIDENTIARY, source_subtype=COURT_RECORD) — the most-common default for this chip in advocate workflow. The escape-hatch route refines to other LEGAL_EVIDENTIARY subtypes (CHARGE_DOCUMENT, CONVICTION_RECORD, OFFICIAL_ID_DOCUMENT, SEARCH_WARRANT_RETURN) or to INSTITUTIONAL_RECORD subtypes (MEDICAL_RECORD, FORENSIC_MEDICAL_EXAM, PARTNER_AGENCY_CASE_NOTE, SCHOOL_RECORD, EMPLOYMENT_HR_RECORD, BENEFITS_RECORD, IMMIGRATION_RECORD, CORRECTIONS_RECORD, CHILD_WELFARE_RECORD, SERVICE_PROVIDER_CASE_NOTE, SHELTER_PROGRAM_RECORD). ordering=5."
101
+ },
102
+ {
103
+ "code": "905-006-000-000-000-000-000",
104
+ "key": "public_source_online",
105
+ "title": "Public source / online",
106
+ "selectable": true,
107
+ "parentCode": null,
108
+ "childCodes": [],
109
+ "_tuple": { "source_category": "OPEN_SOURCE", "source_subtype": "SOCIAL_MEDIA" },
110
+ "definition": "OSINT / public-source basis catch-all. Default resolves to the tuple (source_category=OPEN_SOURCE, source_subtype=SOCIAL_MEDIA) — the most-common open-source basis in advocate workflow. The escape-hatch route refines to ADS_PROFILE_WEBSITE, NEWS_MEDIA, PUBLIC_REGISTRY, or REVIEWS_FORUMS_COMMENTS. ordering=6."
111
+ },
112
+ {
113
+ "code": "905-007-000-000-000-000-000",
114
+ "key": "system_imported_machine_derived",
115
+ "title": "System / imported / machine-derived",
116
+ "selectable": true,
117
+ "parentCode": null,
118
+ "childCodes": [],
119
+ "_tuple": { "source_category": "MACHINE", "source_subtype": "SYSTEM_IMPORT" },
120
+ "definition": "Machine-produced basis catch-all. Default resolves to the tuple (source_category=MACHINE, source_subtype=SYSTEM_IMPORT) — the most-common machine basis in advocate workflow (values flowing in from upstream systems / migrations / syncs). The escape-hatch route refines to MODEL_OUTPUT, RULES_ENGINE, PARSER_EXTRACTION, or AGGREGATION_OUTPUT. MACHINE-category emissions also require inference_type when created_by_system is in {rules_engine, model}. ordering=7."
121
+ }
122
+ ]
123
+ }