Pattern constraint: filter unicode for lowercase accentuated letter

parent 75a1b13a
......@@ -2,7 +2,7 @@
"$schema": "https://frictionlessdata.io/schemas/table-schema.json",
"title": "Schéma SCDL Base d'Adresse Locale",
"author": "OpenDataFrance",
"version": "1.1.0",
"version": "1.1.1",
"created": "2018-05-30",
"description": "Schéma validant le format relatif à la Base d'Adresses Locales (BAL) du SCDL (Socle Commun des Données Locales).",
"uri": "https://git.opendatafrance.net/scdl/bal/blob/master/schema.json",
......@@ -60,7 +60,7 @@
"description": "Indice de répétition et/ou complément d'adresse (nom d’entrée d’immeuble) normalisé en minuscules sans espace",
"example": "ter",
"constraints": {
"pattern": "^[a-zA-Z\\d\\s\\u00C0-\\u00FF]+$"
"pattern": "^[a-z\\d\\u00DF-\\u00FF]+$"
}
},
{
......@@ -71,6 +71,7 @@
"example": "Brest",
"constraints": {
"required": true
"^[A-Za-z\\s\\-\\u00C0-\\u00FF]+$"
}
},
{
......@@ -141,7 +142,7 @@
"example":"Rennes Métropole",
"constraints": {
"required": true,
"pattern": "[a-zA-Z0-9\\d\\s\\u00C0-\\u00FF]+"
"pattern": "[a-zA-Z0-9\\-\\d\\s\\u00C0-\\u00FF]+"
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment