$schema: https://json-schema.org/draft/2020-12/schema
title: EMODnet Biology Occurrence Feature
description: A GeoJSON Feature representing a single marine biodiversity occurrence
  record from EMODnet Biology. Properties follow Darwin Core terms with WoRMS Aphia
  identifiers for taxon resolution.
type: object
required:
- type
- geometry
- properties
properties:
  type:
    type: string
    enum:
    - Feature
    x-jsonld-id: '@type'
  id:
    type: string
    description: Feature identifier (EMODnet internal row id)
    x-jsonld-id: '@id'
  geometry:
    description: WGS 84 Point geometry of the occurrence location
    oneOf:
    - type: object
      required:
      - type
      - coordinates
      properties:
        type:
          type: string
          enum:
          - Point
          x-jsonld-id: '@type'
        coordinates:
          type: array
          minItems: 2
          maxItems: 3
          items:
            type: number
    - type: 'null'
    x-jsonld-id: https://purl.org/geojson/vocab#geometry
  properties:
    type: object
    properties:
      IMISDatasetURI:
        type: string
        format: uri
        description: URI of the source dataset in MarineInfo/IMIS
        x-jsonld-id: http://purl.org/dc/terms/source
        x-jsonld-type: '@id'
      IMISDatasetId:
        type: integer
        description: Numeric IMIS dataset identifier
        x-jsonld-id: http://purl.org/dc/terms/identifier
      occurrenceID:
        type: string
        description: 'DwC occurrenceID: globally unique identifier for the occurrence'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/occurrenceID
      acceptedScientificName:
        type: string
        description: WoRMS-accepted scientific name for the taxon
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/acceptedNameUsage
      aphiaid:
        type: integer
        description: WoRMS AphiaID of the observed taxon
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/taxonID
      aphia_uri:
        type: string
        format: uri
        description: WoRMS URI for the observed taxon
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/taxonConceptID
        x-jsonld-type: '@id'
      aphia_urn:
        type: string
        description: WoRMS LSID URN, e.g. urn:lsid:marinespecies.org:taxname:<id>
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/nameAccordingToID
      aphiaidaccepted:
        type: integer
        description: WoRMS AphiaID of the accepted taxon (may differ from aphiaid
          if synonym)
        x-jsonld-id: http://www.emodnet-biology.eu/data/aphiaidaccepted
      aphiaidaccepted_uri:
        type: string
        format: uri
        description: WoRMS URI of the accepted taxon
        x-jsonld-id: http://www.emodnet-biology.eu/data/aphiaidaccepted_uri
        x-jsonld-type: '@id'
      basisOfRecord:
        type: string
        description: 'DwC basisOfRecord: nature of the evidence'
        examples:
        - HumanObservation
        - MaterialSample
        - PreservedSpecimen
        - MachineObservation
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/basisOfRecord
      catalogNumber:
        type: string
        description: 'DwC catalogNumber: identifier for the record within the dataset'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/catalogNumber
      collectionCode:
        type: string
        description: 'DwC collectionCode: name or acronym of the collection'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/collectionCode
      collectiondate:
        type: string
        format: date-time
        description: Date of collection (UTC timestamp)
        x-jsonld-id: http://purl.org/dc/terms/date
        x-jsonld-type: http://www.w3.org/2001/XMLSchema#dateTime
      kingdom:
        type: string
        description: 'DwC kingdom: highest taxonomic rank of the classified name'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/kingdom
      phylum:
        type: string
        description: DwC phylum
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/phylum
      class:
        type: string
        description: DwC class
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/class
      order:
        type: string
        description: DwC order
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/order
      family:
        type: string
        description: DwC family
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/family
      genus:
        type: string
        description: DwC genus
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/genus
      species:
        type: string
        description: DwC specificEpithet (epithet only)
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/specificEpithet
      scientificName:
        type: string
        description: 'DwC scientificName: full taxon name as submitted'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/scientificName
      scientificNameAuthorship:
        type: string
        description: DwC scientificNameAuthorship
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/scientificNameAuthorship
      decimalLatitude:
        type: number
        minimum: -90
        maximum: 90
        description: 'DwC decimalLatitude: WGS84 latitude in decimal degrees'
        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
        description: 'DwC decimalLongitude: WGS84 longitude in decimal degrees'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/decimalLongitude
        x-jsonld-type: http://www.w3.org/2001/XMLSchema#double
      coordinatePrecision:
        type: number
        description: 'DwC coordinatePrecision: decimal representation of coordinate
          uncertainty'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/coordinatePrecision
        x-jsonld-type: http://www.w3.org/2001/XMLSchema#double
      geodeticDatum:
        type: string
        description: 'DwC geodeticDatum: spatial reference system for coordinates'
        examples:
        - WGS84
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/geodeticDatum
      eventDate:
        type: string
        description: 'DwC eventDate: date or date range of the occurrence event'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/eventDate
      eventID:
        type: string
        description: 'DwC eventID: identifier for the sampling event'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/eventID
      eventType:
        type: string
        description: 'DwC eventType: type of the event (e.g. sample, survey)'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/eventType
      institutionCode:
        type: string
        description: 'DwC institutionCode: name or acronym of the custodian institution'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/institutionCode
      country:
        type: string
        description: DwC country
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/country
      continentocean:
        type: string
        description: Continent or ocean name (EMODnet extension)
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/continent
      stateProvince:
        type: string
        description: DwC stateProvince
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/stateProvince
      occurrenceStatus:
        type: string
        description: 'DwC occurrenceStatus: presence or absence'
        enum:
        - present
        - absent
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/occurrenceStatus
      individualCount:
        type: number
        description: 'DwC individualCount: count of individuals'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/individualCount
        x-jsonld-type: http://www.w3.org/2001/XMLSchema#double
      minimumdepth:
        type: number
        description: DwC minimumDepthInMeters
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/minimumDepthInMeters
        x-jsonld-type: http://www.w3.org/2001/XMLSchema#double
      maximumdepth:
        type: number
        description: DwC maximumDepthInMeters
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/maximumDepthInMeters
        x-jsonld-type: http://www.w3.org/2001/XMLSchema#double
      minimumelevation:
        type: number
        description: DwC minimumElevationInMeters
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/minimumElevationInMeters
        x-jsonld-type: http://www.w3.org/2001/XMLSchema#double
      maximumelevation:
        type: number
        description: DwC maximumElevationInMeters
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/maximumElevationInMeters
        x-jsonld-type: http://www.w3.org/2001/XMLSchema#double
      samplingProtocol:
        type: string
        description: DwC samplingProtocol
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/samplingProtocol
      samplingEffort:
        type: string
        description: DwC samplingEffort
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/samplingEffort
      sampleSizeValue:
        type: number
        description: DwC sampleSizeValue
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/sampleSizeValue
        x-jsonld-type: http://www.w3.org/2001/XMLSchema#float
      sampleSizeUnit:
        type: string
        description: DwC sampleSizeUnit
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/sampleSizeUnit
      organismQuantity:
        type: string
        description: DwC organismQuantity
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/organismQuantity
      organismQuantityType:
        type: string
        description: DwC organismQuantityType
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/organismQuantityType
      taxonID:
        type: string
        description: 'DwC taxonID: identifier for the taxon concept'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/taxonID
      taxonConceptID:
        type: string
        description: DwC taxonConceptID
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/taxonConceptID
      taxonrankid:
        type: integer
        description: WoRMS taxon rank identifier
        x-jsonld-id: http://www.emodnet-biology.eu/data/taxonrankid
        x-jsonld-type: http://www.w3.org/2001/XMLSchema#integer
      identifiedBy:
        type: string
        description: DwC identifiedBy
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/identifiedBy
      identificationVerificationStatus:
        type: string
        description: DwC identificationVerificationStatus
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/identificationVerificationStatus
      typeStatus:
        type: string
        description: DwC typeStatus
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/typeStatus
      dynamicProperties:
        type: string
        description: 'DwC dynamicProperties: additional data as JSON or key=value'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/dynamicProperties
      dataGeneralizations:
        type: string
        description: 'DwC dataGeneralizations: actions taken to make data less specific'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/dataGeneralizations
      verbatimDepth:
        type: string
        description: 'DwC verbatimDepth: original depth text'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/verbatimDepth
      verbatimIdentification:
        type: string
        description: 'DwC verbatimIdentification: taxon identification as originally
          provided'
        x-jsonld-id: http://rs.tdwg.org/dwc/terms/verbatimIdentification
    x-jsonld-id: '@nest'
x-jsonld-extra-terms:
  worms: http://marinespecies.org/aphia.php?p=taxdetails&id=
x-jsonld-prefixes:
  geojson: https://purl.org/geojson/vocab#
  dcterms: http://purl.org/dc/terms/
  dwc: http://rs.tdwg.org/dwc/terms/
  emodnet: http://www.emodnet-biology.eu/data/
  xsd: http://www.w3.org/2001/XMLSchema#
  rdfs: http://www.w3.org/2000/01/rdf-schema#
