text: from enum import Enum
  
  
  class OpenAPIFormat(str, Enum):
      """
      Formats extracted from:
      https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-validation-00#page-13
      """
  
      DATE = "date"
      DATE_TIME = "date-time"
      TIME = "time"
      DURATION = "duration"
      URL = "url"
      EMAIL = "email"
      IDN_EMAIL = "idn-email"
      HOST_NAME = "hostname"
      IDN_HOST_NAME = "idn-hostname"
      IPV4 = "ipv4"
      IPV6 = "ipv6"
      URI = "uri"
      URI_REFERENCE = "uri-reference"
      URI_TEMPLATE = "uri-template"
      JSON_POINTER = "json-pointer"
      RELATIVE_JSON_POINTER = "relative-json-pointer"
      IRI = "iri-reference"
      IRI_REFERENCE = "iri-reference"
      UUID = "uuid"
      REGEX = "regex"
  
  
  class OpenAPIType(str, Enum):
      ARRAY = "array"
      BOOLEAN = "boolean"
      INTEGER = "integer"
      NULL = "null"
      NUMBER = "number"
      OBJECT = "object"
      STRING = "string"
  