code: func (p Primitive) CanHaveDefault() (ok bool) {
  	switch p {
  	case Boolean, Integer, Number, String, DateTime:
  		ok = true
  	}
  	return
  }
docs: // CanHaveDefault returns whether the primitive can have a default value.