code: func (p Primitive) Name() string {
  	switch p {
  	case Boolean:
  		return "boolean"
  	case Integer:
  		return "integer"
  	case Number:
  		return "number"
  	case String, DateTime, UUID:
  		return "string"
  	case Any:
  		return "any"
  	case File:
  		return "file"
  	default:
  		panic("unknown primitive type") // bug
  	}
  }
docs: // Name returns the JSON type name.