func (sd StructuredData) Validate() error {
	for i, elem := range sd {
		if err := structuredDataElementValidate(elem); err != nil {
			return fmt.Errorf("element %d not valid: %v", i, err)
		}
	}
	return nil
}
// Validate ensures that the structured data is correct.
Validate ensures that the structured data is correct.
// Validate ensures that the structured data is correct .
func (sd StructuredData) Validate() error {
	for i, elem := range sd {
		if err := structuredDataElementValidate(elem); err != nil {
			return fmt.Errorf("element %d not valid: %v", i, err)
		}
	}
	return nil
}
func ( sd StructuredData ) Validate ( ) error { for i , elem := range sd { if err := structuredDataElementValidate ( elem ) ; err != nil { return fmt . Errorf ( " " , i , err ) } } return nil }
Validate ensures that the structured data is correct.
Validate ensures that the structured data is correct .