@gtcx/schemas
v2.0.0
Published
GTCX verification schemas including Core12 compliance framework
Downloads
121
Readme
@gtcx/schemas
Core12 compliance framework — structured access to compliance domains and controls.
Installation
pnpm add @gtcx/schemasQuick Start
import { getDomain, getControl, getAllControls } from '@gtcx/schemas';
const controls = getAllControls();
console.log(`Total controls: ${controls.length}`);
const domain = getDomain('D01');
console.log(domain?.name, domain?.controls.length);Sub-exports
| Path | Description |
| ---------------------- | -------------------------------------- |
| @gtcx/schemas/core12 | Core12 compliance domains and controls |
API
| Export | Description |
| ------------------ | --------------------------- |
| getDomain(id) | Get compliance domain by ID |
| getControl(id) | Get specific control |
| getAllControls() | List all controls |
Related
License
MIT
