schemaId

Optional parameter that identifies this type in the serialized CBOR representation in objects that contain the fields of the annotated type.

By default schemaHash is computed and used as schemaId, however when a type is a part of a self-referencing loop of types, schemaId must be assigned on some types to break the loop. This also can be used to manually manage schema changes.

Note that schemaHash is still computed using the usual rules and can be used to track schema changes in the class structure and its dependencies.