rougail/docs/structured_data/data_integrity.rst

69 lines
1.6 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:
typing
variable_validation
2026-06-06 08:12:07 +02:00
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:
mode
variable_properties
2026-06-08 18:48:12 +02:00
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-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
Consistency corresponds to what current market tools offer;
first it is a typed base validation, and then it is a schema-based validation.
For example, if a minimum value and then a maximum value are requested,
the minimum must be lesser than the maximum.
conherence
2026-06-06 08:12:07 +02:00
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.
2026-06-06 08:12:07 +02:00
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?