@htilabs/platform-common-models 0.13.0 → 0.13.1
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/constants/index.cjs +73 -0
- 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 +69 -0
- package/dist/constants/index.js.map +1 -1
- package/dist/{cvcEntry-ctHTp2df.d.cts → cvcEntry-0BIB9sen.d.cts} +36 -36
- package/dist/{cvcEntry-ctHTp2df.d.ts → cvcEntry-0BIB9sen.d.ts} +36 -36
- package/dist/cvcs/index.cjs +466 -107
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +489 -110
- package/dist/cvcs/index.d.ts +489 -110
- package/dist/cvcs/index.js +466 -107
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +15 -1
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.cts +21 -7
- package/dist/enums/index.d.ts +21 -7
- package/dist/enums/index.js +15 -1
- package/dist/enums/index.js.map +1 -1
- package/dist/{index-4DiJrn7y.d.ts → index-CDoqrfc1.d.ts} +1 -1
- package/dist/{index-qreOzXYS.d.cts → index-Zu_mOJRn.d.cts} +1 -1
- package/dist/index.cjs +554 -108
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +550 -108
- 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/{platform-auth-Dv5fu0Fh.d.cts → platform-auth-64U8jjuw.d.cts} +71 -2
- package/dist/{platform-auth-Dv5fu0Fh.d.ts → platform-auth-64U8jjuw.d.ts} +71 -2
- package/dist/schemas/index.cjs +62 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +11 -11
- package/dist/schemas/index.d.ts +11 -11
- package/dist/schemas/index.js +62 -0
- 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/package.json +26 -27
- package/src/__tests__/__snapshots__/cvc-sot.snap +9 -9
- package/src/__tests__/cvc-drift-gate.test.ts +16 -5
- package/src/__tests__/cvc-sot-snapshot.test.ts +18 -11
- package/src/__tests__/cvc-structural.test.ts +7 -7
- package/src/__tests__/incident-participation-roles-canon.test.ts +424 -0
- package/src/__tests__/referral-entity-category-canon.test.ts +383 -0
- package/src/constants/ic.ts +158 -0
- package/src/cvcs/{highestEducationLevelCompleted.v1.0.0.json → highestEducationLevelCompleted.v1.1.0.json} +1 -1
- package/src/cvcs/incidentParticipationRoles.v1.1.0.json +433 -0
- package/src/cvcs/{incomeBenefitsSources.v1.0.0.json → incomeBenefitsSources.v1.1.0.json} +1 -1
- package/src/cvcs/index.ts +7 -7
- package/src/cvcs/{referralEntityCategory.v1.0.0.json → referralEntityCategory.v1.1.0.json} +192 -54
- package/src/cvcs/{serviceStates.v1.0.0.json → serviceStates.v1.1.0.json} +1 -1
- package/src/cvcs/{sourceSubtype.v1.1.0.json → sourceSubtype.v1.2.0.json} +1 -1
- package/src/cvcs/{verificationMethod.v1.0.0.json → verificationMethod.v1.1.0.json} +1 -1
- package/src/generated/cvc-enums.ts +21 -7
- package/src/cvcs/incidentParticipationRoles.v1.0.0.json +0 -212
package/dist/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { e8 as PlatformToolValue, cE as FunctionStatusValue, ev as RoleLevelValue, eG as ShareViewValue, e4 as PermissionStateValue } from '../platform-auth-64U8jjuw.cjs';
|
|
2
|
+
export { i as AccommodationValue, k as AgeBinReportingValue, l as AppScopeValue, m as ApparentAgeValue, ct as DataQualityValue, cC as FormStatusValue, cD as FormTypeValue, cF as IC13Category, cH as IC13Value, cI as IC22Value, cJ as IC23Value, cK as IC24Value, cL as IC25Value, cM as IC49ReferralOutcomeValue, cN as IC49ReferralVerificationValue, cO as IC49Value, cP as IC4Value, cR as IC56Value, cS as IC57Value, cU as IC58Value, cV as IC59Value, cW as IC5Value, dM as IncidentInvolvementRoleValue, dN as IncidentParticipationRoleValue, dO as InteractionTypeValue, dR as MinorAdultStatusValue, e5 as PersonDisplayCategoryValue, e6 as PersonRoleValue, e7 as PersonTypeValue, ee as QuestionFormatValue, ef as QuickStartTemplateId, er as RecordStateValue, et as RelationshipConcernValue, eu as RelationshipDynamicValue, eF as SessionStateValue, eH as SubmissionStateValue, eL as UserStatusValue } from '../platform-auth-64U8jjuw.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @htilabs/platform-common-models — Platform Authorization Types
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { e8 as PlatformToolValue, cE as FunctionStatusValue, ev as RoleLevelValue, eG as ShareViewValue, e4 as PermissionStateValue } from '../platform-auth-64U8jjuw.js';
|
|
2
|
+
export { i as AccommodationValue, k as AgeBinReportingValue, l as AppScopeValue, m as ApparentAgeValue, ct as DataQualityValue, cC as FormStatusValue, cD as FormTypeValue, cF as IC13Category, cH as IC13Value, cI as IC22Value, cJ as IC23Value, cK as IC24Value, cL as IC25Value, cM as IC49ReferralOutcomeValue, cN as IC49ReferralVerificationValue, cO as IC49Value, cP as IC4Value, cR as IC56Value, cS as IC57Value, cU as IC58Value, cV as IC59Value, cW as IC5Value, dM as IncidentInvolvementRoleValue, dN as IncidentParticipationRoleValue, dO as InteractionTypeValue, dR as MinorAdultStatusValue, e5 as PersonDisplayCategoryValue, e6 as PersonRoleValue, e7 as PersonTypeValue, ee as QuestionFormatValue, ef as QuickStartTemplateId, er as RecordStateValue, et as RelationshipConcernValue, eu as RelationshipDynamicValue, eF as SessionStateValue, eH as SubmissionStateValue, eL as UserStatusValue } from '../platform-auth-64U8jjuw.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @htilabs/platform-common-models — Platform Authorization Types
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htilabs/platform-common-models",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"description": "Shared constants, types, and models for HTI Labs applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -67,31 +67,6 @@
|
|
|
67
67
|
"dist",
|
|
68
68
|
"src"
|
|
69
69
|
],
|
|
70
|
-
"scripts": {
|
|
71
|
-
"build": "tsup",
|
|
72
|
-
"dev": "tsup --watch",
|
|
73
|
-
"typecheck": "tsc --noEmit && tsc --noEmit -p scripts/tsconfig.json",
|
|
74
|
-
"lint": "eslint src --ext .ts",
|
|
75
|
-
"lint:fix": "eslint src --ext .ts --fix",
|
|
76
|
-
"test": "vitest run",
|
|
77
|
-
"test:watch": "vitest",
|
|
78
|
-
"test:snapshot": "UPDATE_SNAPSHOT=1 vitest run",
|
|
79
|
-
"clean": "rm -rf dist",
|
|
80
|
-
"codegen:cvc": "tsx scripts/codegen-cvc-enums.ts",
|
|
81
|
-
"codegen:cvc:check": "tsx scripts/codegen-cvc-enums.ts --check",
|
|
82
|
-
"import:cvcs": "node scripts/import-prototype-cvcs.mjs",
|
|
83
|
-
"sot:pins": "tsx scripts/sot-pins.ts",
|
|
84
|
-
"sot:pins:check": "tsx scripts/sot-pins.ts --check",
|
|
85
|
-
"gate:cvc": "vitest run src/__tests__/cvc-drift-gate.test.ts",
|
|
86
|
-
"bridge:codebook": "tsx scripts/codebook-bridge.ts",
|
|
87
|
-
"bridge:codebook:check": "tsx scripts/codebook-bridge.ts --check",
|
|
88
|
-
"test:bridge": "node --import tsx --test scripts/codebook-bridge.test.ts",
|
|
89
|
-
"seed:cvc": "tsx scripts/seed-cvc.ts",
|
|
90
|
-
"seed:cvc:all": "tsx scripts/seed-all-cvcs.ts",
|
|
91
|
-
"test:seed": "node --import tsx --test scripts/seed-cvc.test.ts",
|
|
92
|
-
"test:guard": "node --import tsx --test scripts/lib/confirmTargetDb.test.ts",
|
|
93
|
-
"prepublishOnly": "npm run build"
|
|
94
|
-
},
|
|
95
70
|
"keywords": [
|
|
96
71
|
"hti",
|
|
97
72
|
"platform-common",
|
|
@@ -126,5 +101,29 @@
|
|
|
126
101
|
},
|
|
127
102
|
"engines": {
|
|
128
103
|
"node": ">=18.0.0"
|
|
104
|
+
},
|
|
105
|
+
"scripts": {
|
|
106
|
+
"build": "tsup",
|
|
107
|
+
"dev": "tsup --watch",
|
|
108
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p scripts/tsconfig.json",
|
|
109
|
+
"lint": "eslint src --ext .ts",
|
|
110
|
+
"lint:fix": "eslint src --ext .ts --fix",
|
|
111
|
+
"test": "vitest run",
|
|
112
|
+
"test:watch": "vitest",
|
|
113
|
+
"test:snapshot": "UPDATE_SNAPSHOT=1 vitest run",
|
|
114
|
+
"clean": "rm -rf dist",
|
|
115
|
+
"codegen:cvc": "tsx scripts/codegen-cvc-enums.ts",
|
|
116
|
+
"codegen:cvc:check": "tsx scripts/codegen-cvc-enums.ts --check",
|
|
117
|
+
"import:cvcs": "node scripts/import-prototype-cvcs.mjs",
|
|
118
|
+
"sot:pins": "tsx scripts/sot-pins.ts",
|
|
119
|
+
"sot:pins:check": "tsx scripts/sot-pins.ts --check",
|
|
120
|
+
"gate:cvc": "vitest run src/__tests__/cvc-drift-gate.test.ts",
|
|
121
|
+
"bridge:codebook": "tsx scripts/codebook-bridge.ts",
|
|
122
|
+
"bridge:codebook:check": "tsx scripts/codebook-bridge.ts --check",
|
|
123
|
+
"test:bridge": "node --import tsx --test scripts/codebook-bridge.test.ts",
|
|
124
|
+
"seed:cvc": "tsx scripts/seed-cvc.ts",
|
|
125
|
+
"seed:cvc:all": "tsx scripts/seed-all-cvcs.ts",
|
|
126
|
+
"test:seed": "node --import tsx --test scripts/seed-cvc.test.ts",
|
|
127
|
+
"test:guard": "node --import tsx --test scripts/lib/confirmTargetDb.test.ts"
|
|
129
128
|
}
|
|
130
|
-
}
|
|
129
|
+
}
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
},
|
|
9
9
|
"service_states": {
|
|
10
10
|
"count": 17,
|
|
11
|
-
"hash": "
|
|
11
|
+
"hash": "feb8082236c8c8c1e8d09b1598e9189b0277ba28e3e982f4f37ac883bfb0df74"
|
|
12
12
|
},
|
|
13
13
|
"service_categories": {
|
|
14
14
|
"count": 151,
|
|
15
15
|
"hash": "68c5fee27fb5826ed86ff8e9387ec00ae8813029c87f9d5349c7ce2d5c640eaf"
|
|
16
16
|
},
|
|
17
17
|
"incident_participation_roles": {
|
|
18
|
-
"count":
|
|
19
|
-
"hash": "
|
|
18
|
+
"count": 31,
|
|
19
|
+
"hash": "6adce39a5eadf10542f19dfb2b57351baaf40226e42b14558ea475d873654a05"
|
|
20
20
|
},
|
|
21
21
|
"incident_involvement_roles": {
|
|
22
22
|
"count": 10,
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
},
|
|
93
93
|
"highest_education_level_completed": {
|
|
94
94
|
"count": 13,
|
|
95
|
-
"hash": "
|
|
95
|
+
"hash": "9e9c818d26e5b543c4b5eb6417d125bed2650bf7b5e9af7b27c30a0fb1e98e0a"
|
|
96
96
|
},
|
|
97
97
|
"preferred_contact_method": {
|
|
98
98
|
"count": 4,
|
|
@@ -159,12 +159,12 @@
|
|
|
159
159
|
"hash": "18375cd14466851a6bcbd9bf3c37c28568d77cf6e26dc9ec76fa297900e9fbe6"
|
|
160
160
|
},
|
|
161
161
|
"referral_entity_category": {
|
|
162
|
-
"count":
|
|
163
|
-
"hash": "
|
|
162
|
+
"count": 46,
|
|
163
|
+
"hash": "1e2a4df4128da2cb78f35b324eb3d5fefb5717654b7b8f30546160adec11a45b"
|
|
164
164
|
},
|
|
165
165
|
"income_benefits_sources": {
|
|
166
166
|
"count": 41,
|
|
167
|
-
"hash": "
|
|
167
|
+
"hash": "0f850a491bbea0d2e90b3a930716a9de1f307d0379f706c53fb7767b4510826a"
|
|
168
168
|
},
|
|
169
169
|
"enrollment_application_status": {
|
|
170
170
|
"count": 12,
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
},
|
|
189
189
|
"source_subtype": {
|
|
190
190
|
"count": 39,
|
|
191
|
-
"hash": "
|
|
191
|
+
"hash": "d41bd8110e25074303eb37e902e9f55b1c4f5f3ea951194568f1e9db1c76501c"
|
|
192
192
|
},
|
|
193
193
|
"support_strength": {
|
|
194
194
|
"count": 11,
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
},
|
|
209
209
|
"verification_method": {
|
|
210
210
|
"count": 11,
|
|
211
|
-
"hash": "
|
|
211
|
+
"hash": "9f504b9e83876e3aa1020c1bcf76a7d6a9c49df95b2d9f29c15069414e8e8139"
|
|
212
212
|
},
|
|
213
213
|
"quality_flags": {
|
|
214
214
|
"count": 9,
|
|
@@ -657,17 +657,28 @@ describe("GATE F — entry counts and selectable counts are never conflated", ()
|
|
|
657
657
|
}
|
|
658
658
|
});
|
|
659
659
|
|
|
660
|
-
it("CVC-69 regression:
|
|
660
|
+
it("CVC-69 regression: 31 entries = 21 selectable + 4 group rows + 5 deprecated + missingness_root", () => {
|
|
661
|
+
// v1.1.0 (canon re-mirror) adds a THIRD kind of non-selectable row: the five
|
|
662
|
+
// superseded v1.0.0 keys, kept read-only (`deprecated: true`). They are
|
|
663
|
+
// neither group rows nor missingness, and must not be counted as either.
|
|
664
|
+
const isDeprecated = (e: Entry): boolean =>
|
|
665
|
+
(e as Entry & { deprecated?: boolean }).deprecated === true;
|
|
661
666
|
const d = DOMAINS.find((x) => x.domain === "incident_participation_roles")!;
|
|
662
667
|
const selectable = d.entries.filter((e) => e.selectable);
|
|
663
|
-
const
|
|
668
|
+
const deprecated = d.entries.filter((e) => !e.selectable && isDeprecated(e));
|
|
669
|
+
const groupRows = d.entries.filter(
|
|
670
|
+
(e) => !e.selectable && !isMissingness(e) && !isDeprecated(e),
|
|
671
|
+
);
|
|
664
672
|
const missRoot = d.entries.filter((e) => !e.selectable && isMissingness(e));
|
|
665
673
|
|
|
666
|
-
expect(d.entries.length, "total entries").toBe(
|
|
667
|
-
expect(selectable.length, "selectable").toBe(
|
|
674
|
+
expect(d.entries.length, "total entries").toBe(31);
|
|
675
|
+
expect(selectable.length, "selectable").toBe(21);
|
|
676
|
+
expect(deprecated.length, "non-selectable deprecated (superseded) roles").toBe(5);
|
|
668
677
|
expect(groupRows.length, "non-selectable group rows").toBe(4);
|
|
669
678
|
expect(missRoot.length, "non-selectable missingness_root").toBe(1);
|
|
670
|
-
expect(
|
|
679
|
+
expect(
|
|
680
|
+
selectable.length + deprecated.length + groupRows.length + missRoot.length,
|
|
681
|
+
).toBe(31);
|
|
671
682
|
// If a consumer's boot-check ever asserts `entries.length === 14`, it is the
|
|
672
683
|
// CONSUMER that is wrong, not CVC-69.
|
|
673
684
|
});
|
|
@@ -64,14 +64,17 @@ const SOT_SPECS: readonly SotSpec[] = [
|
|
|
64
64
|
// additive per Thread Phase-0 SOT Block D) = 15; +2 PROVISIONAL attempt-reason
|
|
65
65
|
// buckets (`unable_to_provide_service_fit`, `unable_to_provide_access_barrier`)
|
|
66
66
|
// for the Thread th-epqet.3 7-bucket lifecycle = 17.
|
|
67
|
-
{ file: "serviceStates.v1.
|
|
67
|
+
{ file: "serviceStates.v1.1.0.json", domain: "service_states", expectedCount: 17 },
|
|
68
68
|
// Spec §8.1 — "Entries: 147" + 4 missingness = 151
|
|
69
69
|
{ file: "serviceCategories.v1.0.0.json", domain: "service_categories", expectedCount: 151 },
|
|
70
|
-
// CVC-69 — 4 group parents +
|
|
70
|
+
// CVC-69 v1.1.0 (canon re-mirror, ADDITIVE) — 4 group parents + 18 canon
|
|
71
|
+
// roles (13 Level 1 + 5 Level-2 sub-items) + 5 superseded v1.0.0 roles kept
|
|
72
|
+
// read-only (`deprecated`) + 4 missingness = 31. See
|
|
73
|
+
// incident-participation-roles-canon.test.ts for the key-set pin.
|
|
71
74
|
{
|
|
72
|
-
file: "incidentParticipationRoles.v1.
|
|
75
|
+
file: "incidentParticipationRoles.v1.1.0.json",
|
|
73
76
|
domain: "incident_participation_roles",
|
|
74
|
-
expectedCount:
|
|
77
|
+
expectedCount: 31,
|
|
75
78
|
},
|
|
76
79
|
// CVC-130 — 6 flat role leaves + 4 missingness = 10
|
|
77
80
|
{
|
|
@@ -231,7 +234,7 @@ const SOT_SPECS: readonly SotSpec[] = [
|
|
|
231
234
|
// `trade_vocational` non-degree credential leaf (180-008) + 1 missingness
|
|
232
235
|
// root + 4 canonical missingness children (includes PNA) = 13.
|
|
233
236
|
{
|
|
234
|
-
file: "highestEducationLevelCompleted.v1.
|
|
237
|
+
file: "highestEducationLevelCompleted.v1.1.0.json",
|
|
235
238
|
domain: "highest_education_level_completed",
|
|
236
239
|
expectedCount: 13,
|
|
237
240
|
},
|
|
@@ -372,18 +375,22 @@ const SOT_SPECS: readonly SotSpec[] = [
|
|
|
372
375
|
domain: "location_type",
|
|
373
376
|
expectedCount: 17,
|
|
374
377
|
},
|
|
375
|
-
// CVC-48
|
|
378
|
+
// CVC-48 v1.1.0 (canon v1.3 re-mirror, ADDITIVE) — v1.0.0's 43 + 3 canon
|
|
379
|
+
// leaves (Adult Protective Services, School / academic institution, Legal
|
|
380
|
+
// services provider) = 46: 45 of canon's 46 rows + missingness_root. Canon's
|
|
381
|
+
// `02-02-01-00` Hotline is deliberately not carried; see
|
|
382
|
+
// referral-entity-category-canon.test.ts.
|
|
376
383
|
{
|
|
377
|
-
file: "referralEntityCategory.v1.
|
|
384
|
+
file: "referralEntityCategory.v1.1.0.json",
|
|
378
385
|
domain: "referral_entity_category",
|
|
379
|
-
expectedCount:
|
|
386
|
+
expectedCount: 46,
|
|
380
387
|
},
|
|
381
388
|
// CVC-171 — 5 L1 type groups + 30 L2 source codes + 1 additive L1
|
|
382
389
|
// `victim_compensation` group leaf (171-006) + 5 missingness = 41.
|
|
383
390
|
// Additive orphan leaves: informal_income (171-001-002) under earned_income
|
|
384
391
|
// and family_friend_support (171-004-003) under transfer_support.
|
|
385
392
|
{
|
|
386
|
-
file: "incomeBenefitsSources.v1.
|
|
393
|
+
file: "incomeBenefitsSources.v1.1.0.json",
|
|
387
394
|
domain: "income_benefits_sources",
|
|
388
395
|
expectedCount: 41,
|
|
389
396
|
},
|
|
@@ -426,7 +433,7 @@ const SOT_SPECS: readonly SotSpec[] = [
|
|
|
426
433
|
// categories, with cross-CVC context in definitions) + 1 missingness root +
|
|
427
434
|
// 3 canonical missingness children = 35.
|
|
428
435
|
{
|
|
429
|
-
file: "sourceSubtype.v1.
|
|
436
|
+
file: "sourceSubtype.v1.2.0.json",
|
|
430
437
|
domain: "source_subtype",
|
|
431
438
|
expectedCount: 39,
|
|
432
439
|
},
|
|
@@ -464,7 +471,7 @@ const SOT_SPECS: readonly SotSpec[] = [
|
|
|
464
471
|
// qa_audit_passed, supervisor_review) + 1 missingness root + 3 canonical
|
|
465
472
|
// missingness children = 9.
|
|
466
473
|
{
|
|
467
|
-
file: "verificationMethod.v1.
|
|
474
|
+
file: "verificationMethod.v1.1.0.json",
|
|
468
475
|
domain: "verification_method",
|
|
469
476
|
expectedCount: 11,
|
|
470
477
|
},
|
|
@@ -49,9 +49,9 @@ interface SotFile {
|
|
|
49
49
|
|
|
50
50
|
const SOT_FILES: readonly SotFile[] = [
|
|
51
51
|
{ file: "serviceMechanisms.v1.0.0.json", expectedDomain: "service_mechanisms" },
|
|
52
|
-
{ file: "serviceStates.v1.
|
|
52
|
+
{ file: "serviceStates.v1.1.0.json", expectedDomain: "service_states" },
|
|
53
53
|
{ file: "serviceCategories.v1.0.0.json", expectedDomain: "service_categories" },
|
|
54
|
-
{ file: "incidentParticipationRoles.v1.
|
|
54
|
+
{ file: "incidentParticipationRoles.v1.1.0.json", expectedDomain: "incident_participation_roles" },
|
|
55
55
|
{ file: "incidentInvolvementRoles.v1.0.0.json", expectedDomain: "incident_involvement_roles" },
|
|
56
56
|
{ file: "raceEthnicity.v1.0.0.json", expectedDomain: "race_ethnicity" },
|
|
57
57
|
{ file: "primaryLanguage.v1.0.0.json", expectedDomain: "primary_language" },
|
|
@@ -70,7 +70,7 @@ const SOT_FILES: readonly SotFile[] = [
|
|
|
70
70
|
{ file: "militaryBranch.v1.0.0.json", expectedDomain: "military_branch" },
|
|
71
71
|
{ file: "contactInfoTypes.v1.0.0.json", expectedDomain: "contact_info_types" },
|
|
72
72
|
{ file: "contactSafetyStatus.v1.0.0.json", expectedDomain: "contact_safety_status" },
|
|
73
|
-
{ file: "highestEducationLevelCompleted.v1.
|
|
73
|
+
{ file: "highestEducationLevelCompleted.v1.1.0.json", expectedDomain: "highest_education_level_completed" },
|
|
74
74
|
{ file: "preferredContactMethod.v1.0.0.json", expectedDomain: "preferred_contact_method" },
|
|
75
75
|
{ file: "sharePurpose.v1.0.0.json", expectedDomain: "share_purpose" },
|
|
76
76
|
// CVC-306 — generated from prototype canon (scripts/gen-share-response-reason.py).
|
|
@@ -89,19 +89,19 @@ const SOT_FILES: readonly SotFile[] = [
|
|
|
89
89
|
{ file: "personRelationships.v1.0.0.json", expectedDomain: "person_relationships" },
|
|
90
90
|
{ file: "employmentStatus.v1.0.0.json", expectedDomain: "employment_status" },
|
|
91
91
|
{ file: "locationType.v1.0.0.json", expectedDomain: "location_type" },
|
|
92
|
-
{ file: "referralEntityCategory.v1.
|
|
93
|
-
{ file: "incomeBenefitsSources.v1.
|
|
92
|
+
{ file: "referralEntityCategory.v1.1.0.json", expectedDomain: "referral_entity_category" },
|
|
93
|
+
{ file: "incomeBenefitsSources.v1.1.0.json", expectedDomain: "income_benefits_sources" },
|
|
94
94
|
{ file: "enrollmentApplicationStatus.v1.0.0.json", expectedDomain: "enrollment_application_status" },
|
|
95
95
|
{ file: "administeringJurisdiction.v1.0.0.json", expectedDomain: "administering_jurisdiction" },
|
|
96
96
|
{ file: "frequencyCadence.v1.0.0.json", expectedDomain: "frequency_cadence" },
|
|
97
97
|
{ file: "inferenceType.v1.0.0.json", expectedDomain: "inference_type" },
|
|
98
98
|
{ file: "sourceCategory.v1.1.0.json", expectedDomain: "source_category" },
|
|
99
|
-
{ file: "sourceSubtype.v1.
|
|
99
|
+
{ file: "sourceSubtype.v1.2.0.json", expectedDomain: "source_subtype" },
|
|
100
100
|
{ file: "supportStrength.v1.0.0.json", expectedDomain: "support_strength" },
|
|
101
101
|
{ file: "determinationLevel.v1.0.0.json", expectedDomain: "determination_level" },
|
|
102
102
|
{ file: "roleContext.v1.0.0.json", expectedDomain: "role_context" },
|
|
103
103
|
{ file: "timeScope.v1.0.0.json", expectedDomain: "time_scope" },
|
|
104
|
-
{ file: "verificationMethod.v1.
|
|
104
|
+
{ file: "verificationMethod.v1.1.0.json", expectedDomain: "verification_method" },
|
|
105
105
|
{ file: "qualityFlags.v1.0.0.json", expectedDomain: "quality_flags" },
|
|
106
106
|
{ file: "contactInfoUseType.v1.0.0.json", expectedDomain: "contact_info_use_type" },
|
|
107
107
|
{ file: "sessionState.v1.0.0.json", expectedDomain: "session_state" },
|