rougail/docs/structured_data/data_integrity.rst

76 lines
1.7 KiB
ReStructuredText
Raw Normal View History

2026-06-06 08:12:07 +02:00
Data integrity
2026-06-06 12:11:48 +02:00
===============
2026-06-06 08:12:07 +02:00
Data integrity refers to the fact that data must be reliable and accurate throughout its lifecycle.
This means that the value must be:
- of high quality
- appropriate to the overall context
2026-06-10 07:58:21 +02:00
Isolated variable
-----------------
2026-06-06 08:12:07 +02:00
Data quality
2026-06-10 07:58:21 +02:00
~~~~~~~~~~~~
2026-06-06 08:12:07 +02:00
The values of the variables must be individually of good quality.
2026-06-10 07:58:21 +02:00
.. toctree::
:titlesonly:
2026-06-13 19:25:47 +02:00
2026-06-10 07:58:21 +02:00
typing
variable_validation
2026-06-06 08:12:07 +02:00
2026-06-13 21:43:41 +02:00
.. _access_control:
2026-06-10 07:58:21 +02:00
Access control
~~~~~~~~~~~~~~
2026-06-06 08:12:07 +02:00
2026-06-10 07:58:21 +02:00
.. toctree::
:titlesonly:
2026-06-13 19:25:47 +02:00
2026-06-10 07:58:21 +02:00
mode
variable_properties
2026-06-08 18:48:12 +02:00
.. _overall_coherence:
2026-06-06 08:12:07 +02:00
Overall coherence
2026-06-06 12:11:48 +02:00
-----------------
2026-06-06 08:12:07 +02:00
2026-06-13 19:25:47 +02:00
.. glossary::
conherence
An isolated variable can be considered to be of quality
but become inconsistent depending on the context.
Overall coherence is initially managed by personalized validators
which will validate the value of a variable in relation to others.
But it also depends on the availability of the variable depending on the context.
2026-06-08 18:48:12 +02:00
2026-06-06 12:11:48 +02:00
Consistency
~~~~~~~~~~~
2026-06-06 08:12:07 +02:00
.. glossary::
consistency
2026-06-13 19:25:47 +02:00
Consistency corresponds to what current market tools offer;
first it is a typed base validation, and then it is a schema-based validation.
2026-06-13 19:25:47 +02:00
For example, if a minimum value and then a maximum value are requested,
the minimum must be lesser than the maximum.
2026-06-10 07:58:21 +02:00
Context access control
~~~~~~~~~~~~~~~~~~~~~~
2026-06-06 08:12:07 +02:00
2026-06-08 18:48:12 +02:00
Access control occurs as soon as an attempt is made to access a variable.
2026-06-06 08:12:07 +02:00
2026-06-08 18:48:12 +02:00
Remember, we talked about the :ref:`hidden variable <hidden>` and :ref:`disabled variable <disabled>` variables.
2026-06-06 08:12:07 +02:00
These properties become fully meaningful when managing overall consistency.
Why ask for the domain name of a service if we haven't activated that service just before?