italia / daf-ontologie-vocabolari-controllati

Elenco di ontologie e vocabolari controllati. Per maggiori informazioni, si veda il readme principale e quello di singoli vocabolari/ontologie, ove presente, e la seguente documentazione
https://github.com/italia/daf-ontologie-vocabolari-controllati/wiki
Creative Commons Attribution 4.0 International
80 stars 52 forks source link

[error in the validator] False positive issue in transparency-obligation.csv #173

Open ioggstream opened 2 years ago

ioggstream commented 2 years ago

When

Validating VocabolariControllati/classifications-for-transparency/transparency-obligation/transparency-obligation.csv

I expect

instead

frictionless interprets it as an integer

# -------
622      1  type-error  Type error in the cell "A" in row "622" and field "id_obbligo" at position "1": type is "integer/default"

id_obbligo,id_sotto_obbligo,id_transparency_titulus,...
"020102","C","0201","1","Obbligo di pubblicazione concernente i titolari di incarichi politici"
"A",,"0201","3","Obbligo di pubblicazione di informazioni generali per titolari di incarico  ",...
ioggstream commented 2 years ago

This can be a false positive, since id_sotto_obbligo can be either null or a string.

How can we configure the validator?

giorgialodi commented 2 years ago

the identifier is a string, yes. Not an integer. Which validator? Probably I am missing here some point. I know you are doing some automatic checks but I think we need to pay attention in some cases.

ioggstream commented 2 years ago

It's a bug in the validator.

giorgialodi commented 2 years ago

ok so I think we can close this issue.

ioggstream commented 2 years ago

I Need to move it to another repo. I'll close once I open it there ;)

Il dom 23 gen 2022, 18:28 giorgialodi @.***> ha scritto:

ok so I think we can close this issue.

— Reply to this email directly, view it on GitHub https://github.com/italia/daf-ontologie-vocabolari-controllati/issues/173#issuecomment-1019530401, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIWQ3HUIF2Q34XCFU6V7VTUXQ3CJANCNFSM5MQDIPZA . You are receiving this because you authored the thread.Message ID: @.*** com>

giorgialodi commented 8 months ago

@ioggstream che cosa facciamo con questo issue?

ioggstream commented 8 months ago

Va spostato sul sito del validatore teamdigitale/json-playground credo. Non ho i permessi. Cc @mfortini