$schema: https://json-schema.org/draft/2020-12/schema
title: NINA SEAPOP OBIS Occurrence Record
description: "A single occurrence record as returned by the OBIS v3 occurrence API.
  The top-level envelope has total (integer) and results (array of records). Each
  record is a flat object with Darwin Core fields, WoRMS taxonomy IDs, and OBIS-derived
  enrichment fields. Note: eventDate, individualCount, and samplingProtocol are NOT
  present in the OBIS API response \u2014 use the GBIF dataset (d0e09c39) if those
  fields are required.\n"
type: object
required:
- occurrenceID
- scientificName
- decimalLatitude
- decimalLongitude
- basisOfRecord
properties:
  occurrenceID:
    type: string
    description: Unique identifier for the occurrence record.
    examples:
    - urn:catalog:NINA:S:301378
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/occurrenceID
  basisOfRecord:
    type: string
    description: Nature of the evidence for the occurrence.
    examples:
    - Occurrence
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/basisOfRecord
  catalogNumber:
    type: string
    examples:
    - '301378'
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/catalogNumber
  collectionCode:
    type: string
    examples:
    - S
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/collectionCode
  institutionCode:
    type: string
    examples:
    - NINA
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/institutionCode
  datasetID:
    type: string
    description: URI of the authoritative dataset record.
    examples:
    - https://marineinfo.org/id/dataset/4549
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/datasetID
  occurrenceStatus:
    type: string
    enum:
    - present
    - absent
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/occurrenceStatus
  scientificName:
    type: string
    examples:
    - Anser anser
    - Larus argentatus
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/scientificName
  scientificNameID:
    type: string
    description: LSID from WoRMS.
    examples:
    - urn:lsid:marinespecies.org:taxname:416682
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/scientificNameID
  originalScientificName:
    type: string
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/scientificName
  kingdom:
    type: string
    examples:
    - Animalia
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/kingdom
  phylum:
    type: string
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/phylum
  class:
    type: string
    examples:
    - Aves
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/class
  order:
    type: string
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/order
  family:
    type: string
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/family
  genus:
    type: string
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/genus
  species:
    type: string
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/scientificName
  kingdomid:
    type: integer
    x-jsonld-id: https://www.marinespecies.org/rest/AphiaRecordsByMatchNames?scientificnames=
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#integer
  phylumid:
    type: integer
    x-jsonld-id: https://w3id.org/iliad/property/wormsPhylumID
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#integer
  classid:
    type: integer
    x-jsonld-id: https://w3id.org/iliad/property/wormsClassID
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#integer
  orderid:
    type: integer
    x-jsonld-id: https://w3id.org/iliad/property/wormsOrderID
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#integer
  familyid:
    type: integer
    x-jsonld-id: https://w3id.org/iliad/property/wormsFamilyID
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#integer
  genusid:
    type: integer
    x-jsonld-id: https://w3id.org/iliad/property/wormsGenusID
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#integer
  speciesid:
    type: integer
    x-jsonld-id: https://w3id.org/iliad/property/wormsSpeciesID
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#integer
  subphylum:
    type: string
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/phylum
  subphylumid:
    type: integer
  infraphylum:
    type: string
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/phylum
  infraphylumid:
    type: integer
  megaclass:
    type: string
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/class
  megaclassid:
    type: integer
  superclass:
    type: string
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/class
  superclassid:
    type: integer
  decimalLatitude:
    type: number
    minimum: -90
    maximum: 90
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/decimalLatitude
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#double
  decimalLongitude:
    type: number
    minimum: -180
    maximum: 180
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/decimalLongitude
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#double
  coordinateUncertaintyInMeters:
    type: number
    minimum: 0
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/coordinateUncertaintyInMeters
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#double
  country:
    type: string
    examples:
    - NORWAY
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/country
  stateProvince:
    type: string
    examples:
    - "M\xF8re og Romsdal"
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/stateProvince
  locality:
    type: string
    description: Free-text name of the nesting colony or site.
    examples:
    - Saltkjelsvikholman
    - Higerholmen I
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/locality
  modified:
    type: string
    description: ISO 8601 datetime of last modification in the source system.
    examples:
    - '2014-04-30 15:24:32'
    x-jsonld-id: http://purl.org/dc/terms/modified
  id:
    type: string
    format: uuid
    description: OBIS internal UUID for this occurrence record.
    x-jsonld-id: https://schema.org/identifier
  dataset_id:
    type: string
    format: uuid
    description: OBIS internal dataset UUID.
    x-jsonld-id: http://purl.org/dc/terms/isPartOf
    x-jsonld-type: '@id'
  node_id:
    type: array
    items:
      type: string
      format: uuid
    description: OBIS node(s) holding this record.
    x-jsonld-id: https://schema.org/identifier
  dropped:
    type: boolean
    description: Whether OBIS has flagged this record as dropped from the index.
    x-jsonld-id: https://w3id.org/iliad/property/obisDropped
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#boolean
  absence:
    type: boolean
    description: True if this is an absence record.
    x-jsonld-id: http://rs.tdwg.org/dwc/terms/occurrenceStatus
  flags:
    type: array
    items:
      type: string
    description: "OBIS quality flags. Common values: NO_DEPTH (no depth recorded \u2014
      expected for seabird colonies), ON_LAND (observation point plots on land \u2014
      expected for coastal colonies).\n"
    examples:
    - - NO_DEPTH
    - - NO_DEPTH
      - ON_LAND
    x-jsonld-id: https://w3id.org/iliad/property/obisFlags
  category:
    type: string
    x-jsonld-id: https://schema.org/category
  unaccepted:
    type: string
    description: Non-null if WoRMS considers the taxon name unaccepted.
    x-jsonld-id: https://w3id.org/iliad/property/wormsUnaccepted
  marine:
    type: boolean
    description: Whether WoRMS classifies this taxon as marine.
    x-jsonld-id: https://w3id.org/iliad/property/wormsMarine
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#boolean
  brackish:
    type: boolean
    description: Whether WoRMS classifies this taxon as brackish.
    x-jsonld-id: https://w3id.org/iliad/property/wormsBrackish
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#boolean
  aphiaID:
    type: integer
    description: "WoRMS AphiaID resolved by OBIS from scientificNameID. Added by OBIS
      pipeline \u2014 not a source field.\n"
    examples:
    - 416682
    x-jsonld-id: https://w3id.org/iliad/property/aphiaID
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#integer
  bathymetry:
    type:
    - number
    - 'null'
    description: "Water depth (m) at the observation point from EMODnet/GEBCO. OBIS
      enrichment \u2014 not a source measurement.\n"
    x-jsonld-id: http://vocab.nerc.ac.uk/collection/P01/current/MBANNV01/
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#double
  shoredistance:
    type:
    - number
    - 'null'
    description: "Distance to nearest shoreline (m) from GSHHS coastline model. Negative
      values indicate the point is inland. OBIS enrichment \u2014 not a source measurement.\n"
    x-jsonld-id: http://vocab.nerc.ac.uk/collection/P01/current/DISDSHORE/
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#double
  sst:
    type:
    - number
    - 'null'
    description: "Sea surface temperature (\xB0C) climatological mean from WOA. OBIS
      enrichment \u2014 not a source measurement.\n"
    x-jsonld-id: http://vocab.nerc.ac.uk/collection/P01/current/TEMPPR01/
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#double
  sss:
    type:
    - number
    - 'null'
    description: "Sea surface salinity (PSU) climatological mean from WOA. OBIS enrichment
      \u2014 not a source measurement.\n"
    x-jsonld-id: http://vocab.nerc.ac.uk/collection/P01/current/PSALPR01/
    x-jsonld-type: http://www.w3.org/2001/XMLSchema#double
additionalProperties: true
x-jsonld-extra-terms:
  worms: https://www.marinespecies.org/aphia.php?p=taxdetails&id=
x-jsonld-prefixes:
  dwc: http://rs.tdwg.org/dwc/terms/
  xsd: http://www.w3.org/2001/XMLSchema#
  dct: http://purl.org/dc/terms/
  schema: https://schema.org/
  sosa: http://www.w3.org/ns/sosa/
  nerc: http://vocab.nerc.ac.uk/collection/
  obis: https://obis.org/
