@finsys/core 2.6.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -2
- package/dist/data/adapter-categories.json +142 -2
- package/dist/index.cjs +282 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +207 -23
- package/dist/index.d.ts +207 -23
- package/dist/index.js +279 -32
- package/dist/index.js.map +1 -1
- package/dist/schema/adapter-manifest.schema.json +13 -2
- package/package.json +1 -1
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
},
|
|
27
27
|
"category": {
|
|
28
28
|
"type": "string",
|
|
29
|
-
"
|
|
30
|
-
"description": "Generic category this adapter implements.
|
|
29
|
+
"minLength": 1,
|
|
30
|
+
"description": "Generic category this adapter implements. SYS-2500: the schema validates STRUCTURE only (non-empty string) — category MEMBERSHIP is enforced at runtime against finsys-core's registry (assertAdapterCategory / categorySchemaOf), so adding a category is a data-file edit with no schema change. The host rejects manifests whose category is not in the loaded catalogue."
|
|
31
31
|
},
|
|
32
32
|
"version": {
|
|
33
33
|
"type": "integer",
|
|
@@ -92,6 +92,17 @@
|
|
|
92
92
|
}
|
|
93
93
|
]
|
|
94
94
|
},
|
|
95
|
+
"requiredIdentityFields": {
|
|
96
|
+
"type": "array",
|
|
97
|
+
"items": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"minLength": 1,
|
|
100
|
+
"maxLength": 100,
|
|
101
|
+
"not": { "enum": ["ihsId", "ic", "fullName"] }
|
|
102
|
+
},
|
|
103
|
+
"uniqueItems": true,
|
|
104
|
+
"description": "v2.7.0 — partner-specific identity field names required by fetch(). Host validates per-applicant before invoking fetch() and skips the adapter when missing. Omit (or empty) for adapters that don't implement fetch(). Must NOT include core fields ('ihsId', 'ic', 'fullName') — those are always populated, and declaring 'ic' as required would cause the host to skip every non-MY applicant since 'ic' can legitimately be empty."
|
|
105
|
+
},
|
|
95
106
|
"notes": {
|
|
96
107
|
"type": "string",
|
|
97
108
|
"maxLength": 2000,
|