Site data fields

In addtion to the fields below, a NEMSR Site can have one or many observing capabilities.

Field min max Description Rules
id 1 1 The unique identifier of the site. Data type - varchar(255) 2.1.14 The site id must be between 1 and 255 characters long.
1.7.12 The site id must not contain invalid characters.
3.1.6 The field is mandatory.
name 1 1 The name of the site. Data type - varchar(255) 2.1.15 The site name must be between 1 and 255 characters long.
1.7.13 The site name must not contain invalid characters.
3.1.7 The field is mandatory.
siteDescription 0 1 The description of the site. Data type - varchar(500) 2.1.16 The site description must be between 0 and 500 characters long.
1.7.14 The site description must not contain invalid characters.
siteLicence 1 1 The type of licence that applies to the site metadata. Datatype - controlled list. 4.8.1 The site licence must exist in the Site Licencing controlled list.
3.1.15 The field is mandatory.
siteURL 0 1 A url of a web page or resource that contains information about the site. 2.1.17 The siteURL must be between 0 and 255 characters long.
1.5.2 The site URL must resolve to an appropriate webpage eg. http://www.bom.gov.au
srsName 1 1 The EPSG code of the spatial referencing system used to locate the geographic entity. Datatype - controlled list.
srsName is encoded using the GeoJSON CRS object:

“crs”: {
“type”: “link”,
“properties”: {
“href”: http://www.opengis.net/def/crs/EPSG/0/4979,
“type”: “proj4”
}}

4.9.1 The srsName must exist in the SRS Name controlled list.
3.1.8 The field is mandatory.
latitude 1 1 The latitude of the site. Data type - number
latitude is encoded using the GeoJSON Geometry object:

“geometry”: {
“type”: “Point”,
“coordinates”: [
149, -35, 21
]
}

2.2.1 The latitude must be between -90 and 90.
1.2.1 The latitude must be a valid number.
3.1.8 The field is mandatory.
longitude 1 1 The longitude of the site. Data type - number
longitude is encoded using the GeoJSON Geometry object:

“geometry”: {
“type”: “Point”,
“coordinates”: [
149, -35, 21
]
}

2.2.2 The longitude must be between -180 and 180.
1.2.2 The longitude must be a valid number.
3.1.9 The field is mandatory.
elevation 0 1 The elevation of the site. Datatype - number
If available and the srsName used supports 3 dimensions, elevation is encoded using the GeoJSON Geometry object:

“geometry”: {
“type”: “Point”,
“coordinates”: [
149, -35, 21
]
}

2.2.3 The elevation must be between -10000 and 10000.
1.2.3 The elevation must be a valid number.
operatingAuthority/name 1 1 The organisation that is the operating authority for the site. 2.1.18 The operating authority name must be between 1 and 255 characters long.
1.7.15 The operating authority must not contain invalid characters.
3.1.10 The field is mandatory.
operatingAuthority/url 0 1 A URL of a web page or resource that contains information about the operationg authority. 2.1.19 The operating authority URL must be between 1 and 255 characters long.
1.5.3 The site URL must resolve to an appropriate webpage eg. http://www.bom.gov.au
siteStatus 1 1 The operating status of the site. Datatype - controlled list. 4.2.1 The site status must exist in the Site Status controlled list.
3.1.11 The field is mandatory.
extensionFieldValue1 0 1 The value of the extension field. This value should correspond to the field identified in the network as extensionField1. Extension fields are unique to a network and can be used to capture additional information about sites. For example the network may store WMO ID’s for sites in an extensionField. Data type - varchar(500) 2.1.20 The network extension field 1 value must be between 0 and 500 characters long.
1.7.16 The network extension field 1 value must not contain invalid characters.
extensionFieldValue2 0 1 The value of the extension field. This value should correspond to the field identified in the network as extensionField2. Extension fields are unique to a network and can be used to capture additional information about sites. For example the network may store WMO ID’s for sites in an extensionField. Data type - varchar(500) 2.1.21 The network extension field 2 value must be between 0 and 500 characters long.
1.7.17 The network extension field 2 value must not contain invalid characters.
extensionFieldValue3 0 1 The value of the extension field. This value should correspond to the field identified in the network as extensionField3. Extension fields are unique to a network and can be used to capture additional information about sites. For example the network may store WMO ID’s for sites in an extensionField. Data type - varchar(500) 2.1.22 The network extension field 3 value must be between 0 and 500 characters long.
1.7.18 The network extension field 3 value must not contain invalid characters.
extensionFieldValue4 0 1 The value of the extension field. This value should correspond to the field identified in the network as extensionField4. Extension fields are unique to a network and can be used to capture additional information about sites. For example the network may store WMO ID’s for sites in an extensionField. Data type - varchar(500) 2.1.23 The network extension field 4 value must be between 0 and 500 characters long.
1.7.19 The network extension field 4 value must not contain invalid characters.
extensionFieldValue5 0 1 The value of the extension field. This value should correspond to the field identified in the network as extensionField5. Extension fields are unique to a network and can be used to capture additional information about sites. For example the network may store WMO ID’s for sites in an extensionField. Data type - varchar(500) 2.1.24 The network extension field 5 value must be between 0 and 500 characters long.
1.7.20 The network extension field 5 value must not contain invalid characters.

Example encoding of site fields

{
    "type": "FeatureCollection",
    "properties": {
        [general details]
        "network": [
            {
            [network details]
            }
        ]
    },
    "features": [
        {
            "type": "Feature",
            "id": "site1",
            "geometry": {
                "type": "Point",
                "coordinates": [
                     149, -35, 21
                ]
            },
            "crs": {
                "type": "link",
                "properties": {
                  "href": "http://www.opengis.net/def/crs/EPSG/0/4979",
                  "type": "proj4"
                  }
                },
            "properties": {
                "name": "Site 1",
                "siteDescription": "Site 1 description",
                "siteLicence": "open-CC",                
                "siteURL": "http://siteURL",
                "operatingAuthority": {
                    "name": "Operating Authority URL",
                    "url": "http://operatingAuthority"
                },
                "siteStatus": "active",
                "extensionFieldValue1": "121",
                "extensionFieldValue2": "No",
                "extensionFieldValue3": "Lorem ipsum dolor sit amet, mea ea invenire intellegebat, ut has saepe mollis.",
                "extensionFieldValue4": "Simul habemus duo cu, mei eu quas urbanitas. Id illud exerci mel, cum primis omittam ei. Mel purto vero erat no, putent saperet te vel. Laoreet quaestio te usu, an dicat apeirian mei. No vix erant salutatus quaerendum, ne vel movet fuisset, nullam voluptua efficiantur at pri. Tibique signiferumque eos ad. Eos ne doming constituam, ei suavitate consequat est.",
                "extensionFieldValue5": "2016-01-18T03:17:46+10:00",
                "observingCapabilities": [
                    {
                        [site observing capabilities details]
                    }
                ]
            }
        }
    ]
}