6. Indices

6.1. Glossary

data-tree

The container of data consumed and produced by a :term`model`, which may contain also the model. Its values are accessed using path s. It is implemented by pandalone.pandata.Pandel as a mergeable stack of JSON-schema abiding trees of strings and numbers, formed with:

  • sequences,
  • dictionaries,
  • pandas instances, and
  • URI-references.
value-tree
That part of the data-tree that relates only to the I/O data processed.
model
A collection of component s and accompanying mappings.
component
Encapsulates a data-transformation function, using path to refer to its inputs/outputs within the value-tree.
path
A /file/like string functioning as the id of data-values in the data-tree. It is composed of step, and it follows the syntax of the JSON-pointer.
step
pstep
path-step
The parts between between two conjecutive slashes(/) within a path. The Pstep facilitates their manipulation.
pmod
pmods
pmods-hierarchy
mapping
mappings

Specifies a transformation of an “origin” path to a “destination” one (also called as “from” and “to” paths). The mapping always transforms the final path-step, and it can either rename or relocate that step, like that:

ORIGIN          DESTINATION   RESULT_PATH
------          -----------   -----------
/rename/path    foo       --> /rename/foo        ## renaming
/relocate/path  foo/bar   --> /relocate/foo/bar  ## relocation
/root           a/b/c     --> /a/b/c             ## Relocates all /root sub-paths.

The hierarchy is formed by Pmod instances, which are build when parsing the mappings list, above.

JSON-schema
The JSON schema is an IETF draft that provides a contract for what JSON-data is required for a given application and how to interact with it. JSON Schema is intended to define validation, documentation, hyperlink navigation, and interaction control of JSON data. You can learn more about it from this excellent guide, and experiment with this on-line validator.
JSON-pointer
JSON Pointer(RFC 6901) defines a string syntax for identifying a specific value within a JavaScript Object Notation (JSON) document. It aims to serve the same purpose as XPath from the XML world, but it is much simpler.

6.1.1. Index