pub fn validate_custom_type_validation<S, 'a>(
    context: &SchemaContext,
    type_kind: &TypeKind<<S as CustomSchema>::CustomTypeKind<LocalTypeId>, LocalTypeId>,
    type_validation: &TypeValidation<<S as CustomSchema>::CustomTypeValidation>
) -> Result<(), SchemaValidationError>
where S: CustomSchema,