code: def add(self, name: str, ty: Type, force=False) -> "Schema":
      if name in self and not force:
          raise KeyError(f"Can't override existing field {name!r}.")
  
      clone = self.copy()
      clone.fields[name] = ty
      return clone
  
imports: from dataclasses import dataclass, field
  from functools import singledispatch
  from typing import Any, Dict, Type, Union
  import numpy
label_desc: Use image node_id 5 for calling the Schema obj's underlying member method code with example usage: obj.add(name, ty, force) and returns: clone