-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve(Imports de masse): Rendre le header obligatoire pour les acha…
…ts (#4794)
- Loading branch information
Showing
18 changed files
with
166 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
canteen siret,description,fournisseur,date,prix HT,famille,caractéristiques,definition de local | ||
siret,description,fournisseur,date,prix_ht,famille_produits,caracteristiques,definition_local | ||
82399356058716,"Pommes, rouges",Le bon traiteur ,2022-05-02,"90,11", PRODUITS_LAITIERS ,"BIO, LOCAL", DEPARTMENT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
"cantine SIRET,""description"",""fournisseur"",""date"",""prix HT"",""famille"",""caractéristiques"",""definition de local""" | ||
"siret,""description"",""fournisseur"",""date"",""prix_ht"",""famille_produits"",""caracteristiques"",""definition_local""" | ||
"82399356058716,""weird formatting"",""Le bon traiteur"",""2022-05-02"",""90.11"",""PRODUITS_LAITIERS"",""LOCAL"",""REGION""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
canteen siret,description,fournisseur,date,prix HT,famille,caractéristiques,definition de local | ||
siret,description,fournisseur,date,prix_ht,famille_produits,caracteristiques,definition_local | ||
82399356058716,"Pommes, rouges",Le bon traiteur ,2022-05-02,90.11, PRODUITS_LAITIERS ,"BIO, LOCAL", DEPARTMENT | ||
82399356058716,"Pommes, vertes",Le bon traiteur ,2022-05-03,910.11, PRODUITS_LAITIERS ,"BIO, LOCAL", DEPARTMENT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
canteen siret,description,fournisseur,date,prix HT,famille,caractéristiques | ||
siret,description,fournisseur,date,prix_ht,famille_produits,caracteristiques,definition_local | ||
82399356058716,"Pommes, rouges",Le bon traiteur ,2022-05-02,90.11, PRODUITS_LAITIERS ,"BIO" | ||
82399356058716,"Pommes, vertes",Le bon traiteur ,2022-05-03,910.11, PRODUITS_LAITIERS ,"BIO" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
82399356058716,"Pommes, rouges",Le bon traiteur ,2022-05-02,90.11, PRODUITS_LAITIERS ,"BIO, LOCAL", DEPARTMENT | ||
82399356058716,"Pommes, vertes",Le bon traiteur ,2022-05-03,910.11, PRODUITS_LAITIERS ,"BIO, LOCAL", DEPARTMENT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
canteen siret,description,fournisseur,date,prix HT,famille,caracteristiques,definition de local | ||
siret,description,fournisseur,date,prix_ht,famille_produits,caracteristiques,definition_local | ||
82399356058716,deuxi�me pomme,Le bon traiteur ,2022-05-02,90.11, PRODUITS_LAITIERS ,"BIO, LOCAL", DEPARTMENT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
canteen siret; description;fournisseur; date; prix HT;famille; caractéristiques; definition de local | ||
siret;description;fournisseur;date;prix_ht;famille_produits;caracteristiques;definition_local | ||
82399356058716;"Pommes vertes"; Le bon traiteur;2022-05-02; 90.11; PRODUITS_LAITIERS;"BIO, LOCAL"; DEPARTMENT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
canteen siret description fournisseur date prix HT famille caractéristiques definition de local | ||
82399356058716 Pommes vertes Le bon traiteur 2022-05-02 90.11 PRODUITS_LAITIERS BIO, LOCAL DEPARTMENT | ||
siret description fournisseur date prix_ht famille_produits caracteristiques definition_local | ||
82399356058716 Pommes vertes Le bon traiteur 2022-05-02 90.11 PRODUITS_LAITIERS BIO, LOCAL DEPARTMENT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
canteen siret,description,fournisseur,date,prix HT,famille,caractéristiques,definition de local | ||
siret,description,fournisseur,date,prix_ht,famille_produits,caracteristiques,definition_local | ||
82399356058716,"Pommes, rouges",Le bon traiteur ,2022-05-02,90.11000000002, PRODUITS_LAITIERS ,"BIO, LOCAL", DEPARTMENT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
{ | ||
"encoding": "utf-8", | ||
"fields": [ | ||
{ | ||
"constraints": { | ||
"required": true | ||
}, | ||
"description": "Le SIRET de la cantine ayant réalisé l'achat", | ||
"name": "siret", | ||
"pattern": "^[0-9]{14}$", | ||
"type": "string" | ||
}, | ||
{ | ||
"constraints": { | ||
"required": true | ||
}, | ||
"description": "Une description de l'achat", | ||
"name": "description", | ||
"type": "string" | ||
}, | ||
{ | ||
"constraints": { | ||
"required": true | ||
}, | ||
"description": "Le nom du fournisseur", | ||
"name": "fournisseur", | ||
"type": "string" | ||
}, | ||
{ | ||
"constraints": { | ||
"required": true | ||
}, | ||
"description": "La date de l'achat", | ||
"format": "%Y-%m-%d", | ||
"name": "date", | ||
"type": "date" | ||
}, | ||
{ | ||
"constraints": { | ||
"required": true | ||
}, | ||
"description": "Le prix HT de l'achat", | ||
"name": "prix_ht", | ||
"type": "number" | ||
}, | ||
{ | ||
"constraints": { | ||
"required": true | ||
}, | ||
"description": "La famille de produits de l'achat", | ||
"enum": [ | ||
"VIANDES_VOLAILLES", | ||
"CHARCUTERIE", | ||
"PRODUITS_DE_LA_MER", | ||
"FRUITS_ET_LEGUMES", | ||
"PRODUITS_LAITIERS", | ||
"BOULANGERIE", | ||
"BOISSONS", | ||
"AUTRES" | ||
], | ||
"name": "famille_produits", | ||
"type": "string" | ||
}, | ||
{ | ||
"constraints": { | ||
"pattern": "(?:(?:^|;)(BIO|LABEL_ROUGE|AOCAOP|IGP|STG|HVE|PECHE_DURABLE|RUP|COMMERCE_EQUITABLE|FERMIER|EXTERNALITES|PERFORMANCE|FRANCE|SHORT_DISTRIBUTION|LOCAL))+$", | ||
"required": false | ||
}, | ||
"description": "Les caractéristiques de l'achat", | ||
"name": "caracteristiques", | ||
"type": "string" | ||
}, | ||
{ | ||
"constraints": { | ||
"required": true | ||
}, | ||
"description": "La définition de local si l'achat a la caractéristique de LOCAL", | ||
"enum": [ | ||
"AUTOUR_SERVICE", | ||
"DEPARTMENT", | ||
"REGION", | ||
"AUTRE" | ||
], | ||
"name": "definition_local", | ||
"type": "string" | ||
} | ||
], | ||
"format": "csv", | ||
"mediatype": "text/csv", | ||
"scheme": "file", | ||
"title": "Schéma import des achats", | ||
"type": "table" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
canteen siret,description,fournisseur,date,prix HT,famille,caractéristiques,definition de local | ||
siret,description,fournisseur,date,prix_ht,famille_produits,caracteristiques,definition_local | ||
82399356058716,"Pommes, rouges",Le bon traiteur,2022-05-02,90.11,AUTRES,"BIO,LOCAL",DEPARTMENT |
Binary file not shown.
Binary file not shown.