@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.
- package/dist/constants/index.cjs +72 -7
- 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 +71 -7
- package/dist/constants/index.js.map +1 -1
- package/dist/cvcs/index.cjs +10051 -10
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +11750 -554
- package/dist/cvcs/index.d.ts +11750 -554
- package/dist/cvcs/index.js +9986 -9
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +11341 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1480 -8
- package/dist/index.d.ts +1480 -8
- package/dist/index.js +11212 -19
- package/dist/index.js.map +1 -1
- package/dist/{platform-auth-CjC57132.d.cts → platform-auth-7dL99tZh.d.cts} +18 -2
- package/dist/{platform-auth-CjC57132.d.ts → platform-auth-7dL99tZh.d.ts} +18 -2
- package/dist/schemas/index.cjs +63 -7
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.js +63 -7
- 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 +2 -2
- package/src/__tests__/__snapshots__/cvc-sot.snap +259 -3
- package/src/__tests__/cvc-sot-snapshot.test.ts +70 -2
- package/src/__tests__/cvc-structural.test.ts +65 -0
- package/src/constants/ic.ts +158 -3
- package/src/cvcs/accommodationType.v1.0.0.json +107 -0
- package/src/cvcs/actionStepCompletionStatus.v1.0.0.json +89 -0
- package/src/cvcs/actionStepType.v1.0.0.json +71 -0
- package/src/cvcs/announcementAudienceScope.v1.0.0.json +80 -0
- package/src/cvcs/announcementResponseType.v1.0.0.json +89 -0
- package/src/cvcs/basisQuickPicks.v1.0.0.json +123 -0
- package/src/cvcs/checkInActivity.v1.0.0.json +233 -0
- package/src/cvcs/checkInPhase.v1.0.0.json +152 -0
- package/src/cvcs/childBehavioralConcerns.v1.0.0.json +161 -0
- package/src/cvcs/childCustodyArrangement.v1.0.0.json +188 -0
- package/src/cvcs/collectionContext.v1.0.0.json +88 -0
- package/src/cvcs/daIncidentArchiveReason.v1.0.0.json +89 -0
- package/src/cvcs/daIncidentConfidence.v1.0.0.json +80 -0
- package/src/cvcs/daIncidentDayApprox.v1.0.0.json +89 -0
- package/src/cvcs/daIncidentSeverity.v1.0.0.json +97 -0
- package/src/cvcs/disabilitySubtype.v1.0.0.json +126 -0
- package/src/cvcs/discretionLevel.v1.0.0.json +89 -0
- package/src/cvcs/emergencyContactCallReason.v1.0.0.json +107 -0
- package/src/cvcs/emergencyContactPermissions.v1.0.0.json +125 -0
- package/src/cvcs/emergencyExitCascade.v1.0.0.json +89 -0
- package/src/cvcs/exitProcessChecklistItem.v1.0.0.json +152 -0
- package/src/cvcs/exitReasons.v1.0.0.json +224 -0
- package/src/cvcs/facialHair.v1.0.0.json +71 -0
- package/src/cvcs/funder.v1.0.0.json +125 -0
- package/src/cvcs/goalCategory.v1.0.0.json +161 -0
- package/src/cvcs/goalPriority.v1.0.0.json +80 -0
- package/src/cvcs/goalStatus.v1.0.0.json +98 -0
- package/src/cvcs/goalWithdrawalReason.v1.0.0.json +116 -0
- package/src/cvcs/hmisProjectType.v1.0.0.json +178 -0
- package/src/cvcs/hopeScaleCaptureContext.v1.0.0.json +116 -0
- package/src/cvcs/hopeScaleResponseOptions.v1.0.0.json +125 -0
- package/src/cvcs/hopeScaleTier.v1.0.0.json +89 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +80 -0
- package/src/cvcs/index.ts +128 -0
- package/src/cvcs/investigativeRequestType.v1.0.0.json +89 -0
- package/src/cvcs/languages.v1.0.0.json +1924 -0
- package/src/cvcs/leReportStatus.v1.0.0.json +89 -0
- package/src/cvcs/legalActionType.v1.0.0.json +116 -0
- package/src/cvcs/messageReportReason.v1.0.0.json +107 -0
- package/src/cvcs/midStayEventType.v1.0.0.json +116 -0
- package/src/cvcs/milestoneType.v1.0.0.json +170 -0
- package/src/cvcs/needsResidentialAgain.v1.0.0.json +80 -0
- package/src/cvcs/personRelationships.v1.0.0.json +6 -6
- package/src/cvcs/petExitReason.v1.0.0.json +107 -0
- package/src/cvcs/petRelationshipBasis.v1.0.0.json +80 -0
- package/src/cvcs/programSpecificCode.v1.0.0.json +125 -0
- package/src/cvcs/proofOfIdType.v1.0.0.json +188 -0
- package/src/cvcs/referenceLinkType.v1.0.0.json +125 -0
- package/src/cvcs/relationshipDynamics.v1.0.0.json +445 -0
- package/src/cvcs/returnedToAbuserStatus.v1.0.0.json +80 -0
- package/src/cvcs/rsvpResponse.v1.0.0.json +80 -0
- package/src/cvcs/servicePlanClosureReason.v1.0.0.json +125 -0
- package/src/cvcs/servicePlanReviewSnoozeReason.v1.0.0.json +116 -0
- package/src/cvcs/serviceSource.v1.0.0.json +71 -0
- package/src/cvcs/serviceStates.v1.0.0.json +12 -2
- package/src/cvcs/severityFollowUp.v1.0.0.json +89 -0
- package/src/cvcs/signatureMethod.v1.0.0.json +89 -0
- package/src/cvcs/signatureType.v1.0.0.json +89 -0
- package/src/cvcs/smtBodyLocation.v1.0.0.json +314 -0
- package/src/cvcs/smtNameRelation.v1.0.0.json +116 -0
- package/src/cvcs/smtSignificanceFlags.v1.0.0.json +116 -0
- package/src/cvcs/substanceUseStatus.v1.0.0.json +90 -0
- package/src/cvcs/supportTopic.v1.0.0.json +116 -0
- package/src/cvcs/threadStatus.v1.0.0.json +80 -0
- package/src/cvcs/threadType.v1.0.0.json +98 -0
- package/src/cvcs/verificationStatus.v1.0.0.json +80 -0
- package/src/cvcs/visaType.v1.0.0.json +378 -0
- package/src/generated/cvc-enums.ts +1605 -5
package/dist/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { h as AccommodationValue, i as AgeBinReportingValue, j as AppScopeValue, k as ApparentAgeValue,
|
|
1
|
+
import { eg as PlatformToolValue, cO as FunctionStatusValue, eD as RoleLevelValue, eO as ShareViewValue, ec as PermissionStateValue } from '../platform-auth-7dL99tZh.cjs';
|
|
2
|
+
export { h as AccommodationValue, i as AgeBinReportingValue, j as AppScopeValue, k as ApparentAgeValue, cE as DataQualityValue, cM as FormStatusValue, cN as FormTypeValue, cP as IC13Category, cR as IC13Value, cS as IC22Value, cT as IC23Value, cU as IC24Value, cV as IC25Value, cW as IC49ReferralOutcomeValue, cX as IC49ReferralVerificationValue, cY as IC49Value, cZ as IC4Value, c$ as IC56Value, d0 as IC57Value, d2 as IC58Value, d3 as IC59Value, d4 as IC5Value, dU as IncidentInvolvementRoleValue, dV as IncidentParticipationRoleValue, dW as InteractionTypeValue, dZ as MinorAdultStatusValue, ed as PersonDisplayCategoryValue, ee as PersonRoleValue, ef as PersonTypeValue, em as QuestionFormatValue, en as QuickStartTemplateId, ez as RecordStateValue, eB as RelationshipConcernValue, eC as RelationshipDynamicValue, eN as SessionStateValue, eP as SubmissionStateValue, eT as UserStatusValue } from '../platform-auth-7dL99tZh.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 { h as AccommodationValue, i as AgeBinReportingValue, j as AppScopeValue, k as ApparentAgeValue,
|
|
1
|
+
import { eg as PlatformToolValue, cO as FunctionStatusValue, eD as RoleLevelValue, eO as ShareViewValue, ec as PermissionStateValue } from '../platform-auth-7dL99tZh.js';
|
|
2
|
+
export { h as AccommodationValue, i as AgeBinReportingValue, j as AppScopeValue, k as ApparentAgeValue, cE as DataQualityValue, cM as FormStatusValue, cN as FormTypeValue, cP as IC13Category, cR as IC13Value, cS as IC22Value, cT as IC23Value, cU as IC24Value, cV as IC25Value, cW as IC49ReferralOutcomeValue, cX as IC49ReferralVerificationValue, cY as IC49Value, cZ as IC4Value, c$ as IC56Value, d0 as IC57Value, d2 as IC58Value, d3 as IC59Value, d4 as IC5Value, dU as IncidentInvolvementRoleValue, dV as IncidentParticipationRoleValue, dW as InteractionTypeValue, dZ as MinorAdultStatusValue, ed as PersonDisplayCategoryValue, ee as PersonRoleValue, ef as PersonTypeValue, em as QuestionFormatValue, en as QuickStartTemplateId, ez as RecordStateValue, eB as RelationshipConcernValue, eC as RelationshipDynamicValue, eN as SessionStateValue, eP as SubmissionStateValue, eT as UserStatusValue } from '../platform-auth-7dL99tZh.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.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Shared constants, types, and models for HTI Labs applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -103,4 +103,4 @@
|
|
|
103
103
|
"engines": {
|
|
104
104
|
"node": ">=18.0.0"
|
|
105
105
|
}
|
|
106
|
-
}
|
|
106
|
+
}
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"hash": "d50072fd907c64496508282036790f320d659ce4756bd48ad25487442e8997af"
|
|
8
8
|
},
|
|
9
9
|
"service_states": {
|
|
10
|
-
"count":
|
|
11
|
-
"hash": "
|
|
10
|
+
"count": 15,
|
|
11
|
+
"hash": "b76a5eec570bc807fb028fd55324a1cdb4c95ab1603bc779d292bc2356ee727d"
|
|
12
12
|
},
|
|
13
13
|
"service_categories": {
|
|
14
14
|
"count": 151,
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
},
|
|
149
149
|
"person_relationships": {
|
|
150
150
|
"count": 89,
|
|
151
|
-
"hash": "
|
|
151
|
+
"hash": "f901a60ec1f275e2f003d1f1f2f94f2a3ae07d7badee227d650c28c00a1510bb"
|
|
152
152
|
},
|
|
153
153
|
"employment_status": {
|
|
154
154
|
"count": 29,
|
|
@@ -221,6 +221,262 @@
|
|
|
221
221
|
"session_state": {
|
|
222
222
|
"count": 9,
|
|
223
223
|
"hash": "69d301667ebec681cfc9daf3f5d570adc269e484ab05f7d8bab773d1e4511a49"
|
|
224
|
+
},
|
|
225
|
+
"accommodation_type": {
|
|
226
|
+
"count": 10,
|
|
227
|
+
"hash": "1e9a73b16092ed6f55f67b91bfafe736fb8e051b91b57b3d5ed4541a8349da6b"
|
|
228
|
+
},
|
|
229
|
+
"action_step_completion_status": {
|
|
230
|
+
"count": 8,
|
|
231
|
+
"hash": "09c16940a5f0c91b946a30e5fa9b969d9f90b23163e7227a1a84563f1c3d6d03"
|
|
232
|
+
},
|
|
233
|
+
"action_step_type": {
|
|
234
|
+
"count": 6,
|
|
235
|
+
"hash": "77b85d5c29d3e5df22a60853ba2034f899f4e4313226c22d7276402ef6e63ec2"
|
|
236
|
+
},
|
|
237
|
+
"announcement_audience_scope": {
|
|
238
|
+
"count": 7,
|
|
239
|
+
"hash": "aebf22101c0ae5b6047fa08b9e25d923c480a43e94ec794f39415d2482bbb608"
|
|
240
|
+
},
|
|
241
|
+
"announcement_response_type": {
|
|
242
|
+
"count": 8,
|
|
243
|
+
"hash": "30381dc6deee02accd3da45450841fefd7b7779067cb35b6e3373316cca31349"
|
|
244
|
+
},
|
|
245
|
+
"basis_quick_picks": {
|
|
246
|
+
"count": 11,
|
|
247
|
+
"hash": "09a13f3f4b3f1737019ef0f5b60bdc9b212d71f1b714ae1d01298baea1a56d06"
|
|
248
|
+
},
|
|
249
|
+
"check_in_activity": {
|
|
250
|
+
"count": 24,
|
|
251
|
+
"hash": "bcb674f2321ac832eea73553c6b0e0baac6af00ec526226fa1c664267d185122"
|
|
252
|
+
},
|
|
253
|
+
"check_in_phase": {
|
|
254
|
+
"count": 15,
|
|
255
|
+
"hash": "d91cdc0dc1ca4e80093459089462a1cb413fe7a13c7f0f2f6b49384380367119"
|
|
256
|
+
},
|
|
257
|
+
"child_behavioral_concerns": {
|
|
258
|
+
"count": 16,
|
|
259
|
+
"hash": "cd0752bfdc9ad16625c1a7ab61a3428535edf01310c2ab26adc7d4f5e1bd768d"
|
|
260
|
+
},
|
|
261
|
+
"child_custody_arrangement": {
|
|
262
|
+
"count": 19,
|
|
263
|
+
"hash": "f05250374aa0ddb810f996ecc163e5fc8147a094ecd71585339ef0776d12e4cf"
|
|
264
|
+
},
|
|
265
|
+
"collection_context": {
|
|
266
|
+
"count": 8,
|
|
267
|
+
"hash": "54953b6f21df70a3c4df1f81e2a3d8b77cbcfb5cc59b937eb5b41c7e29b9481d"
|
|
268
|
+
},
|
|
269
|
+
"da_incident_archive_reason": {
|
|
270
|
+
"count": 8,
|
|
271
|
+
"hash": "d8375879483f4d12b0b8870f081c34ed53643e57fd9d7486b3c3dd8d3be91a27"
|
|
272
|
+
},
|
|
273
|
+
"da_incident_confidence": {
|
|
274
|
+
"count": 7,
|
|
275
|
+
"hash": "c05da5eba9ae14ea500296b96db3b45a704fcea0737dce19c64878ede78de2d7"
|
|
276
|
+
},
|
|
277
|
+
"da_incident_day_approx": {
|
|
278
|
+
"count": 8,
|
|
279
|
+
"hash": "d9897c99f99763f5947849b6a33c99337e7c734a673a73bb3d3b5fe30a50dda8"
|
|
280
|
+
},
|
|
281
|
+
"da_incident_severity": {
|
|
282
|
+
"count": 9,
|
|
283
|
+
"hash": "8eabe10907e7ff17c5ba46d82dcb144b002b206734a3ebaf19ca3fdf67ea63d0"
|
|
284
|
+
},
|
|
285
|
+
"disability_subtype": {
|
|
286
|
+
"count": 12,
|
|
287
|
+
"hash": "124148a17baec2f70ef0d51bd723f6810ca19948e2556109d2cb87856b85f5f5"
|
|
288
|
+
},
|
|
289
|
+
"discretion_level": {
|
|
290
|
+
"count": 8,
|
|
291
|
+
"hash": "86232eb3777e0bc25effbe182c4c013cf87a486463bbe746d64d360e780b8cfd"
|
|
292
|
+
},
|
|
293
|
+
"emergency_contact_call_reason": {
|
|
294
|
+
"count": 10,
|
|
295
|
+
"hash": "23d6201fc142bad6dc0dc19a7f2ff920b3eeccbd49fead468a45b88e1e628501"
|
|
296
|
+
},
|
|
297
|
+
"emergency_contact_permissions": {
|
|
298
|
+
"count": 12,
|
|
299
|
+
"hash": "a6125337b2f9adcab63f6c0d196ad1a7afab1d65232f3a5833bef0e0ecf540d0"
|
|
300
|
+
},
|
|
301
|
+
"emergency_exit_cascade": {
|
|
302
|
+
"count": 8,
|
|
303
|
+
"hash": "9f1562b1f51dacd7e7b049eae7275892be39fe4c7dd288e7a1af8aae9ae8285e"
|
|
304
|
+
},
|
|
305
|
+
"exit_process_checklist_item": {
|
|
306
|
+
"count": 15,
|
|
307
|
+
"hash": "c011857435627b4cbeac8507fcd17febbe39926747d86afc0d8ce849931b583a"
|
|
308
|
+
},
|
|
309
|
+
"exit_reasons": {
|
|
310
|
+
"count": 23,
|
|
311
|
+
"hash": "d07ec6163bd9dc99da9d72dbb4c98442c497a1d4d7e892bef5ae88808f437142"
|
|
312
|
+
},
|
|
313
|
+
"facial_hair": {
|
|
314
|
+
"count": 6,
|
|
315
|
+
"hash": "c7b97a88e160a73dc2bfc5ef775cffa38ef7008d2fcd1717e90496a5c0ddffb8"
|
|
316
|
+
},
|
|
317
|
+
"funder": {
|
|
318
|
+
"count": 12,
|
|
319
|
+
"hash": "97fe67884a0a141e74a8b364e074c25b69183bf3454137a9695e990e6db00ded"
|
|
320
|
+
},
|
|
321
|
+
"goal_category": {
|
|
322
|
+
"count": 16,
|
|
323
|
+
"hash": "e28f1a889b6c8ad43251a241021ce3cebeb36ba90c030f6d5cdbe2c7fd6d0faa"
|
|
324
|
+
},
|
|
325
|
+
"goal_priority": {
|
|
326
|
+
"count": 7,
|
|
327
|
+
"hash": "20cfa6272b1c35dcfbe4cfbd3ef3b27889bcffe4d230e30c110a4ab0aa42d1c6"
|
|
328
|
+
},
|
|
329
|
+
"goal_status": {
|
|
330
|
+
"count": 9,
|
|
331
|
+
"hash": "25173b4cad1f0cbea6787513204a61ff35be1ef051ba1fe8d21ee3f5d3c50ce1"
|
|
332
|
+
},
|
|
333
|
+
"goal_withdrawal_reason": {
|
|
334
|
+
"count": 11,
|
|
335
|
+
"hash": "8867f3f08097f1ba89096eafc2da1462f4a7a2993bf788be6cd4d39e394f18a1"
|
|
336
|
+
},
|
|
337
|
+
"hmis_project_type": {
|
|
338
|
+
"count": 18,
|
|
339
|
+
"hash": "ab9171a8239e9f000d7aba5262333a4486c8d3a9230bbd1388ec10621070a88c"
|
|
340
|
+
},
|
|
341
|
+
"hope_scale_capture_context": {
|
|
342
|
+
"count": 11,
|
|
343
|
+
"hash": "be338808673be541f5a4abea1afaf6a38cd44e4c75da1a668b6da3642cd959be"
|
|
344
|
+
},
|
|
345
|
+
"hope_scale_response_options": {
|
|
346
|
+
"count": 12,
|
|
347
|
+
"hash": "e01ed47bfcb768eaf0b67489c6c534e5fd985916856504bc1a15dafc13dc3a7e"
|
|
348
|
+
},
|
|
349
|
+
"hope_scale_tier": {
|
|
350
|
+
"count": 8,
|
|
351
|
+
"hash": "5d32f251b24af795609cf5a354de58f2a67fa0884e94c864a3b2425052542d3b"
|
|
352
|
+
},
|
|
353
|
+
"identification_status": {
|
|
354
|
+
"count": 7,
|
|
355
|
+
"hash": "a247e3de63a950557afe4a072ff56bae82a92e51a0f92bd2d37f7187bb91218c"
|
|
356
|
+
},
|
|
357
|
+
"investigative_request_type": {
|
|
358
|
+
"count": 8,
|
|
359
|
+
"hash": "04620109ac7321bfe8f930bd17b696273c9e4b72d2d7a9ed55aa7b367e84ef81"
|
|
360
|
+
},
|
|
361
|
+
"languages": {
|
|
362
|
+
"count": 212,
|
|
363
|
+
"hash": "5803652f21e38c66286d822ad0ce5bca689bea15917b1dea9dd519f608775ec8"
|
|
364
|
+
},
|
|
365
|
+
"le_report_status": {
|
|
366
|
+
"count": 8,
|
|
367
|
+
"hash": "e9d5d5e589f5b4ad65dc1c0e990198216c687d6dd9d2c3f7d1e2cd523689c9e4"
|
|
368
|
+
},
|
|
369
|
+
"legal_action_type": {
|
|
370
|
+
"count": 11,
|
|
371
|
+
"hash": "aae2b329529b68b6eb554e289dee573d6d1790c9e1d4ef93f51566a34fa5c276"
|
|
372
|
+
},
|
|
373
|
+
"message_report_reason": {
|
|
374
|
+
"count": 10,
|
|
375
|
+
"hash": "ae21fe39585eeab652dfe6092cb7d812dc0da62d80df96db40d9039e0c7ce651"
|
|
376
|
+
},
|
|
377
|
+
"mid_stay_event_type": {
|
|
378
|
+
"count": 11,
|
|
379
|
+
"hash": "f55de47d8da77b0f62bb3771b62506c4836e7ee74cab8d7977cd785351c2d7a0"
|
|
380
|
+
},
|
|
381
|
+
"milestone_type": {
|
|
382
|
+
"count": 17,
|
|
383
|
+
"hash": "8f1e913dce059119a4a6ff1a421ee7305378e5dc1d2d74a1e9b575f9feec5300"
|
|
384
|
+
},
|
|
385
|
+
"needs_residential_again": {
|
|
386
|
+
"count": 7,
|
|
387
|
+
"hash": "345b9b84b442876307fd9d5c19df084f3b2b4d033286fd373e9531431bbd97e0"
|
|
388
|
+
},
|
|
389
|
+
"pet_exit_reason": {
|
|
390
|
+
"count": 10,
|
|
391
|
+
"hash": "0f1dcd66632ea10847e2219ddaa0a0298005dfbd744ce64eee50aa0c38ceeb18"
|
|
392
|
+
},
|
|
393
|
+
"pet_relationship_basis": {
|
|
394
|
+
"count": 7,
|
|
395
|
+
"hash": "8e210ffe2bad57c888fde2a73ea1da79ea44ec66f6f57a7a0beeff094a826932"
|
|
396
|
+
},
|
|
397
|
+
"program_specific_code": {
|
|
398
|
+
"count": 12,
|
|
399
|
+
"hash": "d96d4998669396393217ee4477a8cd8e175f710e63ccd763084b59ea7a4d059d"
|
|
400
|
+
},
|
|
401
|
+
"proof_of_id_type": {
|
|
402
|
+
"count": 19,
|
|
403
|
+
"hash": "57db238e9cfb85af752ff7438523cd177178a0d8b80bbc799714bceafc3719b6"
|
|
404
|
+
},
|
|
405
|
+
"reference_link_type": {
|
|
406
|
+
"count": 12,
|
|
407
|
+
"hash": "4c466e1c1471fcbc04ac17d7e5b9a9a1db9399bc8f2d411be5242bfe0bd17892"
|
|
408
|
+
},
|
|
409
|
+
"relationship_dynamics": {
|
|
410
|
+
"count": 42,
|
|
411
|
+
"hash": "88379d2ec550e857e6d40f12ccbfb3babb5fe65edbc5e181093ec27d403044b3"
|
|
412
|
+
},
|
|
413
|
+
"returned_to_abuser_status": {
|
|
414
|
+
"count": 7,
|
|
415
|
+
"hash": "1663cc7796042eb3c0294058c989b02c386d24986fb58a411b1da2e9e0c9b021"
|
|
416
|
+
},
|
|
417
|
+
"rsvp_response": {
|
|
418
|
+
"count": 7,
|
|
419
|
+
"hash": "a10a965a48925731e7f601c839791e7f42f56f4df4c0f4a899eb9bc49ae97470"
|
|
420
|
+
},
|
|
421
|
+
"service_plan_closure_reason": {
|
|
422
|
+
"count": 12,
|
|
423
|
+
"hash": "f3f934c32c1a2ce576566cd69674258a45308bb4898fc0245975cc2af460e3b4"
|
|
424
|
+
},
|
|
425
|
+
"service_plan_review_snooze_reason": {
|
|
426
|
+
"count": 11,
|
|
427
|
+
"hash": "675a49678213891881ffe04f52c587f64fa46cca9d21dbbf36c1bf570d906109"
|
|
428
|
+
},
|
|
429
|
+
"service_source": {
|
|
430
|
+
"count": 6,
|
|
431
|
+
"hash": "64acaf985a221f573f1847ac3f11c7cfb241052dd34cebe90128d938810a72aa"
|
|
432
|
+
},
|
|
433
|
+
"severity_follow_up": {
|
|
434
|
+
"count": 8,
|
|
435
|
+
"hash": "12ddda122b24584906301be013beedcad61daf9dadd08273bd8c0010bf03688d"
|
|
436
|
+
},
|
|
437
|
+
"signature_method": {
|
|
438
|
+
"count": 8,
|
|
439
|
+
"hash": "5179759e4f1792d2806713fa5985b7d980967d59598bc0b3093d5bcc744492ab"
|
|
440
|
+
},
|
|
441
|
+
"signature_type": {
|
|
442
|
+
"count": 8,
|
|
443
|
+
"hash": "d4de05d51487161476d2c7bf49e124d0e2e3edd65b2c8d9d9f4e3cf908f21540"
|
|
444
|
+
},
|
|
445
|
+
"smt_body_location": {
|
|
446
|
+
"count": 33,
|
|
447
|
+
"hash": "d200f16a0303569a16af720681eaa2eb2ed1940528e6d8eeddee0c9488bc6a41"
|
|
448
|
+
},
|
|
449
|
+
"smt_name_relation": {
|
|
450
|
+
"count": 11,
|
|
451
|
+
"hash": "d3c2df461a60cee51190cfaa7f9571416fa820160efef67f0802b87b05f6644e"
|
|
452
|
+
},
|
|
453
|
+
"smt_significance_flags": {
|
|
454
|
+
"count": 11,
|
|
455
|
+
"hash": "6758941e89ec2e54a51dacadf3482dc9bed5ba3da1311d9db2faa9a7553d31c8"
|
|
456
|
+
},
|
|
457
|
+
"substance_use_status": {
|
|
458
|
+
"count": 8,
|
|
459
|
+
"hash": "117eb39dced8d6b9df8c165cb97d96444d9e4e20eff73075959a9d671826541e"
|
|
460
|
+
},
|
|
461
|
+
"support_topic": {
|
|
462
|
+
"count": 11,
|
|
463
|
+
"hash": "9a273429ec69f6c33c45e258ed92102bea1abce96dedf7166acb86b0c1cbd2c0"
|
|
464
|
+
},
|
|
465
|
+
"thread_status": {
|
|
466
|
+
"count": 7,
|
|
467
|
+
"hash": "6a281e5b70936ad1f9b2da595d14230a1d6dc205ad082b85a25a8edc71b8c745"
|
|
468
|
+
},
|
|
469
|
+
"thread_type": {
|
|
470
|
+
"count": 9,
|
|
471
|
+
"hash": "c5b2460daf44445918b39826aa91cbf60451fe9f8200c0a08dc476c8fe8175b0"
|
|
472
|
+
},
|
|
473
|
+
"verification_status": {
|
|
474
|
+
"count": 7,
|
|
475
|
+
"hash": "6b33925ce5a13907da3245ea333d728143f64c1038988f69fd08e2dcbd0c193a"
|
|
476
|
+
},
|
|
477
|
+
"visa_type": {
|
|
478
|
+
"count": 40,
|
|
479
|
+
"hash": "df39913ea5401d187ba4b91b3f9b5d7c40811c8bbe4bdf4ae97ae2175a3cecc5"
|
|
224
480
|
}
|
|
225
481
|
}
|
|
226
482
|
}
|
|
@@ -60,8 +60,9 @@ const SOT_SPECS: readonly SotSpec[] = [
|
|
|
60
60
|
// values) so expected counts = spec §8 hierarchy count + 4.
|
|
61
61
|
// Spec §8.3 — "Entries: 4" + 4 missingness = 8
|
|
62
62
|
{ file: "serviceMechanisms.v1.0.0.json", domain: "service_mechanisms", expectedCount: 8 },
|
|
63
|
-
// Spec §8.2 — "Entries: 10" + 4 missingness = 14
|
|
64
|
-
|
|
63
|
+
// Spec §8.2 — "Entries: 10" + 4 missingness = 14; +1 (`unable_other_reason`
|
|
64
|
+
// additive per Thread Phase-0 SOT Block D) = 15.
|
|
65
|
+
{ file: "serviceStates.v1.0.0.json", domain: "service_states", expectedCount: 15 },
|
|
65
66
|
// Spec §8.1 — "Entries: 147" + 4 missingness = 151
|
|
66
67
|
{ file: "serviceCategories.v1.0.0.json", domain: "service_categories", expectedCount: 151 },
|
|
67
68
|
// CVC-69 — 4 group parents + 11 role leaves + 4 missingness = 19
|
|
@@ -475,6 +476,73 @@ const SOT_SPECS: readonly SotSpec[] = [
|
|
|
475
476
|
domain: "session_state",
|
|
476
477
|
expectedCount: 9,
|
|
477
478
|
},
|
|
479
|
+
// ─── 0.8.0 net-new DRAFT domains (64) — counts derived from each SOT
|
|
480
|
+
// envelope's entries.length; cross-checked against
|
|
481
|
+
// feature/cvc-tempauthor-netnew expected counts where present. ───
|
|
482
|
+
{ file: "accommodationType.v1.0.0.json", domain: "accommodation_type", expectedCount: 10 },
|
|
483
|
+
{ file: "actionStepCompletionStatus.v1.0.0.json", domain: "action_step_completion_status", expectedCount: 8 },
|
|
484
|
+
{ file: "actionStepType.v1.0.0.json", domain: "action_step_type", expectedCount: 6 },
|
|
485
|
+
{ file: "announcementAudienceScope.v1.0.0.json", domain: "announcement_audience_scope", expectedCount: 7 },
|
|
486
|
+
{ file: "announcementResponseType.v1.0.0.json", domain: "announcement_response_type", expectedCount: 8 },
|
|
487
|
+
{ file: "basisQuickPicks.v1.0.0.json", domain: "basis_quick_picks", expectedCount: 11 },
|
|
488
|
+
{ file: "checkInActivity.v1.0.0.json", domain: "check_in_activity", expectedCount: 24 },
|
|
489
|
+
{ file: "checkInPhase.v1.0.0.json", domain: "check_in_phase", expectedCount: 15 },
|
|
490
|
+
{ file: "childBehavioralConcerns.v1.0.0.json", domain: "child_behavioral_concerns", expectedCount: 16 },
|
|
491
|
+
{ file: "childCustodyArrangement.v1.0.0.json", domain: "child_custody_arrangement", expectedCount: 19 },
|
|
492
|
+
{ file: "collectionContext.v1.0.0.json", domain: "collection_context", expectedCount: 8 },
|
|
493
|
+
{ file: "daIncidentArchiveReason.v1.0.0.json", domain: "da_incident_archive_reason", expectedCount: 8 },
|
|
494
|
+
{ file: "daIncidentConfidence.v1.0.0.json", domain: "da_incident_confidence", expectedCount: 7 },
|
|
495
|
+
{ file: "daIncidentDayApprox.v1.0.0.json", domain: "da_incident_day_approx", expectedCount: 8 },
|
|
496
|
+
{ file: "daIncidentSeverity.v1.0.0.json", domain: "da_incident_severity", expectedCount: 9 },
|
|
497
|
+
{ file: "disabilitySubtype.v1.0.0.json", domain: "disability_subtype", expectedCount: 12 },
|
|
498
|
+
{ file: "discretionLevel.v1.0.0.json", domain: "discretion_level", expectedCount: 8 },
|
|
499
|
+
{ file: "emergencyContactCallReason.v1.0.0.json", domain: "emergency_contact_call_reason", expectedCount: 10 },
|
|
500
|
+
{ file: "emergencyContactPermissions.v1.0.0.json", domain: "emergency_contact_permissions", expectedCount: 12 },
|
|
501
|
+
{ file: "emergencyExitCascade.v1.0.0.json", domain: "emergency_exit_cascade", expectedCount: 8 },
|
|
502
|
+
{ file: "exitProcessChecklistItem.v1.0.0.json", domain: "exit_process_checklist_item", expectedCount: 15 },
|
|
503
|
+
{ file: "exitReasons.v1.0.0.json", domain: "exit_reasons", expectedCount: 23 },
|
|
504
|
+
{ file: "facialHair.v1.0.0.json", domain: "facial_hair", expectedCount: 6 },
|
|
505
|
+
{ file: "funder.v1.0.0.json", domain: "funder", expectedCount: 12 },
|
|
506
|
+
{ file: "goalCategory.v1.0.0.json", domain: "goal_category", expectedCount: 16 },
|
|
507
|
+
{ file: "goalPriority.v1.0.0.json", domain: "goal_priority", expectedCount: 7 },
|
|
508
|
+
{ file: "goalStatus.v1.0.0.json", domain: "goal_status", expectedCount: 9 },
|
|
509
|
+
{ file: "goalWithdrawalReason.v1.0.0.json", domain: "goal_withdrawal_reason", expectedCount: 11 },
|
|
510
|
+
{ file: "hmisProjectType.v1.0.0.json", domain: "hmis_project_type", expectedCount: 18 },
|
|
511
|
+
{ file: "hopeScaleCaptureContext.v1.0.0.json", domain: "hope_scale_capture_context", expectedCount: 11 },
|
|
512
|
+
{ file: "hopeScaleResponseOptions.v1.0.0.json", domain: "hope_scale_response_options", expectedCount: 12 },
|
|
513
|
+
{ file: "hopeScaleTier.v1.0.0.json", domain: "hope_scale_tier", expectedCount: 8 },
|
|
514
|
+
{ file: "identificationStatus.v1.0.0.json", domain: "identification_status", expectedCount: 7 },
|
|
515
|
+
{ file: "investigativeRequestType.v1.0.0.json", domain: "investigative_request_type", expectedCount: 8 },
|
|
516
|
+
{ file: "languages.v1.0.0.json", domain: "languages", expectedCount: 212 },
|
|
517
|
+
{ file: "leReportStatus.v1.0.0.json", domain: "le_report_status", expectedCount: 8 },
|
|
518
|
+
{ file: "legalActionType.v1.0.0.json", domain: "legal_action_type", expectedCount: 11 },
|
|
519
|
+
{ file: "messageReportReason.v1.0.0.json", domain: "message_report_reason", expectedCount: 10 },
|
|
520
|
+
{ file: "midStayEventType.v1.0.0.json", domain: "mid_stay_event_type", expectedCount: 11 },
|
|
521
|
+
{ file: "milestoneType.v1.0.0.json", domain: "milestone_type", expectedCount: 17 },
|
|
522
|
+
{ file: "needsResidentialAgain.v1.0.0.json", domain: "needs_residential_again", expectedCount: 7 },
|
|
523
|
+
{ file: "petExitReason.v1.0.0.json", domain: "pet_exit_reason", expectedCount: 10 },
|
|
524
|
+
{ file: "petRelationshipBasis.v1.0.0.json", domain: "pet_relationship_basis", expectedCount: 7 },
|
|
525
|
+
{ file: "programSpecificCode.v1.0.0.json", domain: "program_specific_code", expectedCount: 12 },
|
|
526
|
+
{ file: "proofOfIdType.v1.0.0.json", domain: "proof_of_id_type", expectedCount: 19 },
|
|
527
|
+
{ file: "referenceLinkType.v1.0.0.json", domain: "reference_link_type", expectedCount: 12 },
|
|
528
|
+
{ file: "relationshipDynamics.v1.0.0.json", domain: "relationship_dynamics", expectedCount: 42 },
|
|
529
|
+
{ file: "returnedToAbuserStatus.v1.0.0.json", domain: "returned_to_abuser_status", expectedCount: 7 },
|
|
530
|
+
{ file: "rsvpResponse.v1.0.0.json", domain: "rsvp_response", expectedCount: 7 },
|
|
531
|
+
{ file: "servicePlanClosureReason.v1.0.0.json", domain: "service_plan_closure_reason", expectedCount: 12 },
|
|
532
|
+
{ file: "servicePlanReviewSnoozeReason.v1.0.0.json", domain: "service_plan_review_snooze_reason", expectedCount: 11 },
|
|
533
|
+
{ file: "serviceSource.v1.0.0.json", domain: "service_source", expectedCount: 6 },
|
|
534
|
+
{ file: "severityFollowUp.v1.0.0.json", domain: "severity_follow_up", expectedCount: 8 },
|
|
535
|
+
{ file: "signatureMethod.v1.0.0.json", domain: "signature_method", expectedCount: 8 },
|
|
536
|
+
{ file: "signatureType.v1.0.0.json", domain: "signature_type", expectedCount: 8 },
|
|
537
|
+
{ file: "smtBodyLocation.v1.0.0.json", domain: "smt_body_location", expectedCount: 33 },
|
|
538
|
+
{ file: "smtNameRelation.v1.0.0.json", domain: "smt_name_relation", expectedCount: 11 },
|
|
539
|
+
{ file: "smtSignificanceFlags.v1.0.0.json", domain: "smt_significance_flags", expectedCount: 11 },
|
|
540
|
+
{ file: "substanceUseStatus.v1.0.0.json", domain: "substance_use_status", expectedCount: 8 },
|
|
541
|
+
{ file: "supportTopic.v1.0.0.json", domain: "support_topic", expectedCount: 11 },
|
|
542
|
+
{ file: "threadStatus.v1.0.0.json", domain: "thread_status", expectedCount: 7 },
|
|
543
|
+
{ file: "threadType.v1.0.0.json", domain: "thread_type", expectedCount: 9 },
|
|
544
|
+
{ file: "verificationStatus.v1.0.0.json", domain: "verification_status", expectedCount: 7 },
|
|
545
|
+
{ file: "visaType.v1.0.0.json", domain: "visa_type", expectedCount: 40 },
|
|
478
546
|
] as const;
|
|
479
547
|
|
|
480
548
|
// ─── Helpers ────────────────────────────────────────────────────────────────
|
|
@@ -103,6 +103,71 @@ const SOT_FILES: readonly SotFile[] = [
|
|
|
103
103
|
{ file: "qualityFlags.v1.0.0.json", expectedDomain: "quality_flags" },
|
|
104
104
|
{ file: "contactInfoUseType.v1.0.0.json", expectedDomain: "contact_info_use_type" },
|
|
105
105
|
{ file: "sessionState.v1.0.0.json", expectedDomain: "session_state" },
|
|
106
|
+
// ─── 0.8.0 net-new DRAFT domains (64) — all pass §4 invariants. ───
|
|
107
|
+
{ file: "accommodationType.v1.0.0.json", expectedDomain: "accommodation_type" },
|
|
108
|
+
{ file: "actionStepCompletionStatus.v1.0.0.json", expectedDomain: "action_step_completion_status" },
|
|
109
|
+
{ file: "actionStepType.v1.0.0.json", expectedDomain: "action_step_type" },
|
|
110
|
+
{ file: "announcementAudienceScope.v1.0.0.json", expectedDomain: "announcement_audience_scope" },
|
|
111
|
+
{ file: "announcementResponseType.v1.0.0.json", expectedDomain: "announcement_response_type" },
|
|
112
|
+
{ file: "basisQuickPicks.v1.0.0.json", expectedDomain: "basis_quick_picks" },
|
|
113
|
+
{ file: "checkInActivity.v1.0.0.json", expectedDomain: "check_in_activity" },
|
|
114
|
+
{ file: "checkInPhase.v1.0.0.json", expectedDomain: "check_in_phase" },
|
|
115
|
+
{ file: "childBehavioralConcerns.v1.0.0.json", expectedDomain: "child_behavioral_concerns" },
|
|
116
|
+
{ file: "childCustodyArrangement.v1.0.0.json", expectedDomain: "child_custody_arrangement" },
|
|
117
|
+
{ file: "collectionContext.v1.0.0.json", expectedDomain: "collection_context" },
|
|
118
|
+
{ file: "daIncidentArchiveReason.v1.0.0.json", expectedDomain: "da_incident_archive_reason" },
|
|
119
|
+
{ file: "daIncidentConfidence.v1.0.0.json", expectedDomain: "da_incident_confidence" },
|
|
120
|
+
{ file: "daIncidentDayApprox.v1.0.0.json", expectedDomain: "da_incident_day_approx" },
|
|
121
|
+
{ file: "daIncidentSeverity.v1.0.0.json", expectedDomain: "da_incident_severity" },
|
|
122
|
+
{ file: "disabilitySubtype.v1.0.0.json", expectedDomain: "disability_subtype" },
|
|
123
|
+
{ file: "discretionLevel.v1.0.0.json", expectedDomain: "discretion_level" },
|
|
124
|
+
{ file: "emergencyContactCallReason.v1.0.0.json", expectedDomain: "emergency_contact_call_reason" },
|
|
125
|
+
{ file: "emergencyContactPermissions.v1.0.0.json", expectedDomain: "emergency_contact_permissions" },
|
|
126
|
+
{ file: "emergencyExitCascade.v1.0.0.json", expectedDomain: "emergency_exit_cascade" },
|
|
127
|
+
{ file: "exitProcessChecklistItem.v1.0.0.json", expectedDomain: "exit_process_checklist_item" },
|
|
128
|
+
{ file: "exitReasons.v1.0.0.json", expectedDomain: "exit_reasons" },
|
|
129
|
+
{ file: "facialHair.v1.0.0.json", expectedDomain: "facial_hair" },
|
|
130
|
+
{ file: "funder.v1.0.0.json", expectedDomain: "funder" },
|
|
131
|
+
{ file: "goalCategory.v1.0.0.json", expectedDomain: "goal_category" },
|
|
132
|
+
{ file: "goalPriority.v1.0.0.json", expectedDomain: "goal_priority" },
|
|
133
|
+
{ file: "goalStatus.v1.0.0.json", expectedDomain: "goal_status" },
|
|
134
|
+
{ file: "goalWithdrawalReason.v1.0.0.json", expectedDomain: "goal_withdrawal_reason" },
|
|
135
|
+
{ file: "hmisProjectType.v1.0.0.json", expectedDomain: "hmis_project_type" },
|
|
136
|
+
{ file: "hopeScaleCaptureContext.v1.0.0.json", expectedDomain: "hope_scale_capture_context" },
|
|
137
|
+
{ file: "hopeScaleResponseOptions.v1.0.0.json", expectedDomain: "hope_scale_response_options" },
|
|
138
|
+
{ file: "hopeScaleTier.v1.0.0.json", expectedDomain: "hope_scale_tier" },
|
|
139
|
+
{ file: "identificationStatus.v1.0.0.json", expectedDomain: "identification_status" },
|
|
140
|
+
{ file: "investigativeRequestType.v1.0.0.json", expectedDomain: "investigative_request_type" },
|
|
141
|
+
{ file: "languages.v1.0.0.json", expectedDomain: "languages" },
|
|
142
|
+
{ file: "leReportStatus.v1.0.0.json", expectedDomain: "le_report_status" },
|
|
143
|
+
{ file: "legalActionType.v1.0.0.json", expectedDomain: "legal_action_type" },
|
|
144
|
+
{ file: "messageReportReason.v1.0.0.json", expectedDomain: "message_report_reason" },
|
|
145
|
+
{ file: "midStayEventType.v1.0.0.json", expectedDomain: "mid_stay_event_type" },
|
|
146
|
+
{ file: "milestoneType.v1.0.0.json", expectedDomain: "milestone_type" },
|
|
147
|
+
{ file: "needsResidentialAgain.v1.0.0.json", expectedDomain: "needs_residential_again" },
|
|
148
|
+
{ file: "petExitReason.v1.0.0.json", expectedDomain: "pet_exit_reason" },
|
|
149
|
+
{ file: "petRelationshipBasis.v1.0.0.json", expectedDomain: "pet_relationship_basis" },
|
|
150
|
+
{ file: "programSpecificCode.v1.0.0.json", expectedDomain: "program_specific_code" },
|
|
151
|
+
{ file: "proofOfIdType.v1.0.0.json", expectedDomain: "proof_of_id_type" },
|
|
152
|
+
{ file: "referenceLinkType.v1.0.0.json", expectedDomain: "reference_link_type" },
|
|
153
|
+
{ file: "relationshipDynamics.v1.0.0.json", expectedDomain: "relationship_dynamics" },
|
|
154
|
+
{ file: "returnedToAbuserStatus.v1.0.0.json", expectedDomain: "returned_to_abuser_status" },
|
|
155
|
+
{ file: "rsvpResponse.v1.0.0.json", expectedDomain: "rsvp_response" },
|
|
156
|
+
{ file: "servicePlanClosureReason.v1.0.0.json", expectedDomain: "service_plan_closure_reason" },
|
|
157
|
+
{ file: "servicePlanReviewSnoozeReason.v1.0.0.json", expectedDomain: "service_plan_review_snooze_reason" },
|
|
158
|
+
{ file: "serviceSource.v1.0.0.json", expectedDomain: "service_source" },
|
|
159
|
+
{ file: "severityFollowUp.v1.0.0.json", expectedDomain: "severity_follow_up" },
|
|
160
|
+
{ file: "signatureMethod.v1.0.0.json", expectedDomain: "signature_method" },
|
|
161
|
+
{ file: "signatureType.v1.0.0.json", expectedDomain: "signature_type" },
|
|
162
|
+
{ file: "smtBodyLocation.v1.0.0.json", expectedDomain: "smt_body_location" },
|
|
163
|
+
{ file: "smtNameRelation.v1.0.0.json", expectedDomain: "smt_name_relation" },
|
|
164
|
+
{ file: "smtSignificanceFlags.v1.0.0.json", expectedDomain: "smt_significance_flags" },
|
|
165
|
+
{ file: "substanceUseStatus.v1.0.0.json", expectedDomain: "substance_use_status" },
|
|
166
|
+
{ file: "supportTopic.v1.0.0.json", expectedDomain: "support_topic" },
|
|
167
|
+
{ file: "threadStatus.v1.0.0.json", expectedDomain: "thread_status" },
|
|
168
|
+
{ file: "threadType.v1.0.0.json", expectedDomain: "thread_type" },
|
|
169
|
+
{ file: "verificationStatus.v1.0.0.json", expectedDomain: "verification_status" },
|
|
170
|
+
{ file: "visaType.v1.0.0.json", expectedDomain: "visa_type" },
|
|
106
171
|
] as const;
|
|
107
172
|
|
|
108
173
|
function loadSot(file: string): unknown {
|