code: func (pTypeDef *Drawing) Validate() error {
  	if pTypeDef.Shapes == nil {
  		return fmt.Errorf("Drawing: Missing required field: shapes")
  	}
  	return nil
  }
docs: //
  // Validate - checks for missing required fields, etc
  //