Static
Calculate the size of an object in bytes (rough estimate)
Detect circular references in an object
DataIntegrityError if circular reference found
Validate a document structure and content
ValidationError or DataIntegrityError if document is invalid
Validate field names in a document
ValidationError if field names are invalid
Validate document ID format
Calculate the size of an object in bytes (rough estimate)