-
Notifications
You must be signed in to change notification settings - Fork 9
/
schema.json
91 lines (91 loc) · 2.6 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"$schema":"https://specs.frictionlessdata.io/schemas/table-schema.json",
"name":"objets-importants",
"title":"Schéma des objets importants",
"description":"Spécification du fichier d'échange relatif aux objets importants gérés par les collectivités.",
"keywords":[
"objets",
"autre-tag"
],
"countryCode":"FR",
"homepage":"https://github.com/mon-orga/schema-objets-importants",
"path":"https://github.com/mon-orga/schema-objets-importants/raw/v0.1.0/schema.json",
"image":"https://github.com/mon-orga/schema-objets-importants/raw/v0.1.0/irve.png",
"licenses":[
{
"title":"Etalab Licence Ouverte 2.0",
"name":"etalab-2.0",
"path":"https://spdx.org/licenses/etalab-2.0.html"
}
],
"resources":[
{
"title":"Fichier valide (CSV)",
"name":"exemple-valide-csv",
"path":"https://github.com/mon-orga/schema-objets-importants/raw/v0.1.0/exemple-valide.csv"
}
],
"sources":[
{
"title":"Arrêté du 12 janvier 2017 relatif aux objets importants",
"path":"https://beta.legifrance.gouv.fr/codes/id/LEGISCTA000031367685/2020-05-25"
}
],
"created":"2018-06-29",
"lastModified":"2019-05-06",
"version":"v0.1.0",
"contributors":[
{
"title":"John Smith",
"email":"[email protected]",
"organisation":"Etalab",
"role":"author"
},
{
"title":"Jane Doe",
"email":"[email protected]",
"organisation":"Association très importante",
"role":"contributor"
}
],
"fields":[
{
"name":"id",
"description":"Un identifiant unique de l'objet.",
"example":42,
"type":"integer",
"constraints":{
"required":true,
"minimum":1
}
},
{
"name":"date_creation",
"description":"La date de création de l'objet, au format ISO 8601 AAAA-MM-DD.",
"example":"2020-02-27",
"type":"date",
"constraints":{
"required":true
}
},
{
"name":"nom",
"description":"Le nom de l'objet.",
"example":"Brouette",
"type":"string",
"constraints":{
"required":true
}
},
{
"name":"classification",
"description":"Classification de l'objet.",
"example":"Classification A",
"type":"string",
"constraints": {
"enum": ["Classification A", "Classification B", "Classification C"]
}
}
],
"primaryKey":"id"
}