func (s *Schema) ResourceTypeName() string {
	return "Schema"
}
ResourceTypeName returns the resource type of the Schema resource. This value is formally defined and hence fixed.
package spec
import (
	"encoding/json"
	"sync"
)
const CoreSchemaId = "core"
type Schema struct {
	id          string
	name        string
	description string
	attributes  []*Attribute
}
func (s *Schema) ID() string {
	return s.id
}
func (s *Schema) Name() string {
	return s.name
}
func (s *Schema) Description() string {
	return s.description
}
func (s *Schema) ForEachAttribute(callback func(attr *Attribute) error) error {
	for _, attr := range s.attributes {
		if err := callback(attr); err != nil {
			return err
		}
	}
	return nil
}