Skip to content

Commit

Permalink
fix(Imports de masse): Diagnostics : corrige les position des champs …
Browse files Browse the repository at this point in the history
…siret & nom (#4869)
  • Loading branch information
raphodn authored Jan 9, 2025
1 parent e5e0eaf commit 5cabc7c
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 25 deletions.
10 changes: 5 additions & 5 deletions data/schemas/imports/diagnostics.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"encoding": "utf-8",
"fields": [
{
"example": "Ecole Jean Jaurès",
"name": "nom",
"type": "string"
},
{
"constraints": {
"pattern": "^[0-9]{14}$",
Expand All @@ -15,6 +10,11 @@
"name": "siret",
"type": "string"
},
{
"example": "Ecole Jean Jaurès",
"name": "nom",
"type": "string"
},
{
"constraints": {
"pattern": "^([013-9]\\d|2[AB1-9])\\d{3}$",
Expand Down
10 changes: 5 additions & 5 deletions data/schemas/imports/diagnostics_admin.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"encoding": "utf-8",
"fields": [
{
"example": "Ecole Jean Jaurès",
"name": "nom",
"type": "string"
},
{
"constraints": {
"pattern": "^[0-9]{14}$",
Expand All @@ -15,6 +10,11 @@
"name": "siret",
"type": "string"
},
{
"example": "Ecole Jean Jaurès",
"name": "nom",
"type": "string"
},
{
"constraints": {
"pattern": "^([013-9]\\d|2[AB1-9])\\d{3}$",
Expand Down
10 changes: 5 additions & 5 deletions data/schemas/imports/diagnostics_cc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"encoding": "utf-8",
"fields": [
{
"example": "Ecole Jean Jaurès",
"name": "nom",
"type": "string"
},
{
"constraints": {
"pattern": "^[0-9]{14}$",
Expand All @@ -15,6 +10,11 @@
"name": "siret",
"type": "string"
},
{
"example": "Ecole Jean Jaurès",
"name": "nom",
"type": "string"
},
{
"constraints": {
"pattern": "^([013-9]\\d|2[AB1-9])\\d{3}$",
Expand Down
11 changes: 6 additions & 5 deletions data/schemas/imports/diagnostics_complets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"description": "dark_query_cantines",
"encoding": "utf-8",
"fields": [
{
"example": "Ecole Jean Jaurès",
"name": "nom",
"type": "string"
},
{
"constraints": {
"pattern": "^[0-9]{14}$",
Expand All @@ -16,6 +11,11 @@
"name": "siret",
"type": "string"
},
{
"example": "Ecole Jean Jaurès",
"name": "nom",
"type": "string"
},
{
"constraints": {
"pattern": "^([013-9]\\d|2[AB1-9])\\d{3}$",
Expand Down Expand Up @@ -793,6 +793,7 @@
],
"format": "csv",
"mediatype": "text/csv",
"name": "dark_query_cantines",
"path": "dark_query_cantines.csv",
"scheme": "file",
"type": "table"
Expand Down
11 changes: 6 additions & 5 deletions data/schemas/imports/diagnostics_complets_cc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"description": "dark_query_cantines",
"encoding": "utf-8",
"fields": [
{
"example": "Ecole Jean Jaurès",
"name": "nom",
"type": "string"
},
{
"constraints": {
"pattern": "^[0-9]{14}$",
Expand All @@ -16,6 +11,11 @@
"name": "siret",
"type": "string"
},
{
"example": "Ecole Jean Jaurès",
"name": "nom",
"type": "string"
},
{
"constraints": {
"pattern": "^([013-9]\\d|2[AB1-9])\\d{3}$",
Expand Down Expand Up @@ -800,6 +800,7 @@
],
"format": "csv",
"mediatype": "text/csv",
"name": "dark_query_cantines",
"path": "dark_query_cantines.csv",
"scheme": "file",
"type": "table"
Expand Down

0 comments on commit 5cabc7c

Please sign in to comment.