@htilabs/platform-common-models 0.12.2 → 0.12.4

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 (54) hide show
  1. package/dist/cvcs/index.cjs +170 -21
  2. package/dist/cvcs/index.cjs.map +1 -1
  3. package/dist/cvcs/index.d.cts +182 -27
  4. package/dist/cvcs/index.d.ts +182 -27
  5. package/dist/cvcs/index.js +170 -21
  6. package/dist/cvcs/index.js.map +1 -1
  7. package/dist/enums/index.cjs +2 -0
  8. package/dist/enums/index.cjs.map +1 -1
  9. package/dist/enums/index.d.cts +5 -3
  10. package/dist/enums/index.d.ts +5 -3
  11. package/dist/enums/index.js +2 -0
  12. package/dist/enums/index.js.map +1 -1
  13. package/dist/{index-4DiJrn7y.d.ts → index-C0J3f169.d.ts} +1 -1
  14. package/dist/{index-qreOzXYS.d.cts → index-EPjPjR0z.d.cts} +1 -1
  15. package/dist/index.cjs +227 -28
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +4 -4
  18. package/dist/index.d.ts +4 -4
  19. package/dist/index.js +222 -28
  20. package/dist/index.js.map +1 -1
  21. package/dist/models/index.d.cts +2 -2
  22. package/dist/models/index.d.ts +2 -2
  23. package/dist/schemas/index.cjs +41 -7
  24. package/dist/schemas/index.cjs.map +1 -1
  25. package/dist/schemas/index.d.cts +130 -26
  26. package/dist/schemas/index.d.ts +130 -26
  27. package/dist/schemas/index.js +38 -7
  28. package/dist/schemas/index.js.map +1 -1
  29. package/dist/{cvc-Cp4uWnAa.d.cts → team-C4LJ5Tex.d.cts} +36 -1
  30. package/dist/{cvc-Cp4uWnAa.d.ts → team-C4LJ5Tex.d.ts} +36 -1
  31. package/dist/validation/index.cjs +155 -0
  32. package/dist/validation/index.cjs.map +1 -1
  33. package/dist/validation/index.d.cts +1 -1
  34. package/dist/validation/index.d.ts +1 -1
  35. package/dist/validation/index.js +153 -0
  36. package/dist/validation/index.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/__tests__/__snapshots__/cvc-sot.snap +5 -1
  39. package/src/__tests__/core-information-scope-invariant.test.ts +179 -2
  40. package/src/__tests__/cvc-sot-snapshot.test.ts +10 -0
  41. package/src/__tests__/cvc-structural.test.ts +3 -0
  42. package/src/__tests__/location-type-routing-invariant.test.ts +202 -0
  43. package/src/__tests__/team-directory-fields.test.ts +252 -0
  44. package/src/cvcs/coreInformationScope.v1.0.0.json +39 -5
  45. package/src/cvcs/index.ts +3 -0
  46. package/src/cvcs/locationType.v1.0.0.json +131 -16
  47. package/src/generated/cvc-enums.ts +5 -3
  48. package/src/index.ts +7 -0
  49. package/src/schemas/index.ts +8 -0
  50. package/src/schemas/team.ts +118 -0
  51. package/src/validation/index.ts +1 -0
  52. package/src/validation/team.ts +48 -0
  53. package/dist/{cvcEntry-ctHTp2df.d.cts → cvcEntry-DaDrEuTa.d.cts} +8 -8
  54. package/dist/{cvcEntry-ctHTp2df.d.ts → cvcEntry-DaDrEuTa.d.ts} +8 -8
package/dist/index.d.cts CHANGED
@@ -1,11 +1,11 @@
1
1
  export { A as ACCOMMODATION_LABELS, a as ACCOMMODATION_OPTIONS, b as AGE_BIN_REPORTING, c as AGE_BIN_REPORTING_IS_MINOR, d as AGE_BIN_REPORTING_LABELS, e as APPARENT_AGE, f as APPARENT_AGE_LABELS, g as APP_SCOPE, h as AccommodationValue, i as AgeBinReportingValue, j as AppScopeValue, k as ApparentAgeValue, B as BIRTH_LOCATION, l as BIRTH_LOCATION_LABELS, m as BIRTH_LOCATION_VALUES, n as BirthLocationValue, C as CALLER_IS_VICTIM_ROLES, o as CVC100Value, p as CVC115Value, q as CVC120Value, r as CVC121Value, s as CVC122Value, t as CVC126Category, u as CVC126Option, v as CVC126Value, w as CVC136Category, x as CVC136CoreIndicator, y as CVC136Option, z as CVC136Value, D as CVC145Category, E as CVC145Option, F as CVC145Value, G as CVC147Value, H as CVC148Value, I as CVC150Value, J as CVC151Value, K as CVC152Value, L as CVC153Value, M as CVC156Value, N as CVC157Value, O as CVC15Value, P as CVC16Value, Q as CVC171Category, R as CVC171Option, S as CVC171Value, T as CVC179HierarchicalCategory, U as CVC179HierarchicalValue, V as CVC179Value, W as CVC17Value, X as CVC180Value, Y as CVC181Value, Z as CVC196Value, _ as CVC1Value, $ as CVC67Value, a0 as CVC72Value, a1 as CVC76Value, a2 as CVC93Value, a3 as CVC95Value, a4 as CVC96Value, a5 as CVC97Value, a6 as CVC98Value, a7 as CVC99Value, a8 as CVC_100_LABELS, a9 as CVC_100_LIVES_RURAL, aa as CVC_100_VALUES, ab as CVC_115_LABELS, ac as CVC_115_SERVICE_PLANNING, ad as CVC_115_VALUES, ae as CVC_120_LABELS, af as CVC_120_MILITARY_BRANCH, ag as CVC_120_VALUES, ah as CVC_121_LABELS, ai as CVC_121_MILITARY_STATUS, aj as CVC_121_VALUES, ak as CVC_122_LABELS, al as CVC_122_PRIMARY_LANGUAGE, am as CVC_122_VALUES, an as CVC_126_CATEGORY, ao as CVC_126_CATEGORY_LABELS, ap as CVC_126_LABELS, aq as CVC_126_OPTIONS, ar as CVC_126_PERSON_RELATIONSHIP, as as CVC_126_PROTECTED_CATEGORIES, at as CVC_126_TYPE_TO_CATEGORY, au as CVC_126_VALUES, av as CVC_136_ALERT_INDICATOR, aw as CVC_136_CATEGORY_LABELS, ax as CVC_136_CORE_INDICATOR_LABELS, ay as CVC_136_CORE_INDICATOR_VALUES, az as CVC_136_INDICATOR_CATEGORY, aA as CVC_136_LABELS, aB as CVC_136_OPTIONS, aC as CVC_136_TYPE_TO_CATEGORY, aD as CVC_136_VALUES, aE as CVC_145_CATEGORY, aF as CVC_145_CATEGORY_LABELS, aG as CVC_145_CATEGORY_ORDER, aH as CVC_145_LABELS, aI as CVC_145_OPTIONS, aJ as CVC_145_RELATIONSHIP_DYNAMICS, aK as CVC_145_SELECTABLE_OPTIONS, aL as CVC_145_TYPE_TO_CATEGORY, aM as CVC_145_VALUES, aN as CVC_147_LABELS, aO as CVC_147_PRONOUNS, aP as CVC_147_VALUES, aQ as CVC_148_LABELS, aR as CVC_148_TRIBES, aS as CVC_148_VALUES, aT as CVC_150_EYE_COLOR, aU as CVC_150_LABELS, aV as CVC_150_VALUES, aW as CVC_151_HAIR_COLOR, aX as CVC_151_LABELS, aY as CVC_151_VALUES, aZ as CVC_152_HAS_TATTOOS, a_ as CVC_152_LABELS, a$ as CVC_152_VALUES, b0 as CVC_153_LABELS, b1 as CVC_153_SMT_TYPE, b2 as CVC_153_VALUES, b3 as CVC_156_LABELS, b4 as CVC_156_MARITAL_STATUS, b5 as CVC_156_VALUES, b6 as CVC_157_LABELS, b7 as CVC_157_RELATIONSHIP_STATUS, b8 as CVC_157_VALUES, b9 as CVC_15_CORE_SEX, ba as CVC_15_LABELS, bb as CVC_15_SELECTABLE_VALUES, bc as CVC_16_CORE_ORIENTATION, bd as CVC_16_LABELS, be as CVC_16_LGBTQ_VALUES, bf as CVC_171_CATEGORY, bg as CVC_171_CATEGORY_LABELS, bh as CVC_171_CHILD_TO_PARENT, bi as CVC_171_INCOME_BENEFITS, bj as CVC_171_INCOME_SOURCES, bk as CVC_171_LABELS, bl as CVC_171_PARENT_CHILDREN, bm as CVC_171_SELECTABLE_OPTIONS, bn as CVC_171_VALUES, bo as CVC_171_VALUE_TO_CATEGORY, bp as CVC_179_CHILD_TO_PARENT, bq as CVC_179_EMPLOYMENT_STATUS, br as CVC_179_HIERARCHICAL_CATEGORY, bs as CVC_179_HIERARCHICAL_CATEGORY_LABELS, bt as CVC_179_HIERARCHICAL_CATEGORY_ORDER, bu as CVC_179_HIERARCHICAL_LABELS, bv as CVC_179_HIERARCHICAL_VALUES, bw as CVC_179_LABELS, bx as CVC_179_PARENT_CHILDREN, by as CVC_179_PRIMARY_CATEGORY, bz as CVC_179_SELECTABLE_OPTIONS, bA as CVC_179_VALUES, bB as CVC_179_VALUE_TO_CATEGORY, bC as CVC_17_CORE_GENDER_IDENTITY, bD as CVC_17_LABELS, bE as CVC_17_LEVEL_0_MISSINGNESS_OPTIONS, bF as CVC_17_LEVEL_1_OPTIONS, bG as CVC_17_LEVEL_2_TRANSGENDER_OPTIONS, bH as CVC_17_TRANSGENDER_VALUES, bI as CVC_180_EDUCATION_LEVEL, bJ as CVC_180_LABELS, bK as CVC_180_ORDINAL, bL as CVC_180_VALUES, bM as CVC_181_COUNTRIES, bN as CVC_181_LABELS, bO as CVC_196_CHILD_WELFARE_EPISODE_TYPE, bP as CVC_196_LABELS, bQ as CVC_196_VALUES, bR as CVC_1_LABELS, bS as CVC_1_NAME_TYPE, bT as CVC_1_STRUCTURED_NAME_TYPES, bU as CVC_1_UNSTRUCTURED_NAME_TYPES, bV as CVC_1_VALUES, bW as CVC_67_HMIS_SEX, bX as CVC_67_LABELS, bY as CVC_67_MISSINGNESS_VALUES, bZ as CVC_67_SELECTABLE_VALUES, b_ as CVC_72_HT_TYPE, b$ as CVC_72_LABELS, c0 as CVC_72_VALUES, c1 as CVC_76_LABELS, c2 as CVC_76_RACE_ETHNICITY, c3 as CVC_76_VALUES, c4 as CVC_93_CHILD_WELFARE_INVOLVEMENT, c5 as CVC_93_LABELS, c6 as CVC_93_VALUES, c7 as CVC_95_JUVENILE_JUSTICE_INVOLVEMENT, c8 as CVC_95_LABELS, c9 as CVC_95_VALUES, ca as CVC_96_HOMELESS_STATUS, cb as CVC_96_LABELS, cc as CVC_96_VALUES, cd as CVC_97_IMMIGRANT_REFUGEE, ce as CVC_97_LABELS, cf as CVC_97_VALUES, cg as CVC_98_LABELS, ch as CVC_98_US_VETERAN, ci as CVC_98_VALUES, cj as CVC_99_ENGLISH_PROFICIENCY, ck as CVC_99_LABELS, cl as CVC_99_VALUES, cm as DATA_QUALITY, cn as DATA_QUALITY_DESCRIPTIONS, co as DATA_QUALITY_LABELS, cp as DATA_QUALITY_VALUES, cq as DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY, cr as DataQualityValue, cs as FORM_STATUS, ct as FORM_STATUS_LABELS, cu as FORM_TYPE, cv as FORM_TYPE_LABELS, cw as FUNCTION_STATUS, cx as FUNCTION_STATUS_LABELS, cy as FUNCTION_STATUS_VALUES, cz as FormStatusValue, cA as FormTypeValue, cB as FunctionStatusValue, cC as IC13Category, cD as IC13PriorityGroup, cE as IC13Value, cF as IC22Value, cG as IC23Value, cH as IC24Value, cI as IC25Value, cJ as IC49ReferralOutcomeValue, cK as IC49ReferralVerificationValue, cL as IC49Value, cM as IC4Value, cN as IC56ChannelValue, cO as IC56Value, cP as IC57Value, cQ as IC58ExternalCategory, cR as IC58Value, cS as IC59Value, cT as IC5Value, cU as IC_13_CATEGORIES, cV as IC_13_CATEGORY_ORDER, cW as IC_13_LABELS, cX as IC_13_PRIORITY_GROUPS, cY as IC_13_RELATIONSHIP_ABBREV, cZ as IC_13_RELATIONSHIP_TYPE, c_ as IC_13_REVERSE_CONTEXT_LABELS, c$ as IC_22_CORE_SEX, d0 as IC_22_LABELS, d1 as IC_23_CORE_GENDER_IDENTITY, d2 as IC_23_LABELS, d3 as IC_24_LABELS, d4 as IC_24_RACE, d5 as IC_25_ETHNICITY, d6 as IC_25_LABELS, d7 as IC_48_SERVICE_CATEGORIES, d8 as IC_49_DESCRIPTIONS, d9 as IC_49_LABELS, da as IC_49_REFERRAL_OUTCOME, db as IC_49_REFERRAL_OUTCOME_LABELS, dc as IC_49_REFERRAL_VERIFICATION, dd as IC_49_REFERRAL_VERIFICATION_LABELS, de as IC_49_SERVICE_MECHANISM, df as IC_4_AGE_TYPE, dg as IC_4_LABELS, dh as IC_56_DESCRIPTIONS, di as IC_56_LABELS, dj as IC_56_OPTIONS, dk as IC_56_PROVISIONAL_CHANNELS, dl as IC_56_SERVICE_DELIVERY_CHANNEL, dm as IC_57_LABELS, dn as IC_57_SERVICE_AUDIENCE, dp as IC_58_EXTERNAL_TIERED, dq as IC_58_LABELS, dr as IC_58_ORG_TYPE_GROUPS, ds as IC_58_PRIMARY_BRANCHES, dt as IC_58_REFERRAL_ENTITY, du as IC_59_LABELS, dv as IC_59_SERVICE_STATE, dw as IC_5_FULL_LABELS, dx as IC_5_LABELS, dy as IC_5_VICTIMIZATION, dz as INCIDENT_INVOLVEMENT_ROLE, dA as INCIDENT_INVOLVEMENT_ROLE_LABELS, dB as INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE, dC as INCIDENT_PARTICIPATION_ROLE, dD as INCIDENT_PARTICIPATION_ROLE_LABELS, dE as INCIDENT_PARTICIPATION_ROLE_VALUES, dF as INTERACTION_TYPES, dG as INTERACTION_TYPE_LABELS, dH as INVOLVEMENT_ROLE_TO_PERSON_TYPE, dI as IncidentInvolvementRoleValue, dJ as IncidentParticipationRoleValue, dK as InteractionTypeValue, dL as MINOR_ADULT_STATUS, dM as MINOR_ADULT_STATUS_LABELS, dN as MinorAdultStatusValue, dO as OrgTypeGroup, dP as PARTICIPATION_ROLE_CATEGORIES, dQ as PERMISSION_STATE, dR as PERMISSION_STATE_DISPLAY, dS as PERMISSION_STATE_LABELS, dT as PERMISSION_STATE_VALUES, dU as PERSON_DISPLAY_CATEGORY, dV as PERSON_DISPLAY_CATEGORY_LABELS, dW as PERSON_ROLES, dX as PERSON_TYPE, dY as PERSON_TYPE_VALUES, dZ as PLATFORM_TOOL, d_ as PLATFORM_TOOL_LABELS, d$ as PLATFORM_TOOL_VALUES, e0 as PermissionStateValue, e1 as PersonDisplayCategoryValue, e2 as PersonRoleValue, e3 as PersonTypeValue, e4 as PlatformToolValue, e5 as QUESTION_FORMAT, e6 as QUESTION_FORMAT_LABELS, e7 as QUICK_START_CONFIG, e8 as QUICK_START_LABELS, e9 as QUICK_START_TEMPLATES, ea as QuestionFormatValue, eb as QuickStartTemplateId, ec as RECORD_STATES, ed as RECORD_STATE_LABELS, ee as RELATIONSHIP_CONCERNS, ef as RELATIONSHIP_CONCERNS_LABELS, eg as RELATIONSHIP_CONCERNS_VALUES, eh as RELATIONSHIP_DYNAMICS, ei as RELATIONSHIP_DYNAMICS_LABELS, ej as RELATIONSHIP_DYNAMICS_VALUES, ek as ROLE_LEVEL, el as ROLE_LEVEL_LABELS, em as ROLE_LEVEL_VALUES, en as RecordStateValue, eo as ReferralBranch, ep as RelationshipConcernValue, eq as RelationshipDynamicValue, er as RoleLevelValue, es as SESSION_STATES, et as SESSION_STATE_LABELS, eu as SHARE_VIEW, ev as SHARE_VIEW_LABELS, ew as SHARE_VIEW_VALUES, ex as SUBMISSION_STATES, ey as SUBMISSION_STATE_LABELS, ez as ServiceCategory, eA as ServiceCategoryChild, eB as SessionStateValue, eC as ShareViewValue, eD as SubmissionStateValue, eE as THREAD_INVOLVEMENT_ROLES, eF as USER_STATUS, eG as USER_STATUS_LABELS, eH as UserStatusValue, eI as VALID_INTERACTION_TYPES, eJ as VALID_RECORD_STATES, eK as deriveAgeBinFromAge, eL as getDisplayCategoryForRole, eM as getPersonTypeForRole, eN as getRelationshipCategory, eO as isIC56Missingness, eP as isIC56ValidChannel, eQ as isLgbtqOrientation, eR as isProtectedRelationship, eS as isStructuredNameType, eT as isTransgenderGenderIdentity, eU as sortRelationshipsByPriority } from './platform-auth-Dv5fu0Fh.cjs';
2
2
  export { IC48Catalog, IC48CatalogMeta, IC48Category, IC48CategoryCrosswalk, IC48CrisisServiceId, IC48DerivationServiceId, IC_48_BY_CODE, IC_48_BY_ID, IC_48_CATEGORIES, IC_48_CRISIS_SERVICES, IC_48_DERIVATION_SERVICES, IC_48_SERVICE_CATALOG, getIC48AncestorCategories, getIC48CategoryByCode, getIC48CategoryById, getIC48ChildCategories, getIC48Label, getIC48ParentCategory, getIC48SelectableCategories, getIC48TopicCategories, getIC48TopicForCategory } from './constants/index.cjs';
3
- export { Address, Demographics, Email, PersonName, Phone, addressSchema, demographicsSchema, emailSchema, personNameSchema, phoneSchema } from './schemas/index.cjs';
4
- export { C as Choice, a as CvcEntry, b as CvcRegistry, F as Form, c as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, d as PlatformRole, Q as Question, S as ScoringCondition, e as ScoringRecommendation, f as ScoringRule, g as ScoringThreshold, h as Section, i as SectionQuestionRef, V as VisibilityRule, j as buildCvcEntrySchema, k as buildCvcRegistrySchema, l as buildFormSchema, m as buildPlatformFunctionSchema, n as buildPlatformRoleSchema, o as buildQuestionSchema, p as buildScoringRuleSchema, q as buildSectionSchema, r as choiceSchema, s as cvcEntrySchemaDefinition, t as cvcEntrySchemaOptions, u as cvcRegistrySchemaDefinition, v as cvcRegistrySchemaOptions, w as formSchemaDefinition, x as formSchemaOptions, y as formSectionRefSchema, z as guidanceSchema, A as layoutSchema, B as platformFunctionSchemaDefinition, D as platformFunctionSchemaOptions, E as platformRoleSchemaDefinition, H as platformRoleSchemaOptions, I as questionSchemaDefinition, J as questionSchemaOptions, K as scoringConditionSchema, M as scoringRecommendationSchema, N as scoringRuleSchemaDefinition, O as scoringRuleSchemaOptions, R as scoringThresholdSchema, T as sectionQuestionRefSchema, U as sectionSchemaDefinition, W as sectionSchemaOptions, X as visibilityRuleSchema } from './cvcEntry-ctHTp2df.cjs';
5
- export { C as CvcEntryDoc, a as CvcRegistryDoc, F as FormDoc, P as PlatformFunctionDoc, b as PlatformModels, c as PlatformRoleDoc, Q as QuestionDoc, S as ScoringRuleDoc, d as SectionDoc, e as compileCvcEntryModel, f as compileCvcRegistryModel, g as createPlatformModels, h as cvcEntryModel, i as cvcRegistryModel, j as formModel, p as platformFunctionModel, k as platformRoleModel, q as questionModel, s as scoringRuleModel, l as sectionModel } from './index-qreOzXYS.cjs';
3
+ export { Address, Demographics, Email, PersonName, Phone, TEAM_MODEL_NAME, TeamDirectoryFields, addTeamDirectoryFields, addressSchema, demographicsSchema, emailSchema, personNameSchema, phoneSchema, teamDirectorySchemaDefinition } from './schemas/index.cjs';
4
+ export { C as Choice, a as CvcEntry, b as CvcRegistry, F as Form, c as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, d as PlatformRole, Q as Question, S as ScoringCondition, e as ScoringRecommendation, f as ScoringRule, g as ScoringThreshold, h as Section, i as SectionQuestionRef, V as VisibilityRule, j as buildCvcEntrySchema, k as buildCvcRegistrySchema, l as buildFormSchema, m as buildPlatformFunctionSchema, n as buildPlatformRoleSchema, o as buildQuestionSchema, p as buildScoringRuleSchema, q as buildSectionSchema, r as choiceSchema, s as cvcEntrySchemaDefinition, t as cvcEntrySchemaOptions, u as cvcRegistrySchemaDefinition, v as cvcRegistrySchemaOptions, w as formSchemaDefinition, x as formSchemaOptions, y as formSectionRefSchema, z as guidanceSchema, A as layoutSchema, B as platformFunctionSchemaDefinition, D as platformFunctionSchemaOptions, E as platformRoleSchemaDefinition, H as platformRoleSchemaOptions, I as questionSchemaDefinition, J as questionSchemaOptions, K as scoringConditionSchema, M as scoringRecommendationSchema, N as scoringRuleSchemaDefinition, O as scoringRuleSchemaOptions, R as scoringThresholdSchema, T as sectionQuestionRefSchema, U as sectionSchemaDefinition, W as sectionSchemaOptions, X as visibilityRuleSchema } from './cvcEntry-DaDrEuTa.cjs';
5
+ export { C as CvcEntryDoc, a as CvcRegistryDoc, F as FormDoc, P as PlatformFunctionDoc, b as PlatformModels, c as PlatformRoleDoc, Q as QuestionDoc, S as ScoringRuleDoc, d as SectionDoc, e as compileCvcEntryModel, f as compileCvcRegistryModel, g as createPlatformModels, h as cvcEntryModel, i as cvcRegistryModel, j as formModel, p as platformFunctionModel, k as platformRoleModel, q as questionModel, s as scoringRuleModel, l as sectionModel } from './index-EPjPjR0z.cjs';
6
6
  export { AccommodationTypeKey, AccommodationTypeKeys, ActionStepCompletionStatusKey, ActionStepCompletionStatusKeys, ActionStepTypeKey, ActionStepTypeKeys, ActivityTypeKey, ActivityTypeKeys, AdminRoleKey, AdminRoleKeys, AdministeringJurisdictionKey, AdministeringJurisdictionKeys, AgeBinReportingKey, AgeBinReportingKeys, AnnouncementAudienceScopeKey, AnnouncementAudienceScopeKeys, AnnouncementResponseTypeKey, AnnouncementResponseTypeKeys, AssertionDomainKey, AssertionDomainKeys, AssertionStatusKey, AssertionStatusKeys, BasisQuickPicksKey, BasisQuickPicksKeys, CarCorrectionReasonKey, CarCorrectionReasonKeys, CaseShareStateKey, CaseShareStateKeys, CheckInActivityKey, CheckInActivityKeys, CheckInPhaseKey, CheckInPhaseKeys, ChildBehavioralConcernsKey, ChildBehavioralConcernsKeys, ChildChangeTypeKey, ChildChangeTypeKeys, ChildCustodyArrangementKey, ChildCustodyArrangementKeys, CitizenshipKey, CitizenshipKeys, CollectionContextKey, CollectionContextKeys, ContactInfoTypeKey, ContactInfoTypeKeys, ContactInfoUseTypeKey, ContactInfoUseTypeKeys, ContactLinkTypeKey, ContactLinkTypeKeys, ContactSafetyStatusKey, ContactSafetyStatusKeys, CoreFunctionsKey, CoreFunctionsKeys, CoreIndicatorKey, CoreIndicatorKeys, CoreInformationScopeKey, CoreInformationScopeKeys, CoreReferralOutcomeKey, CoreReferralOutcomeKeys, CountryKey, CountryKeys, CreatedBySystemKey, CreatedBySystemKeys, CriminalOrgCategoryKey, CriminalOrgCategoryKeys, DaIncidentArchiveReasonKey, DaIncidentArchiveReasonKeys, DaIncidentConfidenceKey, DaIncidentConfidenceKeys, DaIncidentDayApproxKey, DaIncidentDayApproxKeys, DaIncidentSeverityKey, DaIncidentSeverityKeys, DeterminationHelperCategoryKey, DeterminationHelperCategoryKeys, DeterminationLevelKey, DeterminationLevelKeys, DhStateKey, DhStateKeys, DisabilitySubtypeKey, DisabilitySubtypeKeys, DiscretionLevelKey, DiscretionLevelKeys, EmergencyContactCallReasonKey, EmergencyContactCallReasonKeys, EmergencyContactPermissionsKey, EmergencyContactPermissionsKeys, EmergencyExitCascadeKey, EmergencyExitCascadeKeys, EmploymentStatusKey, EmploymentStatusKeys, EnrollmentApplicationStatusKey, EnrollmentApplicationStatusKeys, ExitProcessChecklistItemKey, ExitProcessChecklistItemKeys, ExitReasonsKey, ExitReasonsKeys, ExploitationTypeKey, ExploitationTypeKeys, EyeColorKey, EyeColorKeys, FacialHairKey, FacialHairKeys, FacilitatorEntityTypeKey, FacilitatorEntityTypeKeys, FacilitatorLabelUsedInSourceKey, FacilitatorLabelUsedInSourceKeys, FacilitatorSubroleKey, FacilitatorSubroleKeys, FrequencyCadenceKey, FrequencyCadenceKeys, FunderKey, FunderKeys, GenderIdentityKey, GenderIdentityKeys, GoalCategoryKey, GoalCategoryKeys, GoalPriorityKey, GoalPriorityKeys, GoalStatusKey, GoalStatusKeys, GoalWithdrawalReasonKey, GoalWithdrawalReasonKeys, HairColorKey, HairColorKeys, HasTattoosKey, HasTattoosKeys, HighestEducationLevelCompletedKey, HighestEducationLevelCompletedKeys, HivStatusKey, HivStatusKeys, HmisCurrentLivingSituationKey, HmisCurrentLivingSituationKeys, HmisProjectTypeKey, HmisProjectTypeKeys, HmisRelationshipToHohKey, HmisRelationshipToHohKeys, HomelessStatusKey, HomelessStatusKeys, HopeScaleCaptureContextKey, HopeScaleCaptureContextKeys, HopeScaleResponseOptionsKey, HopeScaleResponseOptionsKeys, HopeScaleTierKey, HopeScaleTierKeys, HousingSubsidyTypesKey, HousingSubsidyTypesKeys, HtTypeKey, HtTypeKeys, IdentificationStatusKey, IdentificationStatusKeys, ImmigrationLegalStatusChangeTypeKey, ImmigrationLegalStatusChangeTypeKeys, IncarcerationEpisodeTypeKey, IncarcerationEpisodeTypeKeys, IncidentInvolvementRoleKey, IncidentInvolvementRoleKeys, IncidentParticipationRoleKey, IncidentParticipationRoleKeys, IncomeBenefitsSourcesKey, IncomeBenefitsSourcesKeys, InferenceTypeKey, InferenceTypeKeys, InvestigativeRequestTypeKey, InvestigativeRequestTypeKeys, JuvenileJusticeEpisodeTypeKey, JuvenileJusticeEpisodeTypeKeys, JuvenileJusticeInvolvementStatusKey, JuvenileJusticeInvolvementStatusKeys, LanguagesKey, LanguagesKeys, LeReportStatusKey, LeReportStatusKeys, LegalActionTypeKey, LegalActionTypeKeys, LivingSituationKey, LivingSituationKeys, LocationTypeKey, LocationTypeKeys, MaritalStatusLegalKey, MaritalStatusLegalKeys, MentalHealthStatusKey, MentalHealthStatusKeys, MessageReportReasonKey, MessageReportReasonKeys, MidStayEventTypeKey, MidStayEventTypeKeys, MilestoneTypeKey, MilestoneTypeKeys, MilitaryBranchKey, MilitaryBranchKeys, MilitaryStatusKey, MilitaryStatusKeys, MinorAdultStatusKey, MinorAdultStatusKeys, NameTypeKey, NameTypeKeys, NeedsAssessmentChangeTypeKey, NeedsAssessmentChangeTypeKeys, NeedsResidentialAgainKey, NeedsResidentialAgainKeys, OffenderStatusFamilyKey, OffenderStatusFamilyKeys, OffenderStatusKey, OffenderStatusKeys, OrientationIdentityKey, OrientationIdentityKeys, PersonRelationshipsKey, PersonRelationshipsKeys, PetExitReasonKey, PetExitReasonKeys, PetRelationshipBasisKey, PetRelationshipBasisKeys, PoPetitionBasisKey, PoPetitionBasisKeys, PoStatusKey, PoStatusKeys, PoViolationStatusKey, PoViolationStatusKeys, PreferredContactMethodKey, PreferredContactMethodKeys, PrimaryLanguageKey, PrimaryLanguageKeys, ProgramEnrollmentChangeTypeKey, ProgramEnrollmentChangeTypeKeys, ProgramSpecificCodeKey, ProgramSpecificCodeKeys, PronounsKey, PronounsKeys, ProofOfIdTypeKey, ProofOfIdTypeKeys, ProvenanceSourceIdKey, ProvenanceSourceIdKeys, QualityFlagsKey, QualityFlagsKeys, RaceEthnicityKey, RaceEthnicityKeys, RadiusBucketKey, RadiusBucketKeys, RecencyBandKey, RecencyBandKeys, ReferenceLinkTypeKey, ReferenceLinkTypeKeys, ReferralEntityCategoryKey, ReferralEntityCategoryKeys, ReferralOriginKey, ReferralOriginKeys, RelationshipConcernKey, RelationshipConcernKeys, RelationshipDynamicsKey, RelationshipDynamicsKeys, RelationshipStatusCurrentKey, RelationshipStatusCurrentKeys, RelationshipTiesKey, RelationshipTiesKeys, ReturnedToAbuserStatusKey, ReturnedToAbuserStatusKeys, RiskCategoryKey, RiskCategoryKeys, RiskIdentificationMilestoneKey, RiskIdentificationMilestoneKeys, RiskSeverityBandKey, RiskSeverityBandKeys, RoiMethodKey, RoiMethodKeys, RoiScopeKey, RoiScopeKeys, RoiStatusKey, RoiStatusKeys, RoleContextKey, RoleContextKeys, RomanticRelationshipChangeTypeKey, RomanticRelationshipChangeTypeKeys, RsvpResponseKey, RsvpResponseKeys, ServiceAudienceKey, ServiceAudienceKeys, ServiceCategoryKey, ServiceCategoryKeys, ServiceDeliveryChannelKey, ServiceDeliveryChannelKeys, ServiceMechanismKey, ServiceMechanismKeys, ServicePlanClosureReasonKey, ServicePlanClosureReasonKeys, ServicePlanReviewSnoozeReasonKey, ServicePlanReviewSnoozeReasonKeys, ServiceSourceKey, ServiceSourceKeys, ServiceStateKey, ServiceStateKeys, SessionNoteVisibilityKey, SessionNoteVisibilityKeys, SessionStateKey, SessionStateKeys, SessionTemplateKey, SessionTemplateKeys, SeverityFollowUpKey, SeverityFollowUpKeys, SexProviderSubroleKey, SexProviderSubroleKeys, SharePurposeKey, SharePurposeKeys, ShareResponseReasonKey, ShareResponseReasonKeys, SignatureMethodKey, SignatureMethodKeys, SignatureTypeKey, SignatureTypeKeys, SmtBodyLocationKey, SmtBodyLocationKeys, SmtNameRelationKey, SmtNameRelationKeys, SmtSignificanceFlagsKey, SmtSignificanceFlagsKeys, SmtTypeKey, SmtTypeKeys, SourceCategoryKey, SourceCategoryKeys, SourceInstrumentKey, SourceInstrumentKeys, SourceSubtypeKey, SourceSubtypeKeys, SourceSystemKey, SourceSystemKeys, SpecialNeedsDisabilitiesKey, SpecialNeedsDisabilitiesKeys, SubjectTypeKey, SubjectTypeKeys, SubstanceUseStatusKey, SubstanceUseStatusKeys, SuggestionSourceKey, SuggestionSourceKeys, SupportStrengthKey, SupportStrengthKeys, SupportTopicKey, SupportTopicKeys, ThreadStatusKey, ThreadStatusKeys, ThreadTypeKey, ThreadTypeKeys, TimeScopeKey, TimeScopeKeys, TraffickingRelevantRoleKey, TraffickingRelevantRoleKeys, TribesKey, TribesKeys, UserRoleKey, UserRoleKeys, VerificationMethodKey, VerificationMethodKeys, VerificationStatusKey, VerificationStatusKeys, VictimAbuseTypesKey, VictimAbuseTypesKeys, VictimStatusFamilyKey, VictimStatusFamilyKeys, VisaTypeKey, VisaTypeKeys, WhyNotKey, WhyNotKeys } from './enums/index.cjs';
7
7
  export { CvcRegistryService, CvcRegistryServiceOptions, EntryLoader, ICvcEntry, ICvcRegistry, RegistryLoader, RegistryScope, applyEntryOverrides, cascadeExclusions, cvcVersionsToRecord, resolveRegistryWithInheritance } from './services/index.cjs';
8
- export { C as CvcCode, a as CvcCodeSchema, b as CvcDomain, c as CvcEntrySchema, d as CvcEnvelope, e as CvcEnvelopeSchema, f as CvcKey, g as CvcKeySchema, S as ServiceCategoryEntry, h as ServiceCategoryEntrySchema } from './cvc-Cp4uWnAa.cjs';
8
+ export { C as CvcCode, a as CvcCodeSchema, b as CvcDomain, c as CvcEntrySchema, d as CvcEnvelope, e as CvcEnvelopeSchema, f as CvcKey, g as CvcKeySchema, S as ServiceCategoryEntry, h as ServiceCategoryEntrySchema, T as TeamApp, i as TeamAppSchema, j as TeamDirectoryFieldsInput, k as TeamDirectoryFieldsSchema } from './team-C4LJ5Tex.cjs';
9
9
  export { accommodationTypeSot, actionStepCompletionStatusSot, actionStepTypeSot, activityTypeSot, adminRolesSot, administeringJurisdictionSot, ageBinReportingSot, announcementAudienceScopeSot, announcementResponseTypeSot, assertionDomainSot, assertionStatusSot, basisQuickPicksSot, carCorrectionReasonSot, caseShareStateSot, checkInActivitySot, checkInPhaseSot, childBehavioralConcernsSot, childChangeTypeSot, childCustodyArrangementSot, citizenshipSot, collectionContextSot, contactInfoTypesSot, contactInfoUseTypeSot, contactLinkTypeSot, contactSafetyStatusSot, coreDhStateSot, coreFunctionsSot, coreIndicatorsSot, coreInformationScopeSot, coreReferralOutcomeSot, countriesSot, createdBySystemSot, criminalOrgCategorySot, daIncidentArchiveReasonSot, daIncidentConfidenceSot, daIncidentDayApproxSot, daIncidentSeveritySot, determinationHelperCategoriesSot, determinationLevelSot, disabilitySubtypeSot, discretionLevelSot, emergencyContactCallReasonSot, emergencyContactPermissionsSot, emergencyExitCascadeSot, employmentStatusSot, enrollmentApplicationStatusSot, exitProcessChecklistItemSot, exitReasonsSot, exploitationTypeSot, eyeColorSot, facialHairSot, facilitatorEntityTypeSot, facilitatorLabelUsedInSourceSot, facilitatorSubroleSot, frequencyCadenceSot, funderSot, genderIdentitySot, goalCategorySot, goalPrioritySot, goalStatusSot, goalWithdrawalReasonSot, hairColorSot, hasTattoosSot, highestEducationLevelCompletedSot, hivStatusSot, hmisCurrentLivingSituationSot, hmisProjectTypeSot, hmisRelationshipToHohSot, hmisSexSot, homelessStatusSot, hopeScaleCaptureContextSot, hopeScaleResponseOptionsSot, hopeScaleTierSot, housingSubsidyTypesSot, htTypeSot, identificationStatusSot, immigrationLegalStatusChangeTypeSot, incarcerationEpisodeTypeSot, incidentInvolvementRolesSot, incidentParticipationRolesSot, incomeBenefitsSourcesSot, inferenceTypeSot, investigativeRequestTypeSot, juvenileJusticeEpisodeTypeSot, juvenileJusticeInvolvementStatusSot, languagesSot, leReportStatusSot, legalActionTypeSot, livingSituationSot, locationTypeSot, maritalStatusLegalSot, mentalHealthStatusSot, messageReportReasonSot, midStayEventTypeSot, milestoneTypeSot, militaryBranchSot, militaryStatusSot, minorAdultStatusSot, nameTypeSot, needsAssessmentChangeTypeSot, needsResidentialAgainSot, offenderStatusFamilySot, offenderStatusSot, orientationIdentitySot, personRelationshipsSot, petExitReasonSot, petRelationshipBasisSot, poPetitionBasisSot, poStatusSot, poViolationStatusSot, preferredContactMethodSot, primaryLanguageSot, programEnrollmentChangeTypeSot, programSpecificCodeSot, pronounsSot, proofOfIdTypeSot, provenanceSourceIdSot, qualityFlagsSot, raceEthnicitySot, radiusBucketSot, recencyBandSot, referenceLinkTypeSot, referralEntityCategorySot, referralOriginSot, relationshipConcernSot, relationshipDynamicsSot, relationshipStatusCurrentSot, relationshipTiesSot, returnedToAbuserStatusSot, riskCategorySot, riskIdentificationMilestoneSot, riskSeverityBandSot, roiMethodSot, roiScopeSot, roiStatusSot, roleContextSot, romanticRelationshipChangeTypeSot, rsvpResponseSot, serviceAudienceSot, serviceCategoriesSot, serviceDeliveryChannelSot, serviceMechanismsSot, servicePlanClosureReasonSot, servicePlanReviewSnoozeReasonSot, serviceSourceSot, serviceStatesSot, sessionNoteVisibilitySot, sessionStateSot, sessionTemplateSot, severityFollowUpSot, sexProviderSubroleSot, sharePurposeSot, shareResponseReasonSot, signatureMethodSot, signatureTypeSot, smtBodyLocationSot, smtNameRelationSot, smtSignificanceFlagsSot, smtTypeSot, sourceCategorySot, sourceInstrumentSot, sourceSubtypeSot, sourceSystemSot, specialNeedsDisabilitiesSot, subjectTypeSot, substanceUseStatusSot, suggestionSourceSot, supportStrengthSot, supportTopicSot, threadStatusSot, threadTypeSot, timeScopeSot, traffickingRelevantRoleSot, tribesSot, userRolesSot, verificationMethodSot, verificationStatusSot, victimAbuseTypesSot, victimStatusFamilySot, visaTypeSot, whyNotsSot } from './cvcs/index.cjs';
10
10
  import 'mongoose';
11
11
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  export { A as ACCOMMODATION_LABELS, a as ACCOMMODATION_OPTIONS, b as AGE_BIN_REPORTING, c as AGE_BIN_REPORTING_IS_MINOR, d as AGE_BIN_REPORTING_LABELS, e as APPARENT_AGE, f as APPARENT_AGE_LABELS, g as APP_SCOPE, h as AccommodationValue, i as AgeBinReportingValue, j as AppScopeValue, k as ApparentAgeValue, B as BIRTH_LOCATION, l as BIRTH_LOCATION_LABELS, m as BIRTH_LOCATION_VALUES, n as BirthLocationValue, C as CALLER_IS_VICTIM_ROLES, o as CVC100Value, p as CVC115Value, q as CVC120Value, r as CVC121Value, s as CVC122Value, t as CVC126Category, u as CVC126Option, v as CVC126Value, w as CVC136Category, x as CVC136CoreIndicator, y as CVC136Option, z as CVC136Value, D as CVC145Category, E as CVC145Option, F as CVC145Value, G as CVC147Value, H as CVC148Value, I as CVC150Value, J as CVC151Value, K as CVC152Value, L as CVC153Value, M as CVC156Value, N as CVC157Value, O as CVC15Value, P as CVC16Value, Q as CVC171Category, R as CVC171Option, S as CVC171Value, T as CVC179HierarchicalCategory, U as CVC179HierarchicalValue, V as CVC179Value, W as CVC17Value, X as CVC180Value, Y as CVC181Value, Z as CVC196Value, _ as CVC1Value, $ as CVC67Value, a0 as CVC72Value, a1 as CVC76Value, a2 as CVC93Value, a3 as CVC95Value, a4 as CVC96Value, a5 as CVC97Value, a6 as CVC98Value, a7 as CVC99Value, a8 as CVC_100_LABELS, a9 as CVC_100_LIVES_RURAL, aa as CVC_100_VALUES, ab as CVC_115_LABELS, ac as CVC_115_SERVICE_PLANNING, ad as CVC_115_VALUES, ae as CVC_120_LABELS, af as CVC_120_MILITARY_BRANCH, ag as CVC_120_VALUES, ah as CVC_121_LABELS, ai as CVC_121_MILITARY_STATUS, aj as CVC_121_VALUES, ak as CVC_122_LABELS, al as CVC_122_PRIMARY_LANGUAGE, am as CVC_122_VALUES, an as CVC_126_CATEGORY, ao as CVC_126_CATEGORY_LABELS, ap as CVC_126_LABELS, aq as CVC_126_OPTIONS, ar as CVC_126_PERSON_RELATIONSHIP, as as CVC_126_PROTECTED_CATEGORIES, at as CVC_126_TYPE_TO_CATEGORY, au as CVC_126_VALUES, av as CVC_136_ALERT_INDICATOR, aw as CVC_136_CATEGORY_LABELS, ax as CVC_136_CORE_INDICATOR_LABELS, ay as CVC_136_CORE_INDICATOR_VALUES, az as CVC_136_INDICATOR_CATEGORY, aA as CVC_136_LABELS, aB as CVC_136_OPTIONS, aC as CVC_136_TYPE_TO_CATEGORY, aD as CVC_136_VALUES, aE as CVC_145_CATEGORY, aF as CVC_145_CATEGORY_LABELS, aG as CVC_145_CATEGORY_ORDER, aH as CVC_145_LABELS, aI as CVC_145_OPTIONS, aJ as CVC_145_RELATIONSHIP_DYNAMICS, aK as CVC_145_SELECTABLE_OPTIONS, aL as CVC_145_TYPE_TO_CATEGORY, aM as CVC_145_VALUES, aN as CVC_147_LABELS, aO as CVC_147_PRONOUNS, aP as CVC_147_VALUES, aQ as CVC_148_LABELS, aR as CVC_148_TRIBES, aS as CVC_148_VALUES, aT as CVC_150_EYE_COLOR, aU as CVC_150_LABELS, aV as CVC_150_VALUES, aW as CVC_151_HAIR_COLOR, aX as CVC_151_LABELS, aY as CVC_151_VALUES, aZ as CVC_152_HAS_TATTOOS, a_ as CVC_152_LABELS, a$ as CVC_152_VALUES, b0 as CVC_153_LABELS, b1 as CVC_153_SMT_TYPE, b2 as CVC_153_VALUES, b3 as CVC_156_LABELS, b4 as CVC_156_MARITAL_STATUS, b5 as CVC_156_VALUES, b6 as CVC_157_LABELS, b7 as CVC_157_RELATIONSHIP_STATUS, b8 as CVC_157_VALUES, b9 as CVC_15_CORE_SEX, ba as CVC_15_LABELS, bb as CVC_15_SELECTABLE_VALUES, bc as CVC_16_CORE_ORIENTATION, bd as CVC_16_LABELS, be as CVC_16_LGBTQ_VALUES, bf as CVC_171_CATEGORY, bg as CVC_171_CATEGORY_LABELS, bh as CVC_171_CHILD_TO_PARENT, bi as CVC_171_INCOME_BENEFITS, bj as CVC_171_INCOME_SOURCES, bk as CVC_171_LABELS, bl as CVC_171_PARENT_CHILDREN, bm as CVC_171_SELECTABLE_OPTIONS, bn as CVC_171_VALUES, bo as CVC_171_VALUE_TO_CATEGORY, bp as CVC_179_CHILD_TO_PARENT, bq as CVC_179_EMPLOYMENT_STATUS, br as CVC_179_HIERARCHICAL_CATEGORY, bs as CVC_179_HIERARCHICAL_CATEGORY_LABELS, bt as CVC_179_HIERARCHICAL_CATEGORY_ORDER, bu as CVC_179_HIERARCHICAL_LABELS, bv as CVC_179_HIERARCHICAL_VALUES, bw as CVC_179_LABELS, bx as CVC_179_PARENT_CHILDREN, by as CVC_179_PRIMARY_CATEGORY, bz as CVC_179_SELECTABLE_OPTIONS, bA as CVC_179_VALUES, bB as CVC_179_VALUE_TO_CATEGORY, bC as CVC_17_CORE_GENDER_IDENTITY, bD as CVC_17_LABELS, bE as CVC_17_LEVEL_0_MISSINGNESS_OPTIONS, bF as CVC_17_LEVEL_1_OPTIONS, bG as CVC_17_LEVEL_2_TRANSGENDER_OPTIONS, bH as CVC_17_TRANSGENDER_VALUES, bI as CVC_180_EDUCATION_LEVEL, bJ as CVC_180_LABELS, bK as CVC_180_ORDINAL, bL as CVC_180_VALUES, bM as CVC_181_COUNTRIES, bN as CVC_181_LABELS, bO as CVC_196_CHILD_WELFARE_EPISODE_TYPE, bP as CVC_196_LABELS, bQ as CVC_196_VALUES, bR as CVC_1_LABELS, bS as CVC_1_NAME_TYPE, bT as CVC_1_STRUCTURED_NAME_TYPES, bU as CVC_1_UNSTRUCTURED_NAME_TYPES, bV as CVC_1_VALUES, bW as CVC_67_HMIS_SEX, bX as CVC_67_LABELS, bY as CVC_67_MISSINGNESS_VALUES, bZ as CVC_67_SELECTABLE_VALUES, b_ as CVC_72_HT_TYPE, b$ as CVC_72_LABELS, c0 as CVC_72_VALUES, c1 as CVC_76_LABELS, c2 as CVC_76_RACE_ETHNICITY, c3 as CVC_76_VALUES, c4 as CVC_93_CHILD_WELFARE_INVOLVEMENT, c5 as CVC_93_LABELS, c6 as CVC_93_VALUES, c7 as CVC_95_JUVENILE_JUSTICE_INVOLVEMENT, c8 as CVC_95_LABELS, c9 as CVC_95_VALUES, ca as CVC_96_HOMELESS_STATUS, cb as CVC_96_LABELS, cc as CVC_96_VALUES, cd as CVC_97_IMMIGRANT_REFUGEE, ce as CVC_97_LABELS, cf as CVC_97_VALUES, cg as CVC_98_LABELS, ch as CVC_98_US_VETERAN, ci as CVC_98_VALUES, cj as CVC_99_ENGLISH_PROFICIENCY, ck as CVC_99_LABELS, cl as CVC_99_VALUES, cm as DATA_QUALITY, cn as DATA_QUALITY_DESCRIPTIONS, co as DATA_QUALITY_LABELS, cp as DATA_QUALITY_VALUES, cq as DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY, cr as DataQualityValue, cs as FORM_STATUS, ct as FORM_STATUS_LABELS, cu as FORM_TYPE, cv as FORM_TYPE_LABELS, cw as FUNCTION_STATUS, cx as FUNCTION_STATUS_LABELS, cy as FUNCTION_STATUS_VALUES, cz as FormStatusValue, cA as FormTypeValue, cB as FunctionStatusValue, cC as IC13Category, cD as IC13PriorityGroup, cE as IC13Value, cF as IC22Value, cG as IC23Value, cH as IC24Value, cI as IC25Value, cJ as IC49ReferralOutcomeValue, cK as IC49ReferralVerificationValue, cL as IC49Value, cM as IC4Value, cN as IC56ChannelValue, cO as IC56Value, cP as IC57Value, cQ as IC58ExternalCategory, cR as IC58Value, cS as IC59Value, cT as IC5Value, cU as IC_13_CATEGORIES, cV as IC_13_CATEGORY_ORDER, cW as IC_13_LABELS, cX as IC_13_PRIORITY_GROUPS, cY as IC_13_RELATIONSHIP_ABBREV, cZ as IC_13_RELATIONSHIP_TYPE, c_ as IC_13_REVERSE_CONTEXT_LABELS, c$ as IC_22_CORE_SEX, d0 as IC_22_LABELS, d1 as IC_23_CORE_GENDER_IDENTITY, d2 as IC_23_LABELS, d3 as IC_24_LABELS, d4 as IC_24_RACE, d5 as IC_25_ETHNICITY, d6 as IC_25_LABELS, d7 as IC_48_SERVICE_CATEGORIES, d8 as IC_49_DESCRIPTIONS, d9 as IC_49_LABELS, da as IC_49_REFERRAL_OUTCOME, db as IC_49_REFERRAL_OUTCOME_LABELS, dc as IC_49_REFERRAL_VERIFICATION, dd as IC_49_REFERRAL_VERIFICATION_LABELS, de as IC_49_SERVICE_MECHANISM, df as IC_4_AGE_TYPE, dg as IC_4_LABELS, dh as IC_56_DESCRIPTIONS, di as IC_56_LABELS, dj as IC_56_OPTIONS, dk as IC_56_PROVISIONAL_CHANNELS, dl as IC_56_SERVICE_DELIVERY_CHANNEL, dm as IC_57_LABELS, dn as IC_57_SERVICE_AUDIENCE, dp as IC_58_EXTERNAL_TIERED, dq as IC_58_LABELS, dr as IC_58_ORG_TYPE_GROUPS, ds as IC_58_PRIMARY_BRANCHES, dt as IC_58_REFERRAL_ENTITY, du as IC_59_LABELS, dv as IC_59_SERVICE_STATE, dw as IC_5_FULL_LABELS, dx as IC_5_LABELS, dy as IC_5_VICTIMIZATION, dz as INCIDENT_INVOLVEMENT_ROLE, dA as INCIDENT_INVOLVEMENT_ROLE_LABELS, dB as INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE, dC as INCIDENT_PARTICIPATION_ROLE, dD as INCIDENT_PARTICIPATION_ROLE_LABELS, dE as INCIDENT_PARTICIPATION_ROLE_VALUES, dF as INTERACTION_TYPES, dG as INTERACTION_TYPE_LABELS, dH as INVOLVEMENT_ROLE_TO_PERSON_TYPE, dI as IncidentInvolvementRoleValue, dJ as IncidentParticipationRoleValue, dK as InteractionTypeValue, dL as MINOR_ADULT_STATUS, dM as MINOR_ADULT_STATUS_LABELS, dN as MinorAdultStatusValue, dO as OrgTypeGroup, dP as PARTICIPATION_ROLE_CATEGORIES, dQ as PERMISSION_STATE, dR as PERMISSION_STATE_DISPLAY, dS as PERMISSION_STATE_LABELS, dT as PERMISSION_STATE_VALUES, dU as PERSON_DISPLAY_CATEGORY, dV as PERSON_DISPLAY_CATEGORY_LABELS, dW as PERSON_ROLES, dX as PERSON_TYPE, dY as PERSON_TYPE_VALUES, dZ as PLATFORM_TOOL, d_ as PLATFORM_TOOL_LABELS, d$ as PLATFORM_TOOL_VALUES, e0 as PermissionStateValue, e1 as PersonDisplayCategoryValue, e2 as PersonRoleValue, e3 as PersonTypeValue, e4 as PlatformToolValue, e5 as QUESTION_FORMAT, e6 as QUESTION_FORMAT_LABELS, e7 as QUICK_START_CONFIG, e8 as QUICK_START_LABELS, e9 as QUICK_START_TEMPLATES, ea as QuestionFormatValue, eb as QuickStartTemplateId, ec as RECORD_STATES, ed as RECORD_STATE_LABELS, ee as RELATIONSHIP_CONCERNS, ef as RELATIONSHIP_CONCERNS_LABELS, eg as RELATIONSHIP_CONCERNS_VALUES, eh as RELATIONSHIP_DYNAMICS, ei as RELATIONSHIP_DYNAMICS_LABELS, ej as RELATIONSHIP_DYNAMICS_VALUES, ek as ROLE_LEVEL, el as ROLE_LEVEL_LABELS, em as ROLE_LEVEL_VALUES, en as RecordStateValue, eo as ReferralBranch, ep as RelationshipConcernValue, eq as RelationshipDynamicValue, er as RoleLevelValue, es as SESSION_STATES, et as SESSION_STATE_LABELS, eu as SHARE_VIEW, ev as SHARE_VIEW_LABELS, ew as SHARE_VIEW_VALUES, ex as SUBMISSION_STATES, ey as SUBMISSION_STATE_LABELS, ez as ServiceCategory, eA as ServiceCategoryChild, eB as SessionStateValue, eC as ShareViewValue, eD as SubmissionStateValue, eE as THREAD_INVOLVEMENT_ROLES, eF as USER_STATUS, eG as USER_STATUS_LABELS, eH as UserStatusValue, eI as VALID_INTERACTION_TYPES, eJ as VALID_RECORD_STATES, eK as deriveAgeBinFromAge, eL as getDisplayCategoryForRole, eM as getPersonTypeForRole, eN as getRelationshipCategory, eO as isIC56Missingness, eP as isIC56ValidChannel, eQ as isLgbtqOrientation, eR as isProtectedRelationship, eS as isStructuredNameType, eT as isTransgenderGenderIdentity, eU as sortRelationshipsByPriority } from './platform-auth-Dv5fu0Fh.js';
2
2
  export { IC48Catalog, IC48CatalogMeta, IC48Category, IC48CategoryCrosswalk, IC48CrisisServiceId, IC48DerivationServiceId, IC_48_BY_CODE, IC_48_BY_ID, IC_48_CATEGORIES, IC_48_CRISIS_SERVICES, IC_48_DERIVATION_SERVICES, IC_48_SERVICE_CATALOG, getIC48AncestorCategories, getIC48CategoryByCode, getIC48CategoryById, getIC48ChildCategories, getIC48Label, getIC48ParentCategory, getIC48SelectableCategories, getIC48TopicCategories, getIC48TopicForCategory } from './constants/index.js';
3
- export { Address, Demographics, Email, PersonName, Phone, addressSchema, demographicsSchema, emailSchema, personNameSchema, phoneSchema } from './schemas/index.js';
4
- export { C as Choice, a as CvcEntry, b as CvcRegistry, F as Form, c as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, d as PlatformRole, Q as Question, S as ScoringCondition, e as ScoringRecommendation, f as ScoringRule, g as ScoringThreshold, h as Section, i as SectionQuestionRef, V as VisibilityRule, j as buildCvcEntrySchema, k as buildCvcRegistrySchema, l as buildFormSchema, m as buildPlatformFunctionSchema, n as buildPlatformRoleSchema, o as buildQuestionSchema, p as buildScoringRuleSchema, q as buildSectionSchema, r as choiceSchema, s as cvcEntrySchemaDefinition, t as cvcEntrySchemaOptions, u as cvcRegistrySchemaDefinition, v as cvcRegistrySchemaOptions, w as formSchemaDefinition, x as formSchemaOptions, y as formSectionRefSchema, z as guidanceSchema, A as layoutSchema, B as platformFunctionSchemaDefinition, D as platformFunctionSchemaOptions, E as platformRoleSchemaDefinition, H as platformRoleSchemaOptions, I as questionSchemaDefinition, J as questionSchemaOptions, K as scoringConditionSchema, M as scoringRecommendationSchema, N as scoringRuleSchemaDefinition, O as scoringRuleSchemaOptions, R as scoringThresholdSchema, T as sectionQuestionRefSchema, U as sectionSchemaDefinition, W as sectionSchemaOptions, X as visibilityRuleSchema } from './cvcEntry-ctHTp2df.js';
5
- export { C as CvcEntryDoc, a as CvcRegistryDoc, F as FormDoc, P as PlatformFunctionDoc, b as PlatformModels, c as PlatformRoleDoc, Q as QuestionDoc, S as ScoringRuleDoc, d as SectionDoc, e as compileCvcEntryModel, f as compileCvcRegistryModel, g as createPlatformModels, h as cvcEntryModel, i as cvcRegistryModel, j as formModel, p as platformFunctionModel, k as platformRoleModel, q as questionModel, s as scoringRuleModel, l as sectionModel } from './index-4DiJrn7y.js';
3
+ export { Address, Demographics, Email, PersonName, Phone, TEAM_MODEL_NAME, TeamDirectoryFields, addTeamDirectoryFields, addressSchema, demographicsSchema, emailSchema, personNameSchema, phoneSchema, teamDirectorySchemaDefinition } from './schemas/index.js';
4
+ export { C as Choice, a as CvcEntry, b as CvcRegistry, F as Form, c as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, d as PlatformRole, Q as Question, S as ScoringCondition, e as ScoringRecommendation, f as ScoringRule, g as ScoringThreshold, h as Section, i as SectionQuestionRef, V as VisibilityRule, j as buildCvcEntrySchema, k as buildCvcRegistrySchema, l as buildFormSchema, m as buildPlatformFunctionSchema, n as buildPlatformRoleSchema, o as buildQuestionSchema, p as buildScoringRuleSchema, q as buildSectionSchema, r as choiceSchema, s as cvcEntrySchemaDefinition, t as cvcEntrySchemaOptions, u as cvcRegistrySchemaDefinition, v as cvcRegistrySchemaOptions, w as formSchemaDefinition, x as formSchemaOptions, y as formSectionRefSchema, z as guidanceSchema, A as layoutSchema, B as platformFunctionSchemaDefinition, D as platformFunctionSchemaOptions, E as platformRoleSchemaDefinition, H as platformRoleSchemaOptions, I as questionSchemaDefinition, J as questionSchemaOptions, K as scoringConditionSchema, M as scoringRecommendationSchema, N as scoringRuleSchemaDefinition, O as scoringRuleSchemaOptions, R as scoringThresholdSchema, T as sectionQuestionRefSchema, U as sectionSchemaDefinition, W as sectionSchemaOptions, X as visibilityRuleSchema } from './cvcEntry-DaDrEuTa.js';
5
+ export { C as CvcEntryDoc, a as CvcRegistryDoc, F as FormDoc, P as PlatformFunctionDoc, b as PlatformModels, c as PlatformRoleDoc, Q as QuestionDoc, S as ScoringRuleDoc, d as SectionDoc, e as compileCvcEntryModel, f as compileCvcRegistryModel, g as createPlatformModels, h as cvcEntryModel, i as cvcRegistryModel, j as formModel, p as platformFunctionModel, k as platformRoleModel, q as questionModel, s as scoringRuleModel, l as sectionModel } from './index-C0J3f169.js';
6
6
  export { AccommodationTypeKey, AccommodationTypeKeys, ActionStepCompletionStatusKey, ActionStepCompletionStatusKeys, ActionStepTypeKey, ActionStepTypeKeys, ActivityTypeKey, ActivityTypeKeys, AdminRoleKey, AdminRoleKeys, AdministeringJurisdictionKey, AdministeringJurisdictionKeys, AgeBinReportingKey, AgeBinReportingKeys, AnnouncementAudienceScopeKey, AnnouncementAudienceScopeKeys, AnnouncementResponseTypeKey, AnnouncementResponseTypeKeys, AssertionDomainKey, AssertionDomainKeys, AssertionStatusKey, AssertionStatusKeys, BasisQuickPicksKey, BasisQuickPicksKeys, CarCorrectionReasonKey, CarCorrectionReasonKeys, CaseShareStateKey, CaseShareStateKeys, CheckInActivityKey, CheckInActivityKeys, CheckInPhaseKey, CheckInPhaseKeys, ChildBehavioralConcernsKey, ChildBehavioralConcernsKeys, ChildChangeTypeKey, ChildChangeTypeKeys, ChildCustodyArrangementKey, ChildCustodyArrangementKeys, CitizenshipKey, CitizenshipKeys, CollectionContextKey, CollectionContextKeys, ContactInfoTypeKey, ContactInfoTypeKeys, ContactInfoUseTypeKey, ContactInfoUseTypeKeys, ContactLinkTypeKey, ContactLinkTypeKeys, ContactSafetyStatusKey, ContactSafetyStatusKeys, CoreFunctionsKey, CoreFunctionsKeys, CoreIndicatorKey, CoreIndicatorKeys, CoreInformationScopeKey, CoreInformationScopeKeys, CoreReferralOutcomeKey, CoreReferralOutcomeKeys, CountryKey, CountryKeys, CreatedBySystemKey, CreatedBySystemKeys, CriminalOrgCategoryKey, CriminalOrgCategoryKeys, DaIncidentArchiveReasonKey, DaIncidentArchiveReasonKeys, DaIncidentConfidenceKey, DaIncidentConfidenceKeys, DaIncidentDayApproxKey, DaIncidentDayApproxKeys, DaIncidentSeverityKey, DaIncidentSeverityKeys, DeterminationHelperCategoryKey, DeterminationHelperCategoryKeys, DeterminationLevelKey, DeterminationLevelKeys, DhStateKey, DhStateKeys, DisabilitySubtypeKey, DisabilitySubtypeKeys, DiscretionLevelKey, DiscretionLevelKeys, EmergencyContactCallReasonKey, EmergencyContactCallReasonKeys, EmergencyContactPermissionsKey, EmergencyContactPermissionsKeys, EmergencyExitCascadeKey, EmergencyExitCascadeKeys, EmploymentStatusKey, EmploymentStatusKeys, EnrollmentApplicationStatusKey, EnrollmentApplicationStatusKeys, ExitProcessChecklistItemKey, ExitProcessChecklistItemKeys, ExitReasonsKey, ExitReasonsKeys, ExploitationTypeKey, ExploitationTypeKeys, EyeColorKey, EyeColorKeys, FacialHairKey, FacialHairKeys, FacilitatorEntityTypeKey, FacilitatorEntityTypeKeys, FacilitatorLabelUsedInSourceKey, FacilitatorLabelUsedInSourceKeys, FacilitatorSubroleKey, FacilitatorSubroleKeys, FrequencyCadenceKey, FrequencyCadenceKeys, FunderKey, FunderKeys, GenderIdentityKey, GenderIdentityKeys, GoalCategoryKey, GoalCategoryKeys, GoalPriorityKey, GoalPriorityKeys, GoalStatusKey, GoalStatusKeys, GoalWithdrawalReasonKey, GoalWithdrawalReasonKeys, HairColorKey, HairColorKeys, HasTattoosKey, HasTattoosKeys, HighestEducationLevelCompletedKey, HighestEducationLevelCompletedKeys, HivStatusKey, HivStatusKeys, HmisCurrentLivingSituationKey, HmisCurrentLivingSituationKeys, HmisProjectTypeKey, HmisProjectTypeKeys, HmisRelationshipToHohKey, HmisRelationshipToHohKeys, HomelessStatusKey, HomelessStatusKeys, HopeScaleCaptureContextKey, HopeScaleCaptureContextKeys, HopeScaleResponseOptionsKey, HopeScaleResponseOptionsKeys, HopeScaleTierKey, HopeScaleTierKeys, HousingSubsidyTypesKey, HousingSubsidyTypesKeys, HtTypeKey, HtTypeKeys, IdentificationStatusKey, IdentificationStatusKeys, ImmigrationLegalStatusChangeTypeKey, ImmigrationLegalStatusChangeTypeKeys, IncarcerationEpisodeTypeKey, IncarcerationEpisodeTypeKeys, IncidentInvolvementRoleKey, IncidentInvolvementRoleKeys, IncidentParticipationRoleKey, IncidentParticipationRoleKeys, IncomeBenefitsSourcesKey, IncomeBenefitsSourcesKeys, InferenceTypeKey, InferenceTypeKeys, InvestigativeRequestTypeKey, InvestigativeRequestTypeKeys, JuvenileJusticeEpisodeTypeKey, JuvenileJusticeEpisodeTypeKeys, JuvenileJusticeInvolvementStatusKey, JuvenileJusticeInvolvementStatusKeys, LanguagesKey, LanguagesKeys, LeReportStatusKey, LeReportStatusKeys, LegalActionTypeKey, LegalActionTypeKeys, LivingSituationKey, LivingSituationKeys, LocationTypeKey, LocationTypeKeys, MaritalStatusLegalKey, MaritalStatusLegalKeys, MentalHealthStatusKey, MentalHealthStatusKeys, MessageReportReasonKey, MessageReportReasonKeys, MidStayEventTypeKey, MidStayEventTypeKeys, MilestoneTypeKey, MilestoneTypeKeys, MilitaryBranchKey, MilitaryBranchKeys, MilitaryStatusKey, MilitaryStatusKeys, MinorAdultStatusKey, MinorAdultStatusKeys, NameTypeKey, NameTypeKeys, NeedsAssessmentChangeTypeKey, NeedsAssessmentChangeTypeKeys, NeedsResidentialAgainKey, NeedsResidentialAgainKeys, OffenderStatusFamilyKey, OffenderStatusFamilyKeys, OffenderStatusKey, OffenderStatusKeys, OrientationIdentityKey, OrientationIdentityKeys, PersonRelationshipsKey, PersonRelationshipsKeys, PetExitReasonKey, PetExitReasonKeys, PetRelationshipBasisKey, PetRelationshipBasisKeys, PoPetitionBasisKey, PoPetitionBasisKeys, PoStatusKey, PoStatusKeys, PoViolationStatusKey, PoViolationStatusKeys, PreferredContactMethodKey, PreferredContactMethodKeys, PrimaryLanguageKey, PrimaryLanguageKeys, ProgramEnrollmentChangeTypeKey, ProgramEnrollmentChangeTypeKeys, ProgramSpecificCodeKey, ProgramSpecificCodeKeys, PronounsKey, PronounsKeys, ProofOfIdTypeKey, ProofOfIdTypeKeys, ProvenanceSourceIdKey, ProvenanceSourceIdKeys, QualityFlagsKey, QualityFlagsKeys, RaceEthnicityKey, RaceEthnicityKeys, RadiusBucketKey, RadiusBucketKeys, RecencyBandKey, RecencyBandKeys, ReferenceLinkTypeKey, ReferenceLinkTypeKeys, ReferralEntityCategoryKey, ReferralEntityCategoryKeys, ReferralOriginKey, ReferralOriginKeys, RelationshipConcernKey, RelationshipConcernKeys, RelationshipDynamicsKey, RelationshipDynamicsKeys, RelationshipStatusCurrentKey, RelationshipStatusCurrentKeys, RelationshipTiesKey, RelationshipTiesKeys, ReturnedToAbuserStatusKey, ReturnedToAbuserStatusKeys, RiskCategoryKey, RiskCategoryKeys, RiskIdentificationMilestoneKey, RiskIdentificationMilestoneKeys, RiskSeverityBandKey, RiskSeverityBandKeys, RoiMethodKey, RoiMethodKeys, RoiScopeKey, RoiScopeKeys, RoiStatusKey, RoiStatusKeys, RoleContextKey, RoleContextKeys, RomanticRelationshipChangeTypeKey, RomanticRelationshipChangeTypeKeys, RsvpResponseKey, RsvpResponseKeys, ServiceAudienceKey, ServiceAudienceKeys, ServiceCategoryKey, ServiceCategoryKeys, ServiceDeliveryChannelKey, ServiceDeliveryChannelKeys, ServiceMechanismKey, ServiceMechanismKeys, ServicePlanClosureReasonKey, ServicePlanClosureReasonKeys, ServicePlanReviewSnoozeReasonKey, ServicePlanReviewSnoozeReasonKeys, ServiceSourceKey, ServiceSourceKeys, ServiceStateKey, ServiceStateKeys, SessionNoteVisibilityKey, SessionNoteVisibilityKeys, SessionStateKey, SessionStateKeys, SessionTemplateKey, SessionTemplateKeys, SeverityFollowUpKey, SeverityFollowUpKeys, SexProviderSubroleKey, SexProviderSubroleKeys, SharePurposeKey, SharePurposeKeys, ShareResponseReasonKey, ShareResponseReasonKeys, SignatureMethodKey, SignatureMethodKeys, SignatureTypeKey, SignatureTypeKeys, SmtBodyLocationKey, SmtBodyLocationKeys, SmtNameRelationKey, SmtNameRelationKeys, SmtSignificanceFlagsKey, SmtSignificanceFlagsKeys, SmtTypeKey, SmtTypeKeys, SourceCategoryKey, SourceCategoryKeys, SourceInstrumentKey, SourceInstrumentKeys, SourceSubtypeKey, SourceSubtypeKeys, SourceSystemKey, SourceSystemKeys, SpecialNeedsDisabilitiesKey, SpecialNeedsDisabilitiesKeys, SubjectTypeKey, SubjectTypeKeys, SubstanceUseStatusKey, SubstanceUseStatusKeys, SuggestionSourceKey, SuggestionSourceKeys, SupportStrengthKey, SupportStrengthKeys, SupportTopicKey, SupportTopicKeys, ThreadStatusKey, ThreadStatusKeys, ThreadTypeKey, ThreadTypeKeys, TimeScopeKey, TimeScopeKeys, TraffickingRelevantRoleKey, TraffickingRelevantRoleKeys, TribesKey, TribesKeys, UserRoleKey, UserRoleKeys, VerificationMethodKey, VerificationMethodKeys, VerificationStatusKey, VerificationStatusKeys, VictimAbuseTypesKey, VictimAbuseTypesKeys, VictimStatusFamilyKey, VictimStatusFamilyKeys, VisaTypeKey, VisaTypeKeys, WhyNotKey, WhyNotKeys } from './enums/index.js';
7
7
  export { CvcRegistryService, CvcRegistryServiceOptions, EntryLoader, ICvcEntry, ICvcRegistry, RegistryLoader, RegistryScope, applyEntryOverrides, cascadeExclusions, cvcVersionsToRecord, resolveRegistryWithInheritance } from './services/index.js';
8
- export { C as CvcCode, a as CvcCodeSchema, b as CvcDomain, c as CvcEntrySchema, d as CvcEnvelope, e as CvcEnvelopeSchema, f as CvcKey, g as CvcKeySchema, S as ServiceCategoryEntry, h as ServiceCategoryEntrySchema } from './cvc-Cp4uWnAa.js';
8
+ export { C as CvcCode, a as CvcCodeSchema, b as CvcDomain, c as CvcEntrySchema, d as CvcEnvelope, e as CvcEnvelopeSchema, f as CvcKey, g as CvcKeySchema, S as ServiceCategoryEntry, h as ServiceCategoryEntrySchema, T as TeamApp, i as TeamAppSchema, j as TeamDirectoryFieldsInput, k as TeamDirectoryFieldsSchema } from './team-C4LJ5Tex.js';
9
9
  export { accommodationTypeSot, actionStepCompletionStatusSot, actionStepTypeSot, activityTypeSot, adminRolesSot, administeringJurisdictionSot, ageBinReportingSot, announcementAudienceScopeSot, announcementResponseTypeSot, assertionDomainSot, assertionStatusSot, basisQuickPicksSot, carCorrectionReasonSot, caseShareStateSot, checkInActivitySot, checkInPhaseSot, childBehavioralConcernsSot, childChangeTypeSot, childCustodyArrangementSot, citizenshipSot, collectionContextSot, contactInfoTypesSot, contactInfoUseTypeSot, contactLinkTypeSot, contactSafetyStatusSot, coreDhStateSot, coreFunctionsSot, coreIndicatorsSot, coreInformationScopeSot, coreReferralOutcomeSot, countriesSot, createdBySystemSot, criminalOrgCategorySot, daIncidentArchiveReasonSot, daIncidentConfidenceSot, daIncidentDayApproxSot, daIncidentSeveritySot, determinationHelperCategoriesSot, determinationLevelSot, disabilitySubtypeSot, discretionLevelSot, emergencyContactCallReasonSot, emergencyContactPermissionsSot, emergencyExitCascadeSot, employmentStatusSot, enrollmentApplicationStatusSot, exitProcessChecklistItemSot, exitReasonsSot, exploitationTypeSot, eyeColorSot, facialHairSot, facilitatorEntityTypeSot, facilitatorLabelUsedInSourceSot, facilitatorSubroleSot, frequencyCadenceSot, funderSot, genderIdentitySot, goalCategorySot, goalPrioritySot, goalStatusSot, goalWithdrawalReasonSot, hairColorSot, hasTattoosSot, highestEducationLevelCompletedSot, hivStatusSot, hmisCurrentLivingSituationSot, hmisProjectTypeSot, hmisRelationshipToHohSot, hmisSexSot, homelessStatusSot, hopeScaleCaptureContextSot, hopeScaleResponseOptionsSot, hopeScaleTierSot, housingSubsidyTypesSot, htTypeSot, identificationStatusSot, immigrationLegalStatusChangeTypeSot, incarcerationEpisodeTypeSot, incidentInvolvementRolesSot, incidentParticipationRolesSot, incomeBenefitsSourcesSot, inferenceTypeSot, investigativeRequestTypeSot, juvenileJusticeEpisodeTypeSot, juvenileJusticeInvolvementStatusSot, languagesSot, leReportStatusSot, legalActionTypeSot, livingSituationSot, locationTypeSot, maritalStatusLegalSot, mentalHealthStatusSot, messageReportReasonSot, midStayEventTypeSot, milestoneTypeSot, militaryBranchSot, militaryStatusSot, minorAdultStatusSot, nameTypeSot, needsAssessmentChangeTypeSot, needsResidentialAgainSot, offenderStatusFamilySot, offenderStatusSot, orientationIdentitySot, personRelationshipsSot, petExitReasonSot, petRelationshipBasisSot, poPetitionBasisSot, poStatusSot, poViolationStatusSot, preferredContactMethodSot, primaryLanguageSot, programEnrollmentChangeTypeSot, programSpecificCodeSot, pronounsSot, proofOfIdTypeSot, provenanceSourceIdSot, qualityFlagsSot, raceEthnicitySot, radiusBucketSot, recencyBandSot, referenceLinkTypeSot, referralEntityCategorySot, referralOriginSot, relationshipConcernSot, relationshipDynamicsSot, relationshipStatusCurrentSot, relationshipTiesSot, returnedToAbuserStatusSot, riskCategorySot, riskIdentificationMilestoneSot, riskSeverityBandSot, roiMethodSot, roiScopeSot, roiStatusSot, roleContextSot, romanticRelationshipChangeTypeSot, rsvpResponseSot, serviceAudienceSot, serviceCategoriesSot, serviceDeliveryChannelSot, serviceMechanismsSot, servicePlanClosureReasonSot, servicePlanReviewSnoozeReasonSot, serviceSourceSot, serviceStatesSot, sessionNoteVisibilitySot, sessionStateSot, sessionTemplateSot, severityFollowUpSot, sexProviderSubroleSot, sharePurposeSot, shareResponseReasonSot, signatureMethodSot, signatureTypeSot, smtBodyLocationSot, smtNameRelationSot, smtSignificanceFlagsSot, smtTypeSot, sourceCategorySot, sourceInstrumentSot, sourceSubtypeSot, sourceSystemSot, specialNeedsDisabilitiesSot, subjectTypeSot, substanceUseStatusSot, suggestionSourceSot, supportStrengthSot, supportTopicSot, threadStatusSot, threadTypeSot, timeScopeSot, traffickingRelevantRoleSot, tribesSot, userRolesSot, verificationMethodSot, verificationStatusSot, victimAbuseTypesSot, victimStatusFamilySot, visaTypeSot, whyNotsSot } from './cvcs/index.js';
10
10
  import 'mongoose';
11
11
  import 'zod';
package/dist/index.js CHANGED
@@ -6715,8 +6715,36 @@ function buildPlatformRoleSchema() {
6715
6715
  }
6716
6716
  var _platformRoleSchema = buildPlatformRoleSchema();
6717
6717
 
6718
- // src/schemas/cvcRegistry.ts
6718
+ // src/schemas/team.ts
6719
6719
  import { Schema as Schema8 } from "mongoose";
6720
+ var TEAM_MODEL_NAME = "Team";
6721
+ var teamDirectorySchemaDefinition = {
6722
+ /**
6723
+ * The platform apps this team works in, as {@link PLATFORM_TOOL} codes
6724
+ * (`"PAVE"`, `"THREAD"`, `"LEADS"`, ...). The referral preset only resolves
6725
+ * to a team whose `apps` includes `"PAVE"`.
6726
+ */
6727
+ apps: {
6728
+ type: [String],
6729
+ enum: [...PLATFORM_TOOL_VALUES],
6730
+ default: void 0
6731
+ },
6732
+ /**
6733
+ * The teams this team refers to, in priority order. The resolver takes the
6734
+ * first active target that works in PAVE and is not the sending team itself.
6735
+ */
6736
+ canReferTo: {
6737
+ type: [{ type: Schema8.Types.ObjectId, ref: TEAM_MODEL_NAME }],
6738
+ default: void 0
6739
+ }
6740
+ };
6741
+ function addTeamDirectoryFields(schema) {
6742
+ schema.add(teamDirectorySchemaDefinition);
6743
+ return schema;
6744
+ }
6745
+
6746
+ // src/schemas/cvcRegistry.ts
6747
+ import { Schema as Schema9 } from "mongoose";
6720
6748
  var cvcRegistrySchemaDefinition = {
6721
6749
  // Versioning — semantic version of this registry bundle
6722
6750
  version: {
@@ -6736,7 +6764,7 @@ var cvcRegistrySchemaDefinition = {
6736
6764
  default: null
6737
6765
  },
6738
6766
  agencyId: {
6739
- type: Schema8.Types.ObjectId,
6767
+ type: Schema9.Types.ObjectId,
6740
6768
  default: null
6741
6769
  },
6742
6770
  // Lifecycle
@@ -6778,7 +6806,7 @@ var cvcRegistrySchemaDefinition = {
6778
6806
  // include / exclude lists from its base before applying its own overrides.
6779
6807
  // Indexed below so a base-version bump can find every dependent registry.
6780
6808
  basedOn: {
6781
- type: Schema8.Types.ObjectId,
6809
+ type: Schema9.Types.ObjectId,
6782
6810
  default: null
6783
6811
  }
6784
6812
  };
@@ -6787,7 +6815,7 @@ var cvcRegistrySchemaOptions = {
6787
6815
  collection: "cvc_registries"
6788
6816
  };
6789
6817
  function buildCvcRegistrySchema() {
6790
- const schema = new Schema8(
6818
+ const schema = new Schema9(
6791
6819
  cvcRegistrySchemaDefinition,
6792
6820
  cvcRegistrySchemaOptions
6793
6821
  );
@@ -6808,7 +6836,7 @@ function buildCvcRegistrySchema() {
6808
6836
  var _cvcRegistrySchema = buildCvcRegistrySchema();
6809
6837
 
6810
6838
  // src/schemas/cvcEntry.ts
6811
- import { Schema as Schema9 } from "mongoose";
6839
+ import { Schema as Schema10 } from "mongoose";
6812
6840
  var CVC_CODE_PATTERN = /^\d{3}(-\d{3}){6}$/;
6813
6841
  var CVC_KEY_PATTERN = /^[a-z][a-z0-9_]*$/;
6814
6842
  var cvcEntrySchemaDefinition = {
@@ -6874,7 +6902,7 @@ var cvcEntrySchemaDefinition = {
6874
6902
  // particular CVC family — e.g. `relevantMechanisms` on service_categories
6875
6903
  // entries (a cross-CVC reference into service_mechanisms by key).
6876
6904
  meta: {
6877
- type: Schema9.Types.Mixed
6905
+ type: Schema10.Types.Mixed
6878
6906
  }
6879
6907
  };
6880
6908
  var cvcEntrySchemaOptions = {
@@ -6885,7 +6913,7 @@ var cvcEntrySchemaOptions = {
6885
6913
  minimize: false
6886
6914
  };
6887
6915
  function buildCvcEntrySchema() {
6888
- const schema = new Schema9(cvcEntrySchemaDefinition, cvcEntrySchemaOptions);
6916
+ const schema = new Schema10(cvcEntrySchemaDefinition, cvcEntrySchemaOptions);
6889
6917
  schema.index(
6890
6918
  { domain: 1, version: 1, code: 1 },
6891
6919
  { unique: true }
@@ -9915,6 +9943,8 @@ var CoreInformationScopeKeys = {
9915
9943
  contact: "236-003-000-000-000-000-000",
9916
9944
  contact_info: "236-003-001-000-000-000-000",
9917
9945
  safe_locations: "236-003-002-000-000-000-000",
9946
+ priorities_safety: "236-003-003-000-000-000-000",
9947
+ encounter_location: "236-003-004-000-000-000-000",
9918
9948
  services: "236-004-000-000-000-000-000",
9919
9949
  contact_history: "236-004-001-000-000-000-000",
9920
9950
  service_history: "236-004-002-000-000-000-000",
@@ -11560,6 +11590,16 @@ var CvcEnvelopeSchema = z.object({
11560
11590
  entries: z.array(CvcEntrySchema)
11561
11591
  });
11562
11592
 
11593
+ // src/validation/team.ts
11594
+ import { z as z2 } from "zod";
11595
+ var ObjectIdHexSchema = z2.string().regex(/^[0-9a-fA-F]{24}$/, "must be a 24-character hex ObjectId");
11596
+ var hasNoDuplicates = (values) => new Set(values.map((v) => v.toLowerCase())).size === values.length;
11597
+ var TeamAppSchema = z2.enum(PLATFORM_TOOL_VALUES);
11598
+ var TeamDirectoryFieldsSchema = z2.object({
11599
+ apps: z2.array(TeamAppSchema).refine(hasNoDuplicates, "apps must not repeat an app").optional(),
11600
+ canReferTo: z2.array(ObjectIdHexSchema).refine(hasNoDuplicates, "canReferTo must not repeat a team").optional()
11601
+ });
11602
+
11563
11603
  // src/cvcs/serviceCategories.v1.0.0.json
11564
11604
  var serviceCategories_v1_0_0_default = {
11565
11605
  domain: "service_categories",
@@ -22083,6 +22123,7 @@ var locationType_v1_0_0_default = {
22083
22123
  domain: "location_type",
22084
22124
  name: "Core Location Type",
22085
22125
  version: "1.0.0",
22126
+ _source: "Rows: hand-authored 2026-04-22 from the April Notion codebook export (co-8ff.5.12); codes, keys, titles and definitions are unchanged since. LOGIC columns (tier \xB7 anchors \xB7 anchorDefault \xB7 shareUnit \xB7 safetyDefault): htilabstech/prototype/data/cvcs/core_location_type.yaml @ 55088d44 (CVC-191 v1.1, logic amended 2026-10-01; read from origin/main; cross-checked against htilabstech/prototype/Final CVCs/Location (IC-4)/core - location_type \u2014 codebook 1.csv + 2.csv @ 55088d44), overlaid by scripts/gen-location-type.py. NOT absorbed: 8 canon rows the package does not publish (TRAFFICKING_OCCURRENCE, VICTIM_IDENTIFICATION, COMMERCIAL_SEX_AD_POSTING, TRAFFICKING_RECRUITMENT, BIRTHPLACE, COURT_LOCATION, LE_INTERVIEW_LOCATION, LE_AGENCY_LOCATION) and the 4 labels canon reworded on 2026-08-28.",
22086
22127
  levels: {
22087
22128
  "0": "Unknown or Missing",
22088
22129
  "1": "Category"
@@ -22108,7 +22149,12 @@ var locationType_v1_0_0_default = {
22108
22149
  selectable: true,
22109
22150
  parentCode: "191-000-000-000-000-000-000",
22110
22151
  childCodes: [],
22111
- definition: "Unknown or cannot be determined from the available information."
22152
+ definition: "Unknown or cannot be determined from the available information.",
22153
+ tier: "sentinel",
22154
+ anchors: [],
22155
+ anchorDefault: null,
22156
+ shareUnit: null,
22157
+ safetyDefault: null
22112
22158
  },
22113
22159
  {
22114
22160
  code: "191-000-000-000-000-000-002",
@@ -22117,7 +22163,12 @@ var locationType_v1_0_0_default = {
22117
22163
  selectable: true,
22118
22164
  parentCode: "191-000-000-000-000-000-000",
22119
22165
  childCodes: [],
22120
- definition: "Information may be withheld by preference or due to redaction; identity is anonymous or redacted."
22166
+ definition: "Information may be withheld by preference or due to redaction; identity is anonymous or redacted.",
22167
+ tier: "sentinel",
22168
+ anchors: [],
22169
+ anchorDefault: null,
22170
+ shareUnit: null,
22171
+ safetyDefault: null
22121
22172
  },
22122
22173
  {
22123
22174
  code: "191-000-000-000-000-000-003",
@@ -22126,7 +22177,12 @@ var locationType_v1_0_0_default = {
22126
22177
  selectable: true,
22127
22178
  parentCode: "191-000-000-000-000-000-000",
22128
22179
  childCodes: [],
22129
- definition: "No attempt was made to collect the information."
22180
+ definition: "No attempt was made to collect the information.",
22181
+ tier: "sentinel",
22182
+ anchors: [],
22183
+ anchorDefault: null,
22184
+ shareUnit: null,
22185
+ safetyDefault: null
22130
22186
  },
22131
22187
  {
22132
22188
  code: "191-001-000-000-000-000-000",
@@ -22135,7 +22191,14 @@ var locationType_v1_0_0_default = {
22135
22191
  selectable: true,
22136
22192
  parentCode: null,
22137
22193
  childCodes: [],
22138
- definition: "Where the client/person currently resides (residential location)."
22194
+ definition: "Where the client/person currently resides (residential location).",
22195
+ tier: "residence",
22196
+ anchors: [
22197
+ "person"
22198
+ ],
22199
+ anchorDefault: "person",
22200
+ shareUnit: "addresses",
22201
+ safetyDefault: "ask"
22139
22202
  },
22140
22203
  {
22141
22204
  code: "191-002-000-000-000-000-000",
@@ -22144,7 +22207,16 @@ var locationType_v1_0_0_default = {
22144
22207
  selectable: true,
22145
22208
  parentCode: null,
22146
22209
  childCodes: [],
22147
- definition: "The physical site where a service instance was delivered (office, outreach site, partner site, on-scene)."
22210
+ definition: "The physical site where a service instance was delivered (office, outreach site, partner site, on-scene).",
22211
+ tier: "service",
22212
+ anchors: [
22213
+ "service_instance",
22214
+ "agency_program",
22215
+ "person"
22216
+ ],
22217
+ anchorDefault: "service_instance",
22218
+ shareUnit: "service_history",
22219
+ safetyDefault: "ask"
22148
22220
  },
22149
22221
  {
22150
22222
  code: "191-003-000-000-000-000-000",
@@ -22153,7 +22225,14 @@ var locationType_v1_0_0_default = {
22153
22225
  selectable: true,
22154
22226
  parentCode: null,
22155
22227
  childCodes: [],
22156
- definition: "Where the client/victim/caller is physically located at the time of contact or service (operational safety location)."
22228
+ definition: "Where the client/victim/caller is physically located at the time of contact or service (operational safety location).",
22229
+ tier: "encounter",
22230
+ anchors: [
22231
+ "person"
22232
+ ],
22233
+ anchorDefault: "person",
22234
+ shareUnit: "addresses",
22235
+ safetyDefault: "ask"
22157
22236
  },
22158
22237
  {
22159
22238
  code: "191-004-000-000-000-000-000",
@@ -22162,7 +22241,16 @@ var locationType_v1_0_0_default = {
22162
22241
  selectable: true,
22163
22242
  parentCode: null,
22164
22243
  childCodes: [],
22165
- definition: "A location where an in-person meeting/contact/event occurred (e.g., meet location, arrest location, outreach contact site)."
22244
+ definition: "A location where an in-person meeting/contact/event occurred (e.g., meet location, arrest location, outreach contact site).",
22245
+ tier: "encounter",
22246
+ anchors: [
22247
+ "session",
22248
+ "event",
22249
+ "person"
22250
+ ],
22251
+ anchorDefault: "session",
22252
+ shareUnit: "encounter_location",
22253
+ safetyDefault: "ask"
22166
22254
  },
22167
22255
  {
22168
22256
  code: "191-005-000-000-000-000-000",
@@ -22171,7 +22259,14 @@ var locationType_v1_0_0_default = {
22171
22259
  selectable: true,
22172
22260
  parentCode: null,
22173
22261
  childCodes: [],
22174
- definition: "Where the client/person previously resided (historical residential location)."
22262
+ definition: "Where the client/person previously resided (historical residential location).",
22263
+ tier: "residence",
22264
+ anchors: [
22265
+ "person"
22266
+ ],
22267
+ anchorDefault: "person",
22268
+ shareUnit: "addresses",
22269
+ safetyDefault: "ask"
22175
22270
  },
22176
22271
  {
22177
22272
  code: "191-006-000-000-000-000-000",
@@ -22180,7 +22275,14 @@ var locationType_v1_0_0_default = {
22180
22275
  selectable: true,
22181
22276
  parentCode: null,
22182
22277
  childCodes: [],
22183
- definition: "A location used to determine jurisdiction, eligibility, or referral routing (e.g., county, city, CoC code, service area)."
22278
+ definition: "A location used to determine jurisdiction, eligibility, or referral routing (e.g., county, city, CoC code, service area).",
22279
+ tier: "encounter",
22280
+ anchors: [
22281
+ "person"
22282
+ ],
22283
+ anchorDefault: "person",
22284
+ shareUnit: "addresses",
22285
+ safetyDefault: "ask"
22184
22286
  },
22185
22287
  {
22186
22288
  code: "191-007-000-000-000-000-000",
@@ -22189,7 +22291,14 @@ var locationType_v1_0_0_default = {
22189
22291
  selectable: true,
22190
22292
  parentCode: null,
22191
22293
  childCodes: [],
22192
- definition: "A location inferred from ads/postings (posting city/region/board) used for analytics such as base location, travel, and heat maps."
22294
+ definition: "A location inferred from ads/postings (posting city/region/board) used for analytics such as base location, travel, and heat maps.",
22295
+ tier: "derived",
22296
+ anchors: [
22297
+ "person"
22298
+ ],
22299
+ anchorDefault: "person",
22300
+ shareUnit: "commercial_activity",
22301
+ safetyDefault: null
22193
22302
  },
22194
22303
  {
22195
22304
  code: "191-008-000-000-000-000-000",
@@ -22198,7 +22307,15 @@ var locationType_v1_0_0_default = {
22198
22307
  selectable: true,
22199
22308
  parentCode: null,
22200
22309
  childCodes: [],
22201
- definition: "A location representing a travel instance or visit (part of a travel log/itinerary), with time bounds."
22310
+ definition: "A location representing a travel instance or visit (part of a travel log/itinerary), with time bounds.",
22311
+ tier: "encounter",
22312
+ anchors: [
22313
+ "person",
22314
+ "event"
22315
+ ],
22316
+ anchorDefault: "person",
22317
+ shareUnit: "addresses",
22318
+ safetyDefault: "ask"
22202
22319
  },
22203
22320
  {
22204
22321
  code: "191-009-000-000-000-000-000",
@@ -22207,7 +22324,14 @@ var locationType_v1_0_0_default = {
22207
22324
  selectable: true,
22208
22325
  parentCode: null,
22209
22326
  childCodes: [],
22210
- definition: "A location associated with work, school, or business activity (legal or illicit), including known venues tied to an entity."
22327
+ definition: "A location associated with work, school, or business activity (legal or illicit), including known venues tied to an entity.",
22328
+ tier: "encounter",
22329
+ anchors: [
22330
+ "person"
22331
+ ],
22332
+ anchorDefault: "person",
22333
+ shareUnit: "addresses",
22334
+ safetyDefault: "ask"
22211
22335
  },
22212
22336
  {
22213
22337
  code: "191-010-000-000-000-000-000",
@@ -22216,7 +22340,14 @@ var locationType_v1_0_0_default = {
22216
22340
  selectable: true,
22217
22341
  parentCode: null,
22218
22342
  childCodes: [],
22219
- definition: "A location inferred from an IP address (geolocation-derived), used as a signal rather than a confirmed physical location."
22343
+ definition: "A location inferred from an IP address (geolocation-derived), used as a signal rather than a confirmed physical location.",
22344
+ tier: "derived",
22345
+ anchors: [
22346
+ "person"
22347
+ ],
22348
+ anchorDefault: "person",
22349
+ shareUnit: "commercial_activity",
22350
+ safetyDefault: null
22220
22351
  },
22221
22352
  {
22222
22353
  code: "191-011-000-000-000-000-000",
@@ -22225,7 +22356,14 @@ var locationType_v1_0_0_default = {
22225
22356
  selectable: true,
22226
22357
  parentCode: null,
22227
22358
  childCodes: [],
22228
- definition: "A location describing a program, shelter, project site, or provider location used for reporting (e.g., HMIS project descriptor)."
22359
+ definition: "A location describing a program, shelter, project site, or provider location used for reporting (e.g., HMIS project descriptor).",
22360
+ tier: "service",
22361
+ anchors: [
22362
+ "agency_program"
22363
+ ],
22364
+ anchorDefault: "agency_program",
22365
+ shareUnit: null,
22366
+ safetyDefault: "safe"
22229
22367
  },
22230
22368
  {
22231
22369
  code: "191-012-000-000-000-000-000",
@@ -22234,7 +22372,16 @@ var locationType_v1_0_0_default = {
22234
22372
  selectable: true,
22235
22373
  parentCode: null,
22236
22374
  childCodes: [],
22237
- definition: "A catch-all value used when none of the defined location types apply or when the role/context is unclear."
22375
+ definition: "A catch-all value used when none of the defined location types apply or when the role/context is unclear.",
22376
+ tier: "encounter",
22377
+ anchors: [
22378
+ "person",
22379
+ "session",
22380
+ "event"
22381
+ ],
22382
+ anchorDefault: "person",
22383
+ shareUnit: "addresses",
22384
+ safetyDefault: "ask"
22238
22385
  },
22239
22386
  {
22240
22387
  code: "191-013-000-000-000-000-000",
@@ -22243,7 +22390,15 @@ var locationType_v1_0_0_default = {
22243
22390
  selectable: true,
22244
22391
  parentCode: null,
22245
22392
  childCodes: [],
22246
- definition: "Location associated with an incident (e.g., where an event occurred, was reported, or was investigated), distinct from current residence, jurisdiction/routing, or service delivery context."
22393
+ definition: "Location associated with an incident (e.g., where an event occurred, was reported, or was investigated), distinct from current residence, jurisdiction/routing, or service delivery context.",
22394
+ tier: "encounter",
22395
+ anchors: [
22396
+ "session",
22397
+ "event"
22398
+ ],
22399
+ anchorDefault: "event",
22400
+ shareUnit: "encounter_location",
22401
+ safetyDefault: "ask"
22247
22402
  }
22248
22403
  ]
22249
22404
  };
@@ -37898,8 +38053,8 @@ var coreInformationScope_v1_0_0_default = {
37898
38053
  domain: "core_information_scope",
37899
38054
  name: "Core Information Scope",
37900
38055
  version: "1.0.0",
37901
- _status: "DRAFT: canonical number 236, self-declared by the source YAML (`cvc_id: CVC-236`); CVC_INDEX.md carries no row for it yet, so the drift gate classifies it INDEX_ABSENT. Sourced from canonical CVC-236 `core_information_scope` v2 (authored 2026-08-13, restructured 2026-08-14): 12 categories / 54 units. TWO GRAINS, deliberately modelled as hierarchy: L1 categories are the POLICY grain and are NOT selectable; L2 units are the AUTHORIZATION grain and are what an ROI or a share actually authorizes. This is the axis the sibling `roi_scope` domain deliberately omits \u2014 `roi_scope` is the flat item vocabulary, and its 27 substantive keys are a strict SUBSET of the 54 units here, with no renames and no collisions. That subset relationship is what makes adopting this domain additive: every stored ROI keeps its exact recorded meaning. `safe_locations` is PROVISIONAL and may be re-keyed by the Notion steward batch \u2014 pin the id with the product owner before any consumer treats it as stable. PENDING canonical Notion authoring + steward ratification.",
37902
- _source: "htilabstech/prototype data/cvcs/core_information_scope.yaml (CVC-236 v2, restructured 2026-08-14)",
38056
+ _status: "DRAFT: canonical number 236, self-declared by the source YAML (`cvc_id: CVC-236`); CVC_INDEX.md carries no row for it yet, so the drift gate classifies it INDEX_ABSENT. Sourced from canonical CVC-236 `core_information_scope` v2 (authored 2026-08-13, restructured 2026-08-14): 12 categories / 56 units. TWO GRAINS, deliberately modelled as hierarchy: L1 categories are the POLICY grain and are NOT selectable; L2 units are the AUTHORIZATION grain and are what an ROI or a share actually authorizes. This is the axis the sibling `roi_scope` domain deliberately omits \u2014 `roi_scope` is the flat item vocabulary, and its 27 substantive keys are a strict SUBSET of the 56 units here, with no renames and no collisions. That subset relationship is what makes adopting this domain additive: every stored ROI keeps its exact recorded meaning. `safe_locations` is PROVISIONAL and may be re-keyed by the Notion steward batch \u2014 pin the id with the product owner before any consumer treats it as stable. PENDING canonical Notion authoring + steward ratification.",
38057
+ _source: "htilabstech/prototype/data/cvcs/core_information_scope.yaml @ 55088d44 (CVC-236 v2, restructured 2026-08-14, amended 2026-10-01; read from origin/main; structural columns cross-checked against htilabstech/prototype/Final CVCs/System Roles, Permissions, & Account Management (IC-66)/core-information_scope \u2014 codebook.csv @ 55088d44)",
37903
38058
  levels: {
37904
38059
  "0": "Unknown or Missing",
37905
38060
  "1": "Category (policy grain, not selectable)",
@@ -38010,7 +38165,7 @@ var coreInformationScope_v1_0_0_default = {
38010
38165
  selectable: true,
38011
38166
  parentCode: "236-001-000-000-000-000-000",
38012
38167
  childCodes: [],
38013
- definition: "Addresses. Category `identifying`.",
38168
+ definition: "Addresses. Category `identifying`. LOCATION-TYPE-LOGIC 2026-10-01 (Crysta R1/R3): routed at TYPE grain since this date \u2014 the location entries whose CVC-191 reason declares share_unit addresses (the residence tier: current / prior residence \xB7 birthplace; the survivor's own whereabouts: current client/victim location \xB7 jurisdiction / routing \xB7 work / school / business \xB7 travel stop \xB7 other), each delivered with its type label. Where we met / where it happened rides encounter_location; trafficking-event locations ride victimization; legal locations ride system_involvement; the agency's own site rides nothing. The `address` assertion_domain stays mapped here for the viewing axis and the ADDRESS_* audit verbs.",
38014
38169
  levelFloor: 3,
38015
38170
  appRelevance: [
38016
38171
  "PAVE",
@@ -38366,9 +38521,11 @@ var coreInformationScope_v1_0_0_default = {
38366
38521
  parentCode: null,
38367
38522
  childCodes: [
38368
38523
  "236-003-001-000-000-000-000",
38369
- "236-003-002-000-000-000-000"
38524
+ "236-003-002-000-000-000-000",
38525
+ "236-003-003-000-000-000-000",
38526
+ "236-003-004-000-000-000-000"
38370
38527
  ],
38371
- definition: "Contact & safety \u2014 policy-grain category. Units under it are the authorization grain. NARROWED 2026-08-14 (restructure ruling 2): contact/service history moved to the NEW services category. SUPERSEDES the 2026-08-13 deliberate-merge note; legacy `contact` grants resolve via the alias layer (CVC-69 precedent). LEADS flag dropped (no LEADS units \u2014 was an empty shell).",
38528
+ definition: "Contact & safety \u2014 policy-grain category. Units under it are the authorization grain. NARROWED 2026-08-14 (restructure ruling 2): contact/service history moved to the NEW services category. SUPERSEDES the 2026-08-13 deliberate-merge note; legacy `contact` grants resolve via the alias layer (CVC-69 precedent). LEADS flag dropped (no LEADS units \u2014 was an empty shell). | 2026-09-29 (PRIORITIES-SAFETY-SCOPE-UNIT, Crysta R1): third unit priorities_safety \u2014 the immediate-needs triage answers, one disclosure decision. | 2026-10-01 (LOCATION-TYPE-LOGIC, Crysta R2): fourth unit encounter_location \u2014 where we met / where it happened, the session- or event-anchored CVC-191 encounter reasons.",
38372
38529
  levelFloor: 3,
38373
38530
  appRelevance: [
38374
38531
  "PAVE",
@@ -38410,6 +38567,38 @@ var coreInformationScope_v1_0_0_default = {
38410
38567
  specialDataType: "survivor_confidential",
38411
38568
  platformFloor: true
38412
38569
  },
38570
+ {
38571
+ code: "236-003-003-000-000-000-000",
38572
+ key: "priorities_safety",
38573
+ title: "Priorities & Safety (immediate needs triage)",
38574
+ selectable: true,
38575
+ parentCode: "236-003-000-000-000-000-000",
38576
+ childCodes: [],
38577
+ definition: "Priorities & Safety (immediate needs triage). Category `contact`. NEW 2026-09-29 (PRIORITIES-SAFETY-SCOPE-UNIT, Crysta R1): the completed Immediate Priorities / Priorities & Safety triage, authorized as ONE disclosure decision \u2014 Q1 immediate danger + source of the danger + harm-doer nearby + safe place to go \xB7 Q2 health needs \xB7 Q3 interpreter \xB7 Q4 urgent basic needs \xB7 Q5 transportation (method / time / pickup location) \xB7 Q6 emergency shelter \xB7 Q7 dependents at risk \xB7 Q8 other. Instrument-grain unit on the initial_screen / lap precedent (ruling 1, 2026-08-13), homed under Contact & safety because the answers that had no home are safety facts; the service instances the step derives ride services/service_history on their own. Bidirectional Thread Signal \u2194 PAVE mirror on Q1 (GDR \xA7 6.9.7) \u2014 one unit, both apps. domain_map: priorities_safety \u2192 this unit (R3 EXECUTED later the same day, PRIORITIES-SAFETY-RECORD): CVC-159 domain priorities_safety (Level 1) + monolith emitter emitPrioritiesAnswerCAR (one CAR per answered question) + UDD row capture.priorities_safety; production persistence of the answers stays with Nate under RWT-NEW-priorities-safety-record-and-udd-2026-09-29. Minted in the Notion codebook the same day; codebook row re-synced to the record 2026-09-29.",
38578
+ levelFloor: 3,
38579
+ appRelevance: [
38580
+ "PAVE",
38581
+ "Thread"
38582
+ ],
38583
+ shareableDefault: true,
38584
+ specialDataType: "survivor_confidential"
38585
+ },
38586
+ {
38587
+ code: "236-003-004-000-000-000-000",
38588
+ key: "encounter_location",
38589
+ title: "Encounter location (where we met / where it happened)",
38590
+ selectable: true,
38591
+ parentCode: "236-003-000-000-000-000-000",
38592
+ childCodes: [],
38593
+ definition: "Encounter location (where we met / where it happened). Category `contact`. NEW 2026-10-01 (LOCATION-TYPE-LOGIC, Crysta R2): the location entries whose CVC-191 reason is session- or event-anchored \u2014 Meet / contact (the session card's Meetup / Incident role) and Incident \u2014 authorized as ONE disclosure decision, separate from Addresses. Why it exists: the session card's Meetup / Incident location is encounter-scoped (ADDRESS_INTEGRATION_PLAN row 3 \u2014 a meetup point that belongs to no person), so it was never on the survivor's record and never reached a share; Nate's PAVE 2.0 audit found the same hole from the other direction. Homed under Contact & safety on the 2026-09-29 R1 reasoning: where the survivor was found or met is the safety fact the next advocate needs. Routing is read from CVC-191 (`share_unit: encounter_location` on MEET_LOC + INCIDENT), never hand-listed here; the delivered copy carries each entry with its type label and the session it belongs to. The survivor's own current location stays under Addresses; the agency's own site rides nothing. UDD: capture.encounter_location (apps PAVE + Thread, assertion_domain address). Presets: full_collab (ROI) \xB7 Thread service_referral_packet + mandatory_report (derivation for veto, 2026-09-29 shape).",
38594
+ levelFloor: 3,
38595
+ appRelevance: [
38596
+ "PAVE",
38597
+ "Thread"
38598
+ ],
38599
+ shareableDefault: true,
38600
+ specialDataType: "survivor_confidential"
38601
+ },
38413
38602
  {
38414
38603
  code: "236-004-000-000-000-000-000",
38415
38604
  key: "services",
@@ -55628,7 +55817,10 @@ export {
55628
55817
  SuggestionSourceKeys,
55629
55818
  SupportStrengthKeys,
55630
55819
  SupportTopicKeys,
55820
+ TEAM_MODEL_NAME,
55631
55821
  THREAD_INVOLVEMENT_ROLES,
55822
+ TeamAppSchema,
55823
+ TeamDirectoryFieldsSchema,
55632
55824
  ThreadStatusKeys,
55633
55825
  ThreadTypeKeys,
55634
55826
  TimeScopeKeys,
@@ -55649,6 +55841,7 @@ export {
55649
55841
  actionStepCompletionStatus_v1_0_0_default as actionStepCompletionStatusSot,
55650
55842
  actionStepType_v1_0_0_default as actionStepTypeSot,
55651
55843
  activityType_v1_0_0_default as activityTypeSot,
55844
+ addTeamDirectoryFields,
55652
55845
  addressSchema,
55653
55846
  adminRoles_v1_0_0_default as adminRolesSot,
55654
55847
  administeringJurisdiction_v1_0_0_default as administeringJurisdictionSot,
@@ -55886,6 +56079,7 @@ export {
55886
56079
  suggestionSource_v1_0_0_default as suggestionSourceSot,
55887
56080
  supportStrength_v1_0_0_default as supportStrengthSot,
55888
56081
  supportTopic_v1_0_0_default as supportTopicSot,
56082
+ teamDirectorySchemaDefinition,
55889
56083
  threadStatus_v1_0_0_default as threadStatusSot,
55890
56084
  threadType_v1_0_0_default as threadTypeSot,
55891
56085
  timeScope_v1_0_0_default as timeScopeSot,