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

    Parameters

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

      The CType (with or without $id).

    Returns string

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