Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions docs/fr/schema.it.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ Italy
-----

All the extensions listed below are specific for Italy and, as such, they must
be inserted in a section named with the ``it`` code. Every Country is specified
using a two letters lowercase (*deprecated*) or uppercase *country code* following
the ISO 3166-1 alpha-2 standard.

be inserted in a section named with the ``it`` code.

Key ``countryExtensionVersion``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
36 changes: 9 additions & 27 deletions docs/it/country.rst
Original file line number Diff line number Diff line change
@@ -1,34 +1,16 @@
.. _`estensioni-paese`:

Estensioni nazionali
====================
Sezioni specifiche per Paese
============================

Mentre lo standard è strutturato per essere significativo a livello
internazionale, vi sono informazioni addizionali che possono essere
aggiunte a livello nazionale, come ad esempio una dichiarazione di
compatibilità con una legge locale. Il meccanismo di estensione fornito
prevede l’utilizzo di sezioni specifiche per ogni Paese
(*country-specific*).
Le sezioni specifiche per paese permettono di includere informazioni rilevanti
solo per un determinato Paese, come la conformità a regolamenti nazionali o
l'integrazione con piattaforme nazionali.

Tutte le sezioni specifiche per ogni Paese sono contenute in una sezione
denominata con l’\ `ISO 3166-1 alpha-2 country
code <https://it.wikipedia.org/wiki/ISO_3166-1_alpha-2>`__ in minuscolo (*deprecato*) o
in maiuscolo.
Ad esempio, ``spid`` è una proprietà definita per i software italiani per la
dichiarazione dell’eventuale compatibilità con il Sistema Pubblico di
Identità Digitale.
Ogni sezione è identificata con l'\ `ISO 3166-1 alpha-2 country code
<https://it.wikipedia.org/wiki/ISO_3166-1_alpha-2>`__ del Paese in minuscolo
(*deprecato*) o in maiuscolo.

Dunque, se un software è compatibile, troveremo:

.. code:: yaml

it:
countryExtensionVersion: "0.2"
piattaforme:
- spid: yes

Nota bene che le chiavi *country-specific* **non** sono valide
all’interno delle sezioni internazionali. I Paesi che vogliano estendere
il formato devono aggiungere una sezione dedicata.
Attualmente, l'unica sezione specifica per Paese definita è quella italiana (it:).

.. include:: schema.it.rst
4 changes: 1 addition & 3 deletions docs/it/schema.it.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ Italia

Tutte le chiavi elencate qui di seguito sono specifiche per l'Italia e, di
conseguenza, devono essere inserite in una sezione denominata con il codice
``it``. Tutti i Paesi sono specificati usando *country code* a due lettere
in minuscolo (*deprecato*) o in maiuscolo, seguendo lo standard ISO 3166-1 alpha-2.

``it``.

Chiave ``countryExtensionVersion``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
29 changes: 7 additions & 22 deletions docs/standard/country.rst
Original file line number Diff line number Diff line change
@@ -1,31 +1,16 @@
.. _`country-section`:

Country-Specific Sections
Country-specific sections
=========================

While the standard is structured to be meaningful on an international
level, there are additional information that can be added that makes
sense in specific countries, such as declaring compliance with local
laws or regulations. The provided extension mechanism is the usage of
country-specific sections.
Country-specific sections allow including information relevant only within a
given country, such as compliance with national regulations or integration with
national platforms.

All country-specific sections live under a key named after two-letter
Each section is identified by a two-letter ISO 3166-1 alpha-2 country code
lowercase (*deprecated*) or uppercase `ISO 3166-1 alpha-2 country
codes <https://it.wikipedia.org/wiki/ISO_3166-1_alpha-2>`__. For instance
``spid`` is a property for Italian software declaring whether the
software is integrated with the Italian Public Identification System.
codes <https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2>`__.

If a software is compliant I will find:

.. code:: yaml

it:
countryExtensionVersion: "1.0"
piattaforme:
- spid: true

Notice that country-specific keys within international sections
are not allowed. Countries that want to extend the format should add a
country-specific section instead.
Currently, the only defined country-specific section is the Italian one (``it:``).

.. include:: schema.it.rst
4 changes: 1 addition & 3 deletions docs/standard/schema.it.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ Italy
-----

All the keys listed below are specific for Italy and, as such, they must
be inserted in a section named with the ``it`` code. Every Country is specified
using a two letters lowercase (*deprecated*) or uppercase *country code* following
the ISO 3166-1 alpha-2 standard.
be inserted in a section named with the ``it`` code.


Key ``countryExtensionVersion``
Expand Down