@htilabs/platform-common-models 0.8.15 → 0.8.16
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/cvcs/index.cjs +120 -0
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +2304 -2170
- package/dist/cvcs/index.d.ts +2304 -2170
- package/dist/cvcs/index.js +119 -0
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +120 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +119 -0
- package/dist/index.js.map +1 -1
- package/package.json +25 -26
- package/src/cvcs/index.ts +8 -0
package/dist/index.cjs
CHANGED
|
@@ -512,6 +512,7 @@ __export(src_exports, {
|
|
|
512
512
|
coreReferralOutcomeSot: () => coreReferralOutcome_v1_0_0_default,
|
|
513
513
|
createPlatformModels: () => createPlatformModels,
|
|
514
514
|
createdBySystemSot: () => createdBySystem_v1_0_0_default,
|
|
515
|
+
criminalOrgCategorySot: () => criminalOrgCategory_v1_0_0_default,
|
|
515
516
|
cvcEntryModel: () => cvcEntryModel_exports,
|
|
516
517
|
cvcEntrySchemaDefinition: () => cvcEntrySchemaDefinition,
|
|
517
518
|
cvcEntrySchemaOptions: () => cvcEntrySchemaOptions,
|
|
@@ -49294,6 +49295,124 @@ var hmisSex_v1_0_0_default = {
|
|
|
49294
49295
|
]
|
|
49295
49296
|
};
|
|
49296
49297
|
|
|
49298
|
+
// src/cvcs/criminalOrgCategory.v1.0.0.json
|
|
49299
|
+
var criminalOrgCategory_v1_0_0_default = {
|
|
49300
|
+
domain: "criminal_org_category",
|
|
49301
|
+
name: "Criminal Organization Category",
|
|
49302
|
+
version: "1.0.0",
|
|
49303
|
+
_status: "DRAFT \u2014 TEMPORARY: net-new value-CVC not yet in Notion; provisional 990 numbering; codes from prototype/data/cvcs/core_criminal_org_category.yaml (WIKI 7-type taxonomy, name signed off Crysta-proxy 2026-06-06); PENDING canonical Notion authoring. Categorizes each criminal-organization registry record; the registry (org records) is reference data seeded separately, keyed by this category code.",
|
|
49304
|
+
_source: "prototype/data/cvcs/core_criminal_org_category.yaml",
|
|
49305
|
+
levels: {
|
|
49306
|
+
"0": "Unknown or Missing",
|
|
49307
|
+
"1": "Criminal organization category"
|
|
49308
|
+
},
|
|
49309
|
+
entries: [
|
|
49310
|
+
{
|
|
49311
|
+
code: "990-000-000-000-000-000-000",
|
|
49312
|
+
key: "missingness_root",
|
|
49313
|
+
title: "Unknown, Redacted, or Missing",
|
|
49314
|
+
selectable: false,
|
|
49315
|
+
parentCode: null,
|
|
49316
|
+
childCodes: [
|
|
49317
|
+
"990-000-000-000-000-000-001",
|
|
49318
|
+
"990-000-000-000-000-000-002",
|
|
49319
|
+
"990-000-000-000-000-000-003"
|
|
49320
|
+
],
|
|
49321
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected) under the workspace standard ANON semantic. The prototype YAML's single UNK sentinel (organization category cannot be determined) maps to the unknown child."
|
|
49322
|
+
},
|
|
49323
|
+
{
|
|
49324
|
+
code: "990-000-000-000-000-000-001",
|
|
49325
|
+
key: "unknown",
|
|
49326
|
+
title: "Unknown",
|
|
49327
|
+
selectable: true,
|
|
49328
|
+
parentCode: "990-000-000-000-000-000-000",
|
|
49329
|
+
childCodes: [],
|
|
49330
|
+
definition: "Organization category cannot be determined at time of entry. Carries the prototype's UNK case."
|
|
49331
|
+
},
|
|
49332
|
+
{
|
|
49333
|
+
code: "990-000-000-000-000-000-002",
|
|
49334
|
+
key: "anonymous",
|
|
49335
|
+
title: "Anonymous / declined to answer",
|
|
49336
|
+
selectable: true,
|
|
49337
|
+
parentCode: "990-000-000-000-000-000-000",
|
|
49338
|
+
childCodes: [],
|
|
49339
|
+
definition: "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
|
|
49340
|
+
},
|
|
49341
|
+
{
|
|
49342
|
+
code: "990-000-000-000-000-000-003",
|
|
49343
|
+
key: "data_not_collected",
|
|
49344
|
+
title: "Data not collected",
|
|
49345
|
+
selectable: true,
|
|
49346
|
+
parentCode: "990-000-000-000-000-000-000",
|
|
49347
|
+
childCodes: [],
|
|
49348
|
+
definition: "No attempt was made to collect the value."
|
|
49349
|
+
},
|
|
49350
|
+
{
|
|
49351
|
+
code: "990-001-000-000-000-000-000",
|
|
49352
|
+
key: "street_gang",
|
|
49353
|
+
title: "Street gang / neighborhood-based gang",
|
|
49354
|
+
selectable: true,
|
|
49355
|
+
parentCode: null,
|
|
49356
|
+
childCodes: [],
|
|
49357
|
+
definition: "Territorial, often city/neighborhood-based; multi-generational. Examples: Bloods, Crips, Latin Kings, Gangster Disciples. WIKI subtypes: African-American, Latino/Hispanic, hybrid/multiracial, Asian street gangs. A trafficking street gang stays street_gang (structure, not activity)."
|
|
49358
|
+
},
|
|
49359
|
+
{
|
|
49360
|
+
code: "990-002-000-000-000-000-000",
|
|
49361
|
+
key: "prison_gang",
|
|
49362
|
+
title: "Prison gang",
|
|
49363
|
+
selectable: true,
|
|
49364
|
+
parentCode: null,
|
|
49365
|
+
childCodes: [],
|
|
49366
|
+
definition: "Originate and operate primarily inside prisons; influence street gangs. Often racialized; can be linked with cartels or domestic groups. Examples: Aryan Brotherhood, Mexican Mafia (La Eme), Black Guerrilla Family."
|
|
49367
|
+
},
|
|
49368
|
+
{
|
|
49369
|
+
code: "990-003-000-000-000-000-000",
|
|
49370
|
+
key: "outlaw_motorcycle_gang",
|
|
49371
|
+
title: "Outlaw motorcycle gang (OMG)",
|
|
49372
|
+
selectable: true,
|
|
49373
|
+
parentCode: null,
|
|
49374
|
+
childCodes: [],
|
|
49375
|
+
definition: "Highly structured; emphasize brotherhood and loyalty. Often involved in drug and weapons trafficking, extortion, and FBI/DOJ-documented prostitution rackets. Examples: Hells Angels, Mongols, Bandidos, Outlaws."
|
|
49376
|
+
},
|
|
49377
|
+
{
|
|
49378
|
+
code: "990-004-000-000-000-000-000",
|
|
49379
|
+
key: "tco_cartel",
|
|
49380
|
+
title: "Transnational criminal organization (TCO) / cartel",
|
|
49381
|
+
selectable: true,
|
|
49382
|
+
parentCode: null,
|
|
49383
|
+
childCodes: [],
|
|
49384
|
+
definition: "Operate across borders; organized hierarchies; high levels of violence and corruption. Examples: Sinaloa Cartel, CJNG, Gulf Cartel (CDG), MS-13 (hybrid). WIKI subtypes: Mexican cartels, Central American groups, Colombian cartels, Asian cartels (e.g. Triads, Yakuza). A trafficking cartel stays tco_cartel (structure, not activity)."
|
|
49385
|
+
},
|
|
49386
|
+
{
|
|
49387
|
+
code: "990-005-000-000-000-000-000",
|
|
49388
|
+
key: "white_supremacist_extremist",
|
|
49389
|
+
title: "White supremacist / extremist gang",
|
|
49390
|
+
selectable: true,
|
|
49391
|
+
parentCode: null,
|
|
49392
|
+
childCodes: [],
|
|
49393
|
+
definition: "Blend gang culture with hate ideology; often recruit in prisons. Some are considered both prison and extremist gangs. Examples: Peckerwoods, Aryan Circle, Nazi Low Riders."
|
|
49394
|
+
},
|
|
49395
|
+
{
|
|
49396
|
+
code: "990-006-000-000-000-000-000",
|
|
49397
|
+
key: "organized_crime_family",
|
|
49398
|
+
title: "Organized crime family (traditional mafia)",
|
|
49399
|
+
selectable: true,
|
|
49400
|
+
parentCode: null,
|
|
49401
|
+
childCodes: [],
|
|
49402
|
+
definition: "Focus on racketeering, gambling, extortion; more secretive and hierarchical. Tends to be older, less visible but still active. Examples: Italian-American Mafia (e.g. Gambino family), Russian Mafia."
|
|
49403
|
+
},
|
|
49404
|
+
{
|
|
49405
|
+
code: "990-007-000-000-000-000-000",
|
|
49406
|
+
key: "familial_or_independent_trafficking_network",
|
|
49407
|
+
title: "Familial or independent trafficking network",
|
|
49408
|
+
selectable: true,
|
|
49409
|
+
parentCode: null,
|
|
49410
|
+
childCodes: [],
|
|
49411
|
+
definition: "STRUCTURAL category (renamed 2026-06-08 from human_trafficking_smuggling_network to restore mutual exclusivity): a family-based or standalone trafficking/smuggling network that is NOT a street/prison gang, cartel/TCO, outlaw motorcycle gang, organized crime family, or extremist organization. Examples: Tenancingo-style familial sex-trafficking networks (e.g. Rendon-Reyes, Granados); ethnic standalone networks (e.g. Thai/Intarathong). This category \u2014 or documented trafficking/prostitution activity on any org \u2014 is the load-bearing signal for the facilitator model's stronger trafficking-affiliation leaf."
|
|
49412
|
+
}
|
|
49413
|
+
]
|
|
49414
|
+
};
|
|
49415
|
+
|
|
49297
49416
|
// src/index.ts
|
|
49298
49417
|
var selectableCodes = (envelope) => envelope.entries.filter((e) => e.selectable).map((e) => e.code);
|
|
49299
49418
|
var CVC_137_VALUES = selectableCodes(recencyBand_v1_0_0_default);
|
|
@@ -49794,6 +49913,7 @@ var CVC_197_VALUES = selectableCodes(
|
|
|
49794
49913
|
coreReferralOutcomeSot,
|
|
49795
49914
|
createPlatformModels,
|
|
49796
49915
|
createdBySystemSot,
|
|
49916
|
+
criminalOrgCategorySot,
|
|
49797
49917
|
cvcEntryModel,
|
|
49798
49918
|
cvcEntrySchemaDefinition,
|
|
49799
49919
|
cvcEntrySchemaOptions,
|