{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://poseidat.org/schema/core/trip-entry.json",
  "description": "The trip related details of a journal entry",
  "title": "Trip entry",
  "properties": {
    "date": {
      "description": "The date the trip entry was created or sent at. All dates and times are UTC. GBR: DATI, NLD: DA",
      "type": "string",
      "format": "date-time"
    },
    "trip_nr": {
      "description": "The trip number this entry belongs to. NLD: TN, GBR: GBRLOGNO",
      "type": "string"
    },
    "record_nr": {
      "description": "The unique record number for the trip entry. Formats differ between ERS dialects. NLD: RN GBR: GBRLOGNO",
      "type": "string"
    },
    "sequence_nr": {
      "description": "The unique sequence number for the  entry. GBR: GBRLOGSEQ",
      "type": "string"
    },
    "location": {
      "$ref": "https://poseidat.org/schema/core/measurement/position.json",
      "description": "The geographical location where the entry was created (for)"
    }
  },
  "required": [
    "date",
    "trip_nr",
    "record_nr"
  ],
  "type": "object"
}
