code: func (s *EnumSchema) MarshalJSON() ([]byte, error) {
  	return json.Marshal(struct {
  		Type      string   `json:"type,omitempty"`
  		Namespace string   `json:"namespace,omitempty"`
  		Name      string   `json:"name,omitempty"`
  		Doc       string   `json:"doc,omitempty"`
  		Symbols   []string `json:"symbols,omitempty"`
  	}{
  		Type:      "enum",
  		Namespace: s.Namespace,
  		Name:      s.Name,
  		Doc:       s.Doc,
  		Symbols:   s.Symbols,
  	})
  }
docs: // MarshalJSON serializes the given schema as JSON.