italia/daf-ontologie-vocabolari-controllati

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

Opened this issue · 7 comments

When

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

I expect

  • no error
  • id_obbligo is a string

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  ",...

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

How can we configure the validator?

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.

It's a bug in the validator.

ok so I think we can close this issue.

@ioggstream che cosa facciamo con questo issue?

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