-
Notifications
You must be signed in to change notification settings - Fork 171
/
distribution.json
94 lines (94 loc) · 2.86 KB
/
distribution.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
92
93
94
{
"title": "Distribution",
"description": "Distribution object, based on DCAT-US.",
"type": "object",
"required": [
"identifier",
"data"
],
"properties": {
"identifier": {
"title": "Identifier",
"type": "string"
},
"data": {
"title": "Data File",
"type": "object",
"properties": {
"@type": {
"title": "Metadata Context",
"description": "IRI for the JSON-LD data type. This should be dcat:Distribution for each Distribution.",
"default": "dcat:Distribution",
"type": "string",
"readOnly": true
},
"title": {
"title": "Title",
"description": "Human-readable name of the file.",
"type": "string",
"minLength": 1
},
"description": {
"title": "Description",
"description": "Human-readable description of the file.",
"type": "string",
"minLength": 1
},
"format": {
"title": "Format",
"description": "A human-readable description of the file format of a distribution (i.e. csv, pdf, xml, kml, etc.).",
"type": "string",
"examples": [
"arcgis",
"csv",
"esri rest",
"geojson",
"json",
"kml",
"pdf",
"tsv",
"xls",
"xlsx",
"xml",
"zip"
]
},
"mediaType": {
"title": "Media Type",
"description": "The machine-readable file format (<a href=\"https://www.iana.org/assignments/media-types/media-types.xhtml\">IANA Media Type or MIME Type</a>) of the distribution’s downloadURL.",
"type": "string"
},
"downloadURL": {
"title": "Download URL",
"description": "URL providing direct access to a downloadable file of a dataset.",
"type": "string",
"format": "uri"
},
"accessURL": {
"title": "Access URL",
"description": "URL providing indirect access to a dataset.",
"type": "string",
"format": "uri"
},
"conformsTo": {
"title": "Data Standard",
"description": "URL providing indirect access to a dataset.",
"type": "string",
"format": "uri"
},
"describedBy": {
"title": "Data Dictionary",
"description": "URL to the data dictionary for the distribution found at the downloadURL.",
"type": "string",
"format": "uri"
},
"describedByType": {
"title": "Data Dictionary Type",
"description": "The machine-readable file format (IANA Media Type or MIME Type) of the distribution’s describedBy URL.",
"pattern": "^[a-z\\/\\.\\+]+?$",
"type": "string"
}
}
}
}
}