3.8 Identifiers

This specification provides three different types of identifiers:

  •          Assigned Identifiers
  •          Transient Unique Identifiers
  •          Universally Unique Identifiers

3.8.1 Assigned Identifiers

3.8.1.1 AssignedIdentifier

An assigned identifier is created by an organization, carrier, agent, state, or other body. These include group and association identifiers, account numbers, endorsement numbers, employer and employee IDs, passport IDs, driver license numbers, etc.

"AssignedIdentifier" elements are Character data type with a maximum length of 36.

3.8.2 Transient Unique Identifiers and References

3.8.2.1 ID

An ACORD XML document provides unique identifiers with the XML stream that are used for referencing information within the document. These are transient identifiers that are only used to link information within a document stream. The identifiers are not meant for use once the message has been processed by the receiving system. Furthermore, transient identifiers are not used to encode other types of metadata or information, such as implied or explicit sequential order, dates, or other associations.

id="Location_5_Purchased_2015_part_owner

Party ids:

id="Agent"

id="Insured"

Transient identifiers in the specification are of the data type "Identifier Type." These are Character data that matches the XML rules for ID attribute data type values.

Tag

Type

Usage

Description

@id

Identifier Type

Optional

A document unique identifier used when an object (element) needs to be referenced elsewhere in the document.

An ID should only be present on an element when it is being referenced within the stream.

Transient identifiers are not defined on tags which are used only in service wrappers. However a tag is defined with an @id attribute if used in both service wrappers and business messages. In this case, the @id attribute must not be used when the tag appears in the service wrapper.

Transient identifiers are defined on all elements and aggregates in business messages except:

Transient identifiers are optional.

3.8.2.2 IDREF

Related to the transient identifier is its matching reference. Identifier References in the specification are of the data type "Identifier Reference Type." This is Character data that matches the XML rules for ID attribute data type values and it must match a value in the current data stream. These values are typically shown as @yyyRef where the yyy is replaced with a value that describes the type of object or tag that the item references.

3.8.2.3 IDREFS

When an aggregate or element references more than one item in the stream, a "Multiple Identifier Reference Type" data type is defined and is typically shown as @yyyRefs where yyy is replaced with a value that describes the type of object that the item references.

3.8.3 Universally Unique Identifier (UUID)

3.8.3.1 UUID

UUID elements are Narrow Characters with a maximum length of 36. Applications can often obtain conforming UUIDs by calls to the operating system or the run-time environment.

A UUID is a 128-bit value. In its canonical form, a UUID is represented by 32 lowercase hexadecimal digits, displayed in five groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters - 32 alphanumeric characters and four hyphens (https://en.wikipedia.org/wiki/Universally_unique_identifier).   The formal definition of the UUID string representation is provided by the following extended Backus-Naur Form:

UUID

<time_low> "-" <time_mid> "-" <time_high_and_version> "-" <clock_seq_and_reserved> <clock_seq_low> "-" <node>

time_low

4*<hexOctet>

time_mid

2*<hexOctet>

time_high_and_version

2*<hexOctet>

clock_seq_and_reserved

<hexOctet>

clock_seq_low

<hexOctet>

Node

6*<hexOctet

hexOctet

<hexDigit> <hexDigit>

hexDigit

zero | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"| "a" | "b" | "c" | "d" | "e" | "f" | "A" | "B" | "C" | "D" | "E" | "F"

The following is an example of the string representation of a UUID:

f81d4fae-7dec-11d0-a765-00a0c91e6bf6

 

Last edited Mar 11, 2016 at 2:00 AM by natewaite, version 1