Skip to content

IofOrganisation

Types

country

The country of an organisation, including the IOC code and full name.

rescript
type country = {code: string, name: string}

Fields:

  • code: string — The IOC three-letter country code, e.g. "GBR".
  • name: string — The full country name, e.g. "Great Britain".

t

Information about an organisation (federation, club, etc.) including name and country.

See: Organisation in the IOF XML 3.0 XSD

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

Fields:

  • id: option&lt;string&gt; — The identifier of the organisation, e.g. a federation database identifier.
  • name: string — The full name of the organisation.
  • shortName: option&lt;string&gt; — The short (abbreviated) name of the organisation.
  • country: option&lt;country&gt; — The country of the organisation, including IOC code and full name.

Values

parse

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