AXON data model

Data model of AXON includes several types of objects:

  • dictionary and ordered dictionary
  • list and tuple
  • node

Each kind of objects corresponds to specific way of composition of values.

AXON message is a collection of data items.

Data item is atomic value, complex value or reference to the complex value.

Atomic value is integer values, float value, decimal value, date/time/datetime value, boolean value or constant.

Complex value is named complex value or anonimous complex value.

Anonimous complex value is dictionary, list or tuple.

Named complex value is node.

Anonimous values

Dictionary

Dictionary is a unordered collection of key:data item pairs, where key is an unicode string, enclosed in double quotes or identifier name. Members of the dictionary are accesses by keys.

Ordered dictionary

Ordered Dictionary is a ordered collection of key:data item pairs, where key is an unicode string, enclosed in double quotes or identifier name. Members of the ordered dictionary are accesses by keys.

List

List is a oredered (usually mutable) collection of data items. Members of the list are accessed by integer index.

Tuple

Tuple is fixed ordered collection of data items. Members of the tuple are accessed by integer index.

Named complex value

Node

Node is a mapping with a nested/child list of values.


In [ ]: