Open Data Catalog v2.0.0
distribution.json
Go to the documentation of this file.
1 {
2  "title": "Distribution",
3  "description": "Distribution object, based on DCAT-US.",
4  "type": "object",
5  "required": [
6  "identifier",
7  "data"
8  ],
9  "properties": {
10  "identifier": {
11  "title": "Identifier",
12  "type": "string"
13  },
14  "data": {
15  "title": "Data File",
16  "type": "object",
17  "properties": {
18  "@type": {
19  "title": "Metadata Context",
20  "description": "IRI for the JSON-LD data type. This should be dcat:Distribution for each Distribution.",
21  "default": "dcat:Distribution",
22  "type": "string",
23  "readOnly": true
24  },
25  "title": {
26  "title": "Title",
27  "description": "Human-readable name of the file.",
28  "type": "string",
29  "minLength": 1
30  },
31  "description": {
32  "title": "Description",
33  "description": "Human-readable description of the file.",
34  "type": "string",
35  "minLength": 1
36  },
37  "format": {
38  "title": "Format",
39  "description": "A human-readable description of the file format of a distribution (i.e. csv, pdf, xml, kml, etc.).",
40  "type": "string",
41  "examples": [
42  "arcgis",
43  "csv",
44  "esri rest",
45  "geojson",
46  "json",
47  "kml",
48  "pdf",
49  "tsv",
50  "xls",
51  "xlsx",
52  "xml",
53  "zip"
54  ]
55  },
56  "mediaType": {
57  "title": "Media Type",
58  "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.",
59  "type": "string"
60  },
61  "downloadURL": {
62  "title": "Download URL",
63  "description": "URL providing direct access to a downloadable file of a dataset.",
64  "type": "string",
65  "format": "uri"
66  },
67  "accessURL": {
68  "title": "Access URL",
69  "description": "URL providing indirect access to a dataset.",
70  "type": "string",
71  "format": "uri"
72  },
73  "conformsTo": {
74  "title": "Data Standard",
75  "description": "URL providing indirect access to a dataset.",
76  "type": "string",
77  "format": "uri"
78  },
79  "describedBy": {
80  "title": "Data Dictionary",
81  "description": "URL to the data dictionary for the distribution found at the downloadURL.",
82  "type": "string",
83  "format": "uri"
84  },
85  "describedByType": {
86  "title": "Data Dictionary Type",
87  "description": "The machine-readable file format (IANA Media Type or MIME Type) of the distribution’s describedBy URL.",
88  "pattern": "^[a-z]+?$",
89  "type": "string"
90  }
91  }
92  }
93  }
94 }