Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

EntityML contains the following tags: (additional syntax is described in Rendering Pipeline which is not yet included here, TBD)

Tag

Description

Can Be Nested Within

<entity type=”type.id”

 name=”entity.name”>

  <attribute>…..</attribute>

  <entity>…..</entity>

  <presentationML>

    default representation

  </presentationML>

</entity>

An Entity describes some type of complex object which is referenced from within a message. All Entity elements MUST include a type XML-attribute which defines the format and semantics of the Entity.

All Entity elements MAY contain child Entity and Attribute elements which are considered to make up the Entity by composition.

All Entity elements MAY contain a presentationML element which contains a default representation of the Entity in PresentationML mark up.

Entity elements which are not children of another entity element MUST contain a presentationML element.

<messageML>

<p><b><i><td><th><li>

<entity>

<attribute type=”type.id”

  name=”attribute.name”

  priority=”preference”

  value=”value.string”

/>

An Attribute describes an attribute of a complex object. All Attribute elements MUST include a type XML-attribute which defines the format and semantics of the Attribute.

All Attribute elements MUST contain a value XML-attribute which defines the value of the Attribute.

Where there are multiple Attributes within an Entity with the same name a priority XML-attribute MUST be present, indicating which value is preferred.

<entity>

...

Type ID

Description

org.symphonyoss.number.byte

An 8 bit unsigned integer, having the semantics of a Java byte, represented as a string of decimal digits.

org.symphonyoss.number.short

A 16 bit signed integer, having the semantics of a Java short, represented as a string of decimal digits.

org.symphonyoss.number.int

A 32 bit signed integer, having the semantics of a Java int, represented as a string of decimal digits.

org.symphonyoss.number.long

A 64 bit signed integer, having the semantics of a Java long, represented as a string of decimal digits.

org.symphonyoss.number.double

A 64 bit signed floating point number, having the semantics of a Java double, represented as a string of decimal digits optionally with a single decimal point.

org.symphonyoss.type.string

A string value.

org.symphonyoss.time.millis

A date/time value specified as a 64 bit integer value, represented as a string of decimal digits, indicating a time in milliseconds since Jan 1st 1970 UTC with the semantics of a Java Date.

org.symphonyoss.type.countryAn ISO 3166-1 Alpha 2 Country code (see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)

org.symphonyoss.fin.security.id.isin

An International Securities Identification Number (see https://en.wikipedia.org/wiki/International_Securities_Identification_Number)

org.symphonyoss.fin.security.id.cusip

A CUSIP (see https://en.wikipedia.org/wiki/CUSIP)

org.symphonyoss.fin.security.id.openfigi

An OpenFIGI identifier (see https://en.wikipedia.org/wiki/Financial_Instrument_Global_Identifier)

org.symphonyoss.fin.exchange.id.mic

A Market Identifier Code (see http://www.iso15022.org/MIC/homepageMIC.htm)

org.symphonyoss.fin.exchange.id.ticker

An exchange identifier

org.symphonyoss.fin.ccy

A 3 letter currency identifier as defined in ISO 4217 (see https://en.wikipedia.org/wiki/ISO_4217)

org.symphonyoss.fin.ccypair

A 6 letter currency pair identifier as defined in TBD

...