6.5 Primitive Data Types

Within this standard the following primitive data types are used:

Data Type

Definition

Example

String

A sequence of characters with a length of at least one character. This standard does not define a maximum length. Strings may not contain non-printable characters (Unicode U+0000 to U+001F).

Johannes Brahms

Boolean

A string containing either “true” or “false”

true

Integer

A sequence of digits to represent positive or negative integer numbers, or zero.

Details of the range of integers are provided in Clause 6.10.

135672

Decimal

A sequence of digits to represent positive or negative integer numbers, positive or negative decimal fractions or zero.

The character used to separate the integers from fractions is the dot (“.”, Unicode U+002E).

Thousands separators or any other digit grouping shall not be used.

Details of the precision of decimals are provided in Clause 6.10.

Note: this was referred to as "float" in previous versions.

123

123.567

-5.25

0

Date

A date in the ISO 6801 format to indicate a single year (YYYY), month (YYYY-MM) or day (YYYY-MM-DD).

2015-01-09

Duration

A duration in the ISO 6801 format (P[nY][nM][nD][T[nH][nM]nS]).

Elements including their designator may be omitted if their value is zero.

Note: the expressions “PT3M2S” (three minutes and two seconds) and “PT182S” (182 seconds) are both permitted and are equivalent.

PT3M2S

PartyID

A string in the form IdType::ID where IdType identifies the identification scheme. Examples are ISNI for an ISO 27729 International Standard Name Identifietr, IPI for a CISAC Interested Party Identifier or IPN for a SCAPR International Performer Number. The ID element then contains the identifier in the format defined by the Identificaiton scheme. Only one identifier can be communicated for each party in a PartyID field.

ISNI::0000000081266409

DDEX Party ID

A string of 18 characters in accordance with the DDEX Party ID standard.

Note: the DDEX Party ID standard defines that DDEX Party IDs do not contain dashes in computer-to-computer communications. Therefore, DDEX Party IDs, when included in a Claim Detail or Claim Detail Discrepancy Message , shall not contain dashes.

PADPIDA2014122301Q

Multiple

A sequence of 0-n strings in accordance with a defined data type separated by Secondary Delimiters.

If only one data item is to be provided, no Secondary Delimiter shall be included.

If the cardinality of such an element is "M", at least one such data item must be provided.

Cells that may contain multiple values may be related. For example one Multiple-String Cell may be for names of composers/lyricists and it may be followed by a Multiple-String Cell for identifiers of these composers/lyricists. In those cases, both Cells must contain the same number of Secondary Delimiters and there may only be 0-1 data items between the Secondary Delimiters.

"12" or "12|54|123" or "12||123" (without the quotes)