Skip to content

IofClass

Types

t

Defines a class in an event.

See: Class in the IOF XML 3.0 XSD

rescript
type t = {
  id: option<string>,
  name: string,
  shortName: option<string>,
}

Fields:

  • id: option&lt;string&gt; — The identifier of the class, e.g. a federation database identifier.
  • name: string — The name of the class.
  • shortName: option&lt;string&gt; — The abbreviated name of the class, used when space is limited.

Values

parse

rescript
let parse: IofXml.XmlUtils.xmlElement => option<t>