General data fields

General fields apply to the whole NEMSR JSON file.

Field min max Description Rules
dateGenerated 1 1 The date that the file was generated. Data type - datetime. 1.1.1 The date must be a valid date time eg. 1994-11-05T08:15:30-05:00
3.1.1 The field is mandatory.
version 1 1 The NEMSR schema version. Data type - varchar(100) 1.4.1 The schema version must be a valid NEMSR JSON schema version number e.g. 1.0.0
3.1.2 The field is mandatory.
dataProvider 1 1 The organisation that is providing the data. Data type - controlled list. 4.1.1 The data provider must exist in the Data Provider controlled list.
3.1.3 The field is mandatory.

Example encoding of general fields

{
    "type": "FeatureCollection",
    "properties": {
        "dateGenerated": "2016-01-18T03:17:46+10:00",
        "version": "1.1.0",
        "dataProvider": "BOM",
        "network": [
            [network details]
        ]
    },
    "features": [
        [site details]
    ]
}