{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": true,
    "description": "Schema for Oceanography measurement point documents",
    "id": "http://api.npolar.no/schema/oceanography_point-1.0.0",
    "properties": {
        "collection": {
            "description": "Collection type",
            "enum": [
                "cast",
                "mooring"
            ],
            "type": "string"
        },
        "comments": {
            "description": "Comments",
            "items": {
                "type": "string"
            },
            "type": "array"
        },
        "cruise": {
            "description": "Cruise identifier",
            "type": "string"
        },
        "depth": {
            "description": "Measurement depth",
            "type": [
                "number",
                "null"
            ]
        },
        "direction_of_sea_water_velocity": {
            "description": "Degrees from north",
            "maximum": 360,
            "minimum": 0,
            "type": [
                "number",
                "null"
            ]
        },
        "eastward_sea_water_velocity": {
            "description": "Eastward sea water velocity in m/s",
            "maximum": 10,
            "minimum": -10,
            "type": [
                "number",
                "null"
            ]
        },
        "id": {
            "description": "UUID of this doc",
            "type": "string"
        },
        "instrument_type": {
            "description": "Instrument type",
            "type": "string"
        },
        "latitude": {
            "description": "Location latitude in WGS-84",
            "maximum": 90,
            "minimum": -90,
            "type": "number"
        },
        "longitude": {
            "description": "Location longitude in WGS-84",
            "maximum": 180,
            "minimum": -180,
            "type": "number"
        },
        "measured": {
            "_format": "date-time",
            "description": "Date and time of measurement serie",
            "type": "string"
        },
        "mooring": {
            "description": "Mooring id",
            "type": [
                "string",
                "null"
            ]
        },
        "northward_sea_water_velocity": {
            "description": "Northward sea water velocity in m/s",
            "maximum": 10,
            "minimum": -10,
            "type": [
                "number",
                "null"
            ]
        },
        "original_station": {
            "description": "Station identifier",
            "type": "string"
        },
        "platform": {
            "description": "Platform from which the instrument was deployed. Example: RV Lance, sea-ice",
            "type": [
                "string",
                "null"
            ]
        },
        "schema": {
            "_format": "uri",
            "description": "Oceanography json schema uri",
            "type": "string"
        },
        "sea_floor_depth_below_sea_surface": {
            "description": "Sea depth",
            "type": [
                "number",
                "null"
            ]
        },
        "sea_water_electrical_conductivity": {
            "description": "Conductivity in Siemens per meter (S/m)",
            "maximum": 10,
            "minimum": 0,
            "type": [
                "number",
                "null"
            ]
        },
        "sea_water_pressure": {
            "description": "Pressure in decibar",
            "maximum": 5000,
            "minimum": 0,
            "type": [
                "number",
                "null"
            ]
        },
        "sea_water_salinity": {
            "description": "Salinity in particle salinity units (PSU) PPS-78",
            "maximum": 45,
            "minimum": 0,
            "type": [
                "number",
                "null"
            ]
        },
        "sea_water_temperature": {
            "description": "Temperature in degrees Celsius ITS-90",
            "maximum": 50,
            "minimum": -5,
            "type": [
                "number",
                "null"
            ]
        },
        "serial_number": {
            "description": "Instrument serial number",
            "type": "string"
        },
        "station": {
            "description": "Station identifier",
            "type": "string"
        },
        "tilt": {
            "description": "Instrument tilt in degrees",
            "maximum": 360,
            "minimum": 0,
            "type": "number"
        }
    },
    "required": [
        "collection",
        "longitude",
        "latitude",
        "id",
        "measured",
        "schema"
    ],
    "title": "Oceanography measurement point Schema",
    "type": "object"
}