text: from dataclasses import dataclass, field
  from typing import Optional
  from bindings.csw.actuate_type import ActuateType
  from bindings.csw.image_crs import ImageCrs
  from bindings.csw.show_type import ShowType
  from bindings.csw.type_type import TypeType
  
  __NAMESPACE__ = "http://www.opengis.net/gml"
  
  
  @dataclass
  class ImageCrsrefType:
      """
      Association to an image coordinate reference system, either referencing or
      containing the definition of that reference system.
      """
  
      class Meta:
          name = "ImageCRSRefType"
  
      image_crs: Optional[ImageCrs] = field(
          default=None,
          metadata={
              "name": "ImageCRS",
              "type": "Element",
              "namespace": "http://www.opengis.net/gml",
          },
      )
      type: TypeType = field(
          init=False,
          default=TypeType.SIMPLE,
          metadata={
              "type": "Attribute",
              "namespace": "http://www.w3.org/1999/xlink",
          },
      )
      href: Optional[str] = field(
          default=None,
          metadata={
              "type": "Attribute",
              "namespace": "http://www.w3.org/1999/xlink",
          },
      )
      role: Optional[str] = field(
          default=None,
          metadata={
              "type": "Attribute",
              "namespace": "http://www.w3.org/1999/xlink",
              "min_length": 1,
          },
      )
      arcrole: Optional[str] = field(
          default=None,
          metadata={
              "type": "Attribute",
              "namespace": "http://www.w3.org/1999/xlink",
              "min_length": 1,
          },
      )
      title: Optional[str] = field(
          default=None,
          metadata={
              "type": "Attribute",
              "namespace": "http://www.w3.org/1999/xlink",
          },
      )
      show: Optional[ShowType] = field(
          default=None,
          metadata={
              "type": "Attribute",
              "namespace": "http://www.w3.org/1999/xlink",
          },
      )
      actuate: Optional[ActuateType] = field(
          default=None,
          metadata={
              "type": "Attribute",
              "namespace": "http://www.w3.org/1999/xlink",
          },
      )
      remote_schema: Optional[str] = field(
          default=None,
          metadata={
              "name": "remoteSchema",
              "type": "Attribute",
              "namespace": "http://www.opengis.net/gml",
          },
      )
  