CType(Credential Type) defines a way to verify the credential subject(claims) data type, which is based on json-schema for validation.
Installation -
yarn add @zcloak/ctype
Functions can be imported as follows:
import { validateSubject, validateSubjectPartial } from '@zcloak/ctype';