Remove primary_key info: raise python CastError at table-schema level instead of report level

parent 9cb584ed
......@@ -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.1",
"version": "1.2.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",
......@@ -70,8 +70,8 @@
"description": "Texte libre qui permet d’identifier rapidement la commune dans laquelle l’adresse est située",
"example": "Brest",
"constraints": {
"required": true
"^[A-Za-z\\s\\-\\u00C0-\\u00FF]+$"
"required": true,
"pattern":"^[A-Za-z\\s\\-\\u00C0-\\u00FF]+$"
}
},
{
......@@ -158,6 +158,6 @@
}
],
"missingValues": ["", "99999"],
"primaryKey":"cle_interop"
"missingValues": ["", "99999"]
}
\ No newline at end of file
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