How Can We Help?
Event XMLEvent XML
Overview
This page details the Event content type. On this page you will find different representations of the data elements contained within this type.
Below is the xsd for the Event content type that defines the import xml format. Also provided is mapping tables generated based on this XSD as well as an example xml that shows how the fields can be populated.
This is logical broken down into the different elements to help you gain a better understanding of the Event content type and how to create, read and update these records using the mechanisms provided in Pure.
Note: for the mapping tables all attributes and elements are listed, along with descriptions of the purposes of the field and any data requirements. Attribute are prefaced with an "@" to differentiate from elements, but as shown in the examples this isn't used when generating the xml.
Some elements offer options of which elements to include (such as whether to provide the ID of a person or organisation or name for lookup). These are denoted by reference to "Option Groups" where numbers are used to indicate where multiple elements are part of the same option. See example xmls for demonstrations of how to use these elements.
The Event content type stores information related to a specific event, such as a conference, exhibition or performance.
Below are a series of attachments for your reference:
- Simple Example XML - This shows only the mandatory fields that need to be populated
- Advanced Example XML - This shows all fields that can be used. Snippets of this file are shown with their related elements below.
- XSD (Xml Schema Definition) - This is a definition of what structure the XML must follow. This page has been generated based on the contents of the xsd file, and snippets of the definition are shown with their relevant element below
- Editor Example PNG - This image shows the result of loading the advanced example xml into Pure, to allow for easy reference of which fields in Pure point to which elements in the XML. Note that the way the data is presented within your Pure instance may be different due to different configuration
- Webservice Example Response - This shows an example response of retrieving the record generated via this xml via the webservice
- Pure API Example Response - This shows an example response of retrieving the record generated via this xml via the Pure API. Note as the Pure API allows for creation of records, this format could also be used to create a new record with these details, but some fields would be ignored in that case (such as audit fields like created/modified by and internal Pure identifiers like UUID and Pure ID which wouldn't exist yet). UUIDs for related content (such as organisational units) would need to be updated as well.
Events
events
A list of event elements of type event
The ROOT element of the xml
XML Example
<events xmlns="v1.event.pure.atira.dk" xmlns:cmns="v3.commons.pure.atira.dk"><!--1 or more repetitions:-->
<event id="event1" type="conference" managedInPure="false">
<title>Event Title</title>
<!-- Can have a translated title for each submission language -->
<translatedTitles>
<title lang="sv">Händelse Titel</title>
<title lang="de">Titel der Veranstaltung</title>
</translatedTitles>
<subTitle>Event Subtitle</subTitle>
<!-- Can have a translated subtitle for each submission language -->
<translatedSubTitles>
<title lang="sv">Händelse Undertext</title>
<title lang="de">Ereignis Untertitel</title>
</translatedSubTitles>
<abbreviatedTitle>A.C.R.O.N.Y.M.</abbreviatedTitle>
<!-- Can have a translated abbreviated title for each submission language -->
<translatedAbbreviatedTitle>
<title lang="sv">Kortfattad Titel</title>
<title lang="de">Kurztitel</title>
</translatedAbbreviatedTitle>
<conferenceNumber>5</conferenceNumber>
<description>This is a description</description>
<!-- Can have a translated description for each submission language -->
<additionalDescriptions>
<description lang="sv">Detta är en beskrivning</description>
<description lang="de">Dies ist eine Beschreibung</description>
</additionalDescriptions>
<!-- DD-MM-YYYY or YYYY-MM-DD -->
<startDate>02-02-2008</startDate>
<endDate>04-05-2009</endDate>
<links>
<link>
<description>IEEE Website</description>
<!-- Can have a different description -->
<additionalDescriptions>
<description lang="sv">IEEE Website</description>
<description lang="de">IEEE Webseite</description>
</additionalDescriptions>
<!-- Must be defined in the "Types of links for events" classification scheme -->
<type>conference_website</type>
<url>https://www.ieee.org</url>
</link>
<link>
<description>NASA Website</description>
<additionalDescriptions>
<description lang="sv">NASA Website</description>
<description lang="de">NASA Webseite</description>
</additionalDescriptions>
<type/>
<url>https://www.nasa.gov</url>
</link>
</links>
<!-- Must be defined in the "Degrees of recognition for events" classification scheme -->
<degreeOfRecognition>local</degreeOfRecognition>
<!-- Event should already exist in Pure or can be included in same XML file -->
<relatedEvents>
<relatedEvent id="event2"/>
</relatedEvents>
<location>Moon Plaza</location>
<city>New York</city>
<!-- Should be defined in the Countries classification scheme -->
<country>us</country>
<!-- Subdivisions are defined in the subdivision classification scheme. Not all countries have subdivision support in Pure -->
<subdivision>ny</subdivision>
<!-- A list of internal and/or external organisations responsible for organising the event -->
<organisers>
<organisation lookupId="organisation1"/>
</organisers>
<!-- A list of internal and/or external organisations responsible for sponsoring the event -->
<sponsors>
<organisation lookupId="organisation1"/>
<organisation lookupId="extOrganisation2" origin="external">
<country>us</country>
<name>IEEE</name>
<type>unknown</type>
</organisation>
</sponsors>
<!-- ID type must be defined in the Types of Sources for Events classification scheme -->
<ids>
<cmns:id type="scopus">123456</cmns:id>
</ids>
<keywords><!-- Keyword group on event with logical name keywordContainers must exist -->
<keyword>Java</keyword>
<keyword lang="en">Programming</keyword>
<keyword lang="de">Programmierung</keyword>
<!-- Keyword group on course with logical name ASJCSubjectAreas that is related to classification scheme /dk/atira/pure/subjectarea/asjc must exist -->
<keyword logicalName="ASJCSubjectAreas" key="1700/1701"/>
</keywords>
<!-- Google formatted geolocation point or polygon -->
<geoLocation>
<point>14.844751, -24.715204</point>
</geoLocation>
<!-- Accepted values are approved for forApproval. Workflow should be enabled in Pure to use this -->
<workflow>approved</workflow>
</event>
<event id="event2" type="conference"><!-- Title(s) of the event -->
<title>Second Event</title>
<!-- Start date -->
<startDate>02-02-2008</startDate>
</event>
</events>
XSD Definition
<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="events">
<xs:annotation>
<xs:documentation>The ROOT element of the xml</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="event" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="resumptionToken" type="xs:string">
<xs:annotation>
<xs:documentation>
To enable resumption tokens, add an URL to the "XML source data location" in the job configuration with "{resumptionToken}" as a placeholder, for instance "https://example.org/data?resumptionToken={resumptionToken}".
The endpoint must handle the resumptionToken in the following manner:
If an empty resumptionToken is sent, the endpoint must return all data. If a non-empty resumptionToken is sent, the endpoint must return all data that has changed since the time the resumptionToken was sent.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
event
For each event to be created there should be an occurence of this element
XML Example
<event xmlns="v1.event.pure.atira.dk"
xmlns:cmns="v3.commons.pure.atira.dk"
id="event1"
type="conference"
managedInPure="false">
<title>Event Title</title>
<!-- Can have a translated title for each submission language -->
<translatedTitles>
<title lang="sv">Händelse Titel</title>
<title lang="de">Titel der Veranstaltung</title>
</translatedTitles>
<subTitle>Event Subtitle</subTitle>
<!-- Can have a translated subtitle for each submission language -->
<translatedSubTitles>
<title lang="sv">Händelse Undertext</title>
<title lang="de">Ereignis Untertitel</title>
</translatedSubTitles>
<abbreviatedTitle>A.C.R.O.N.Y.M.</abbreviatedTitle>
<!-- Can have a translated abbreviated title for each submission language -->
<translatedAbbreviatedTitle>
<title lang="sv">Kortfattad Titel</title>
<title lang="de">Kurztitel</title>
</translatedAbbreviatedTitle>
<conferenceNumber>5</conferenceNumber>
<description>This is a description</description>
<!-- Can have a translated description for each submission language -->
<additionalDescriptions>
<description lang="sv">Detta är en beskrivning</description>
<description lang="de">Dies ist eine Beschreibung</description>
</additionalDescriptions>
<!-- DD-MM-YYYY or YYYY-MM-DD -->
<startDate>02-02-2008</startDate>
<endDate>04-05-2009</endDate>
<links>
<link>
<description>IEEE Website</description>
<!-- Can have a different description -->
<additionalDescriptions>
<description lang="sv">IEEE Website</description>
<description lang="de">IEEE Webseite</description>
</additionalDescriptions>
<!-- Must be defined in the "Types of links for events" classification scheme -->
<type>conference_website</type>
<url>https://www.ieee.org</url>
</link>
<link>
<description>NASA Website</description>
<additionalDescriptions>
<description lang="sv">NASA Website</description>
<description lang="de">NASA Webseite</description>
</additionalDescriptions>
<type/>
<url>https://www.nasa.gov</url>
</link>
</links>
<!-- Must be defined in the "Degrees of recognition for events" classification scheme -->
<degreeOfRecognition>local</degreeOfRecognition>
<!-- Event should already exist in Pure or can be included in same XML file -->
<relatedEvents>
<relatedEvent id="event2"/>
</relatedEvents>
<location>Moon Plaza</location>
<city>New York</city>
<!-- Should be defined in the Countries classification scheme -->
<country>us</country>
<!-- Subdivisions are defined in the subdivision classification scheme. Not all countries have subdivision support in Pure -->
<subdivision>ny</subdivision>
<!-- A list of internal and/or external organisations responsible for organising the event -->
<organisers>
<organisation lookupId="organisation1"/>
</organisers>
<!-- A list of internal and/or external organisations responsible for sponsoring the event -->
<sponsors>
<organisation lookupId="organisation1"/>
<organisation lookupId="extOrganisation2" origin="external">
<country>us</country>
<name>IEEE</name>
<type>unknown</type>
</organisation>
</sponsors>
<!-- ID type must be defined in the Types of Sources for Events classification scheme -->
<ids>
<cmns:id type="scopus">123456</cmns:id>
</ids>
<keywords><!-- Keyword group on event with logical name keywordContainers must exist -->
<keyword>Java</keyword>
<keyword lang="en">Programming</keyword>
<keyword lang="de">Programmierung</keyword>
<!-- Keyword group on course with logical name ASJCSubjectAreas that is related to classification scheme /dk/atira/pure/subjectarea/asjc must exist -->
<keyword logicalName="ASJCSubjectAreas" key="1700/1701"/>
</keywords>
<!-- Google formatted geolocation point or polygon -->
<geoLocation>
<point>14.844751, -24.715204</point>
</geoLocation>
<!-- Accepted values are approved for forApproval. Workflow should be enabled in Pure to use this -->
<workflow>approved</workflow>
</event>
XSD Definition
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="eventType">
<xs:annotation>
<xs:documentation>For each event to be created there should be an occurence of this element</xs:documentation>
</xs:annotation>
<xs:all>
<xs:element name="title" type="commons:string_1024" minOccurs="1">
<xs:annotation>
<xs:documentation>The title of the event</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="translatedTitles" type="translatedTitles" minOccurs="0">
<xs:annotation>
<xs:documentation>Translated titles of the event, use if title in different in another language</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="subTitle" type="commons:string_1024" minOccurs="0">
<xs:annotation>
<xs:documentation>The subtitle of the event</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="translatedSubTitles" type="translatedTitles" minOccurs="0">
<xs:annotation>
<xs:documentation>Translated subtitles of the event, use if subtitle in different in another language</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="abbreviatedTitle" type="commons:string_256" minOccurs="0">
<xs:annotation>
<xs:documentation>The abbreviated title or acronym of the event</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="translatedAbbreviatedTitle"
type="translatedTitles"
minOccurs="0">
<xs:annotation>
<xs:documentation>Translated abbreviated titles of the event, use if title in different in another language</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="conferenceNumber" type="commons:string_256" minOccurs="0">
<xs:annotation>
<xs:documentation>An identifier number for the conference. Often used to differentiate the conference occurence from previous iterations</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="description" type="commons:string_256" minOccurs="0">
<xs:annotation>
<xs:documentation>The description of the event</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="additionalDescriptions" type="descriptions" minOccurs="0">
<xs:annotation>
<xs:documentation>Additional descriptions of the event, use if description is different in another language</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="startDate" type="commons:date" minOccurs="1">
<xs:annotation>
<xs:documentation>
The start date of the event
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="endDate" type="commons:date" minOccurs="0">
<xs:annotation>
<xs:documentation>
The end date of the event
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="links" type="links" minOccurs="0">
<xs:annotation>
<xs:documentation>
The links for the event
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="degreeOfRecognition"
type="commons:classification"
minOccurs="0">
<xs:annotation>
<xs:documentation>
Classifications from the scheme: /dk/atira/pure/event/degreeofrecognition. Only use the last part of the uri (token)
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="relatedEvents" type="relatedEvents" minOccurs="0">
<xs:annotation>
<xs:documentation>
List of related events
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="location" type="commons:string_256" minOccurs="0">
<xs:annotation>
<xs:documentation>
The location of the event.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="city" type="commons:string_256" minOccurs="0">
<xs:annotation>
<xs:documentation>
The city of the event
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="country" type="commons:classification" minOccurs="0">
<xs:annotation>
<xs:documentation>
Classifications from the scheme: /dk/atira/pure/core/countries. Only use the last part of the uri (token)
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="subdivision" type="commons:classification" minOccurs="0">
<xs:annotation>
<xs:documentation>
Classification key from the scheme: /dk/atira/pure/core/countries/subdivision/. Only some countries have subdivision support
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="organisers" type="organisations" minOccurs="0">
<xs:annotation>
<xs:documentation>
List of internal and external organisers/organisations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="sponsors" type="organisations" minOccurs="0">
<xs:annotation>
<xs:documentation>
List of internal and external sponsors/organisations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="geoLocation" type="geoLocation" minOccurs="0">
<xs:annotation>
<xs:documentation>
The geo location of the event.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ids" type="commons:ids" minOccurs="0">
<xs:annotation>
<xs:documentation>Used to set additional ids on the event, e.g. scopusid. Types must be defined in the /dk/atira/pure/event/eventsources classification scheme</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="workflow" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>
Used to set the workflow state of the event (workflow states: forApproval and approved (If enabled in the Pure backend))
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="keywords" type="keywords" minOccurs="0">
<xs:annotation>
<xs:documentation>Keywords of the event</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
<xs:attribute type="commons:string_400" name="id" use="required">
<xs:annotation>
<xs:documentation>
The external ID of the event, this must be an unique value
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute type="commons:classification" name="type" use="required">
<xs:annotation>
<xs:documentation>
Classifications from the scheme: /dk/atira/pure/event/eventtypes/event/. Only use the last part of the uri (token)
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute type="xs:boolean" name="managedInPure" use="optional">
<xs:annotation>
<xs:documentation>Determines whether the journal is managed in Pure, if set to to true the journal will be fully editable and deletable in Pure</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
XML Attribute/Element |
Description |
Type |
Mandatory |
---|---|---|---|
@id |
The external ID of the event, this must be an unique value |
Yes |
|
@type |
Classifications from the scheme: /dk/atira/pure/event/eventtypes/event/. Only use the last part of the uri (token) |
Yes |
|
@managedInPure |
Determines whether the journal is managed in Pure, if set to to true the journal will be fully editable and deletable in Pure |
xsd:boolean |
Yes |
title |
The title of the event |
Yes |
|
translatedTitles |
Translated titles of the event, use if title in different in another language |
No |
|
subTitle |
The subtitle of the event |
No |
|
translatedSubTitles |
Translated subtitles of the event, use if subtitle in different in another language |
No |
|
abbreviatedTitle |
The abbreviated title or acronym of the event |
No |
|
translatedAbbreviatedTitle |
Translated abbreviated titles of the event, use if title in different in another language |
No |
|
conferenceNumber |
An identifier number for the conference. Often used to differentiate the conference occurence from previous iterations |
No |
|
description |
The description of the event |
No |
|
additionalDescriptions |
Additional descriptions of the event, use if description is different in another language |
No |
|
startDate |
The start date of the event |
Yes |
|
endDate |
The end date of the event |
No |
|
links |
The links for the event |
No |
|
degreeOfRecognition |
Classifications from the scheme: /dk/atira/pure/event/degreeofrecognition. Only use the last part of the uri (token) |
No |
|
relatedEvents |
List of related events |
No |
|
location |
The location of the event. |
No |
|
city |
The city of the event |
No |
|
country |
Classifications from the scheme: /dk/atira/pure/core/countries. Only use the last part of the uri (token) |
No |
|
subdivision |
Classification key from the scheme: /dk/atira/pure/core/countries/subdivision/. Only some countries have subdivision support |
No |
|
organisers |
List of internal and external organisers/organisations. |
No |
|
sponsors |
List of internal and external sponsors/organisations. |
No |
|
geoLocation |
The geo location of the event. |
No |
|
ids |
Used to set additional ids on the event, e.g. scopusid. Types must be defined in the /dk/atira/pure/event/eventsources classification scheme |
No |
|
workflow |
Used to set the workflow state of the event (workflow states: forApproval and approved (If enabled in the Pure backend)) |
xsd:string |
No |
keywords |
Keywords of the event |
No |
Translations
translatedTitles
A list of title elements of type commons:localized_text_256_lang
XML Example
<translatedTitles xmlns="v1.event.pure.atira.dk" xmlns:cmns="v3.commons.pure.atira.dk">
<title lang="sv">Händelse Titel</title>
<title lang="de">Titel der Veranstaltung</title>
</translatedTitles>
XSD Definition
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="translatedTitles">
<xs:sequence>
<xs:element name="title"
type="commons:localized_text_256_lang"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Translated title of the event, can be specified in multi languages if your Pure is multilingual</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
XML Attribute/Element |
Description |
Type |
Mandatory |
---|---|---|---|
title |
Translated title of the event, can be specified in multi languages if your Pure is multilingual |
Yes |
descriptions
A list of description elements of type commons:localized_text_256_lang
XSD Definition
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="descriptions">
<xs:sequence>
<xs:element name="description"
type="commons:localized_text_256_lang"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Translated title of the event, can be specified in multi languages if your Pure is multilingual</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
XML Attribute/Element |
Description |
Type |
Mandatory |
---|---|---|---|
description |
Translated title of the event, can be specified in multi languages if your Pure is multilingual |
Yes |
Links
links
A list of link elements of type link
XML Example
<links xmlns="v1.event.pure.atira.dk" xmlns:cmns="v3.commons.pure.atira.dk">
<link>
<description>IEEE Website</description>
<!-- Can have a different description -->
<additionalDescriptions>
<description lang="sv">IEEE Website</description>
<description lang="de">IEEE Webseite</description>
</additionalDescriptions>
<!-- Must be defined in the "Types of links for events" classification scheme -->
<type>conference_website</type>
<url>https://www.ieee.org</url>
</link>
<link>
<description>NASA Website</description>
<additionalDescriptions>
<description lang="sv">NASA Website</description>
<description lang="de">NASA Webseite</description>
</additionalDescriptions>
<type/>
<url>https://www.nasa.gov</url>
</link>
</links>
XSD Definition
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="links">
<xs:sequence>
<xs:element name="link" type="link" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
link
XML Example
<link xmlns="v1.event.pure.atira.dk" xmlns:cmns="v3.commons.pure.atira.dk">
<description>IEEE Website</description>
<!-- Can have a different description -->
<additionalDescriptions>
<description lang="sv">IEEE Website</description>
<description lang="de">IEEE Webseite</description>
</additionalDescriptions>
<!-- Must be defined in the "Types of links for events" classification scheme -->
<type>conference_website</type>
<url>https://www.ieee.org</url>
</link>
XSD Definition
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="link">
<xs:all>
<xs:element name="url" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>
The URL of the link
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="type" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>
Token from the classification scheme /dk/atira/pure/links/event if link need to be of a specific type.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="description" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>
The description of the url
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="additionalDescriptions" type="descriptions" minOccurs="0">
<xs:annotation>
<xs:documentation>Additional descriptions of the url, use if description is different in another language</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
<xs:attributeGroup ref="commons:id">
<xs:annotation>
<xs:documentation>A unique identifier for the link to aid with synchronisation. Not displayed in the front end</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
</xs:complexType>
XML Attribute/Element |
Description |
Type |
Mandatory |
---|---|---|---|
@commons:id |
A unique identifier for the link to aid with synchronisation. Not displayed in the front end |
Yes |
|
url |
The URL of the link |
xsd:string |
No |
type |
Token from the classification scheme /dk/atira/pure/links/event if link need to be of a specific type. |
xsd:string |
No |
description |
The description of the url |
xsd:string |
No |
additionalDescriptions |
Additional descriptions of the url, use if description is different in another language |
No |
Related Events
relatedEvents
A list of relatedEvent elements of type relatedEvent
XML Example
<relatedEvents xmlns="v1.event.pure.atira.dk" xmlns:cmns="v3.commons.pure.atira.dk">
<relatedEvent id="event2"/>
</relatedEvents>
XSD Definition
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="relatedEvents">
<xs:sequence>
<xs:element name="relatedEvent"
type="relatedEvent"
maxOccurs="unbounded"
minOccurs="1"/>
</xs:sequence>
</xs:complexType>
relatedEvent
XML Example
<relatedEvent xmlns="v1.event.pure.atira.dk"
xmlns:cmns="v3.commons.pure.atira.dk"
id="event2"/>
XSD Definition
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="relatedEvent">
<xs:attribute type="commons:string_400" name="id" use="required">
<xs:annotation>
<xs:documentation>The source ID of the content</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="source" type="commons:string_1024">
<xs:annotation>
<xs:documentation>If duplicates are found we use source to pick which duplicate we choose to match with</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
XML Attribute/Element |
Description |
Type |
Mandatory |
---|---|---|---|
@id |
The source ID of the content |
Yes |
|
@source |
If duplicates are found we use source to pick which duplicate we choose to match with |
Yes |
Organisations
organisations
A list of organisation elements of type organisation
XSD Definition
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="organisations">
<xs:sequence>
<xs:element name="organisation" type="organisation" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
organisation
Can be both an internal and external organisation, use origin to enforce either internal or external
If the organisation is an internal organisation in Pure, then the lookupId attribute must be used.
If the organisation is an external organisation and id is given matching will be done on the id, if not found mathching will be done on name, if still not found then an external organisation with the specified id and organisation will be created.
XML Example
<organisation xmlns="v1.event.pure.atira.dk"
xmlns:cmns="v3.commons.pure.atira.dk"
lookupId="organisation1"/>
XSD Definition
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="organisation">
<xs:annotation>
<xs:documentation>
Can be both an internal and external organisation, use origin to enforce either internal or external
If the organisation is an internal organisation in Pure, then the lookupId attribute must be used.
If the organisation is an external organisation and id is given matching will be done on the id, if not found mathching will be done on name, if still not found then an external organisation with the specified id and organisation will be created.
</xs:documentation>
</xs:annotation>
<xs:all>
<xs:element name="name" type="commons:string_1024" minOccurs="0">
<xs:annotation>
<xs:documentation>Name of an external organisation</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="country" type="commons:classification" minOccurs="0">
<xs:annotation>
<xs:documentation>The country of the external organisation. token from /dk/atira/pure/core/countries</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="type" type="commons:classification" minOccurs="0">
<xs:annotation>
<xs:documentation>The type of the external organisation (will default if nothing is written)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
<xs:attributeGroup ref="commons:originId"/>
</xs:complexType>
XML Attribute/Element |
Description |
Type |
Mandatory |
---|---|---|---|
@commons:originId |
|
Yes |
|
name |
Name of an external organisation |
No |
|
country |
The country of the external organisation. token from /dk/atira/pure/core/countries |
No |
|
type |
The type of the external organisation (will default if nothing is written) |
No |
Geolocation
geoLocation
XML Example
<geoLocation xmlns="v1.event.pure.atira.dk" xmlns:cmns="v3.commons.pure.atira.dk">
<point>14.844751, -24.715204</point>
</geoLocation>
XSD Definition
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="geoLocation">
<xs:sequence>
<xs:choice>
<xs:element name="point" type="commons:string_512">
<xs:annotation>
<xs:documentation>A geospatial point. Google maps format</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="polygon" type="xs:string">
<xs:annotation>
<xs:documentation>A geospatial polygon. Google maps format</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
XML Attribute/Element |
Description |
Type |
Mandatory |
---|---|---|---|
point |
A geospatial point. Google maps format |
Yes |
|
polygon |
A geospatial polygon. Google maps format |
xsd:string |
Yes |
Keywords
keywords
A list of keyword elements of type commons:keyword
XML Example
<keywords xmlns="v1.event.pure.atira.dk" xmlns:cmns="v3.commons.pure.atira.dk"><!-- Keyword group on event with logical name keywordContainers must exist -->
<keyword>Java</keyword>
<keyword lang="en">Programming</keyword>
<keyword lang="de">Programmierung</keyword>
<!-- Keyword group on course with logical name ASJCSubjectAreas that is related to classification scheme /dk/atira/pure/subjectarea/asjc must exist -->
<keyword logicalName="ASJCSubjectAreas" key="1700/1701"/>
</keywords>
XSD Definition
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="keywords">
<xs:sequence>
<xs:element name="keyword" type="commons:keyword" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Free text and/or classified values. Should be defined under the Administration -> Keyword</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
XML Attribute/Element |
Description |
Type |
Mandatory |
---|---|---|---|
keyword |
Free text and/or classified values. Should be defined under the Administration -> Keyword |
Yes |
Updated at July 27, 2024