• Utility for (re)creating CType hashes. Sorts the schema and strips the $id property (which contains the CType hash) before stringifying.

    Returns

    A deterministic JSON serialization of a CType, omitting the $id property.

    Parameters

    • cType: ICType | Omit<ICType, "$id">

      The CType (with or without $id).

    Returns string