Skip to content

Commit

Permalink
switch: boolean to true/false from yes/no. Fixes: #8 (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
libremente committed Apr 4, 2019
1 parent 8236dd1 commit 984a15c
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion docs/en/country.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If a software is compliant I will find:
it:
countryExtensionVersion: "0.2"
piattaforme:
- spid: yes
- spid: true
Notice that country-specific extensions within international sections
are not allowed. Countries that want to extend the format should add a
Expand Down
2 changes: 1 addition & 1 deletion docs/en/example/publiccode.minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ maintenance:
- name: Francesco Rossi

localisation:
localisationReady: yes
localisationReady: true
availableLanguages:
- en
24 changes: 12 additions & 12 deletions docs/en/example/publiccode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ maintenance:
phone: +39 231 13215112

localisation:
localisationReady: yes
localisationReady: true
availableLanguages:
- en
- it
Expand All @@ -107,32 +107,32 @@ dependsOn:
- name: MySQL
versionMin: "1.1"
versionMax: "1.3"
optional: yes
optional: true
- name: PostgreSQL
version: "3.2"
optional: yes
optional: true
proprietary:
- name: Oracle
versionMin: "11.4"
- name: IBM SoftLayer
hardware:
- name: NFC Reader
optional: yes
optional: true

it:
countryExtensionVersion: "0.2"

conforme:
lineeGuidaDesign: yes
modelloInteroperabilita: yes
misureMinimeSicurezza: yes
gdpr: yes
lineeGuidaDesign: true
modelloInteroperabilita: true
misureMinimeSicurezza: true
gdpr: true

piattaforme:
spid: yes
cie: yes
anpr: yes
pagopa: yes
spid: true
cie: true
anpr: true
pagopa: true

riuso:
codiceIPA: c_h501
4 changes: 2 additions & 2 deletions docs/en/schema.core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ Key ``localisation/localisationReady``
- Type: boolean
- Presence: mandatory

If ``yes``, the software has infrastructure in place or is otherwise
If ``true``, the software has infrastructure in place or is otherwise
designed to be multilingual. It does not need to be available in more
than one language.

Expand Down Expand Up @@ -738,7 +738,7 @@ compatibility matrix.
- name: PostgreSQL
version: "3.2"
optional: yes
optional: true
This snippet marks an optional dependency on PostgreSQL exactly version
3.2.
Expand Down
16 changes: 8 additions & 8 deletions docs/en/schema.it.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Key ``conforme/lineeGuidaDesign``
- Type: boolean
- Presence: optional

If present and set to ``yes``, the software is compliant with the Italian accessibility
If present and set to ``true``, the software is compliant with the Italian accessibility
laws (L. 4/2004), as further explained in the
`linee guida di
design <https://docs.italia.it/italia/designers-italia/design-linee-guida-docs>`__ (Italian language).
Expand All @@ -49,7 +49,7 @@ Key ``conforme/modelloInteroperatibilita``
- Type: boolean
- Presence: optional

If present and set to ``yes``, the software is compliant with the `linee
If present and set to ``true``, the software is compliant with the `linee
guida
sull’interoperabilità <https://docs.italia.it/italia/piano-triennale-ict/lg-modellointeroperabilita-docs>`__.

Expand All @@ -63,7 +63,7 @@ Key ``conforme/misureMinimeSicurezza``
- Type: boolean
- Presence: optional

If present and set to ``yes``, the software is compliant with the `Misure
If present and set to ``true``, the software is compliant with the `Misure
minime di sicurezza ICT per le Pubbliche
amministrazioni <http://www.agid.gov.it/sites/default/files/documentazione/misure_minime_di_sicurezza_v.1.0.pdf>`__ (Italian language).

Expand All @@ -74,7 +74,7 @@ Key ``conforme/gdpr``
- Type: boolean
- Presence: optional

If present and set to ``yes``, the software respects the GDPR.
If present and set to ``true``, the software respects the GDPR.


Section ``piattaforme``
Expand All @@ -87,7 +87,7 @@ Key ``piattaforme/spid``
- Presence: optional


If present and set to ``yes``, the software interfaces with `SPID
If present and set to ``true``, the software interfaces with `SPID
- il Sistema Pubblico di Identità
Digitale <https://developers.italia.it/it/spid>`__.

Expand All @@ -97,7 +97,7 @@ Key ``piattaforme/cie``
- Type: boolean
- Presence: optional

If present and set to ``yes``, the software interfaces with the Italian
If present and set to ``true``, the software interfaces with the Italian
electronic ID card (``Carta di Identità Elettronica``).

Key ``piattaforme/anpr``
Expand All @@ -106,15 +106,15 @@ Key ``piattaforme/anpr``
- Type: boolean
- Presence: optional

If present and set to ``yes``, the software interfaces with ANPR.
If present and set to ``true``, the software interfaces with ANPR.

Key ``piattafome/pagopa``
'''''''''''''''''''''''''

- Type: boolean
- Presence: optional

If present and set to ``yes``, the software interfaces with pagoPA.
If present and set to ``true``, the software interfaces with pagoPA.

Section ``riuso``
~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion docs/it/country.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Dunque, se un software è compatibile, troveremo:
it:
countryExtensionVersion: "0.2"
piattaforme:
- spid: yes
- spid: true
Nota bene che le chiavi *country-specific* **non** sono valide
all’interno delle sezioni internazionali. I Paesi che vogliano estendere
Expand Down
2 changes: 1 addition & 1 deletion docs/it/example/publiccode.minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ maintenance:
- name: Francesco Rossi

localisation:
localisationReady: yes
localisationReady: true
availableLanguages:
- en
24 changes: 12 additions & 12 deletions docs/it/example/publiccode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ maintenance:
phone: +39 231 13215112

localisation:
localisationReady: yes
localisationReady: true
availableLanguages:
- en
- it
Expand All @@ -107,32 +107,32 @@ dependsOn:
- name: MySQL
versionMin: "1.1"
versionMax: "1.3"
optional: yes
optional: true
- name: PostgreSQL
version: "3.2"
optional: yes
optional: true
proprietary:
- name: Oracle
versionMin: "11.4"
- name: IBM SoftLayer
hardware:
- name: NFC Reader
optional: yes
optional: true

it:
countryExtensionVersion: "0.2"

conforme:
lineeGuidaDesign: yes
modelloInteroperabilita: yes
misureMinimeSicurezza: yes
gdpr: yes
lineeGuidaDesign: true
modelloInteroperabilita: true
misureMinimeSicurezza: true
gdpr: true

piattaforme:
spid: yes
cie: yes
anpr: yes
pagopa: yes
spid: true
cie: true
anpr: true
pagopa: true

riuso:
codiceIPA: c_h501
4 changes: 2 additions & 2 deletions docs/it/schema.core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ Chiave ``localisation/localisationReady``
- Tipo: booleano
- Presenza: obbligatoria

Se ``yes``, il software ha l’infrastruttura o è stato progettato per
Se ``true``, il software ha l’infrastruttura o è stato progettato per
essere multi-lingua. Ad ogni modo, questo campo non pregiudica
l’esistenza di una traduzione in altre lingue ma si riferisce
esclusivamente all’aspetto tecnologico. Per l’elenco delle lingue
Expand Down Expand Up @@ -781,7 +781,7 @@ matrice di compatibilità complessa.
- name: PostgreSQL
version: "3.2"
opzionale: yes
opzionale: true
Questo snippet segnala una dipendenza opzionale verso PostgreSQL,
nell’esattezza la sua versione 3.2.
Expand Down
16 changes: 8 additions & 8 deletions docs/it/schema.it.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Chiave ``conforme/lineeGuidaDesign``
- Tipo: booleano
- Presenza: opzionale

Se presente e impostato a ``yes``, il software è conforme alle leggi in
Se presente e impostato a ``true``, il software è conforme alle leggi in
materia di accessibilità (L. 4/2004), come descritto ulteriormente nelle
`linee guida di
design <https://docs.italia.it/italia/designers-italia/design-linee-guida-docs>`__.
Expand All @@ -49,7 +49,7 @@ Chiave ``conforme/modelloInteroperabilita``
- Tipo: booleano
- Presenza: opzionale

Se presente e impostato a ``yes``, il software è conforme alle `linee
Se presente e impostato a ``true``, il software è conforme alle `linee
guida
sull’interoperabilità <https://docs.italia.it/italia/piano-triennale-ict/lg-modellointeroperabilita-docs>`__.

Expand All @@ -62,7 +62,7 @@ Chiave ``conforme/misureMinimeSicurezza``
- Tipo: booleano
- Presenza: opzionale

Se presente e impostato a ``yes``, il software è conforme alle `Misure
Se presente e impostato a ``true``, il software è conforme alle `Misure
minime di sicurezza ICT per le Pubbliche
amministrazioni <http://www.agid.gov.it/sites/default/files/documentazione/misure_minime_di_sicurezza_v.1.0.pdf>`__.

Expand All @@ -72,7 +72,7 @@ Chiave ``conforme/gdpr``
- Tipo: booleano
- Presenza: opzionale

Se presente e impostato a ``yes``, il software rispetta il GDPR.
Se presente e impostato a ``true``, il software rispetta il GDPR.

Sezione ``piattaforme``
~~~~~~~~~~~~~~~~~~~~~~~
Expand All @@ -83,7 +83,7 @@ Chiave ``piattaforme/spid``
- Tipo: booleano
- Presenza: opzionale

Se presente e impostato a ``yes``, il software si interfaccia con `SPID
Se presente e impostato a ``true``, il software si interfaccia con `SPID
- il Sistema Pubblico di Identità
Digitale <https://developers.italia.it/it/spid>`__.

Expand All @@ -93,7 +93,7 @@ Chiave ``piattaforme/cie``
- Tipo: booleano
- Presenza: opzionale

Se presente e impostato a ``yes``, il software si interfaccia con la
Se presente e impostato a ``true``, il software si interfaccia con la
Carta di Identità Elettronica.

Chiave ``piattaforme/anpr``
Expand All @@ -102,15 +102,15 @@ Chiave ``piattaforme/anpr``
- Tipo: booleano
- Presenza: opzionale

Se presente e impostato a ``yes``, il software si interfaccia con ANPR.
Se presente e impostato a ``true``, il software si interfaccia con ANPR.

Chiave ``piattaforme/pagopa``
'''''''''''''''''''''''''''''

- Tipo: booleano
- Presenza: opzionale

Se presente e impostato a ``yes``, il software si interfaccia con
Se presente e impostato a ``true``, il software si interfaccia con
pagoPA.

Sezione ``riuso``
Expand Down

0 comments on commit 984a15c

Please sign in to comment.