schema validation for composite binary storage