{
  "$id": "https://schemas.dissco.tech/schemas/fdo-type/digital-specimen/0.3.0/location.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$comment": "Location Version 0.3.0",
  "title": "Location",
  "type": "object",
  "properties": {
    "@id": {
      "type": "string",
      "description": "The identifier for the Location object."
    },
    "@type": {
      "type": "string",
      "const": "ods:Location",
      "description": "The type of the digital object, in this case a ods:Location"
    },
    "dwc:locationID": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/locationID",
      "examples": [
        "https://opencontext.org/subjects/768A875F-E205-4D0B-DE55-BAB7598D0FD1"
      ]
    },
    "dwc:continent": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/continent",
      "examples": [
        "Africa"
      ]
    },
    "dwc:waterBody": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/waterBody",
      "examples": [
        "Baltic Sea"
      ]
    },
    "dwc:islandGroup": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/islandGroup",
      "examples": [
        "Seychelles"
      ]
    },
    "dwc:island": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/island",
      "examples": [
        "Vancouver"
      ]
    },
    "dwc:country": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/country",
      "examples": [
        "Colombia"
      ]
    },
    "dwc:countryCode": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/countryCode",
      "examples": [
        "SV"
      ]
    },
    "dwc:stateProvince": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/stateProvince",
      "examples": [
        "Montana"
      ]
    },
    "dwc:county": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/county",
      "examples": [
        "Los Lagos"
      ]
    },
    "dwc:municipality": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/municipality",
      "examples": [
        "Holzminden"
      ]
    },
    "dwc:locality": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/locality",
      "examples": [
        "Zeeuws-Vlaanderen, Hulst, Braakman"
      ]
    },
    "dwc:verbatimLocality": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/verbatimLocality",
      "examples": [
        "25 km NNE Bariloche por R. Nac. 237"
      ]
    },
    "dwc:minimumElevationInMeters": {
      "type": "number",
      "description": "https://rs.tdwg.org/dwc/terms/minimumElevationInMeters",
      "examples": [
        -100
      ]
    },
    "dwc:higherGeographyID": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/higherGeographyID",
      "examples": [
        "http://vocab.getty.edu/tgn/1002002 "
      ]
    },
    "dwc:higherGeography": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/higherGeography",
      "examples": [
        "Britain and Ireland"
      ]
    },
    "dwc:maximumElevationInMeters": {
      "type": "number",
      "description": "https://rs.tdwg.org/dwc/terms/maximumElevationInMeters",
      "examples": [
        205
      ]
    },
    "dwc:verbatimElevation": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/verbatimElevation",
      "examples": [
        "100 - 200 m"
      ]
    },
    "dwc:minimumDistanceAboveSurfaceInMeters": {
      "type": "number",
      "description": "https://rs.tdwg.org/dwc/terms/minimumDistanceAboveSurfaceInMeters",
      "examples": [
        -1,
        5
      ]
    },
    "dwc:maximumDistanceAboveSurfaceInMeters": {
      "type": "number",
      "description": "https://rs.tdwg.org/dwc/terms/maximumDistanceAboveSurfaceInMeters",
      "examples": [
        4.2
      ]
    },
    "dwc:minimumDepthInMeters": {
      "type": "number",
      "description": "https://rs.tdwg.org/dwc/terms/minimumDepthInMeters",
      "examples": [
        50
      ]
    },
    "dwc:maximumDepthInMeters": {
      "type": "number",
      "description": "https://rs.tdwg.org/dwc/terms/maximumDepthInMeters",
      "examples": [
        340
      ]
    },
    "dwc:verbatimDepth": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/verbatimDepth",
      "examples": [
        "100-200 m"
      ]
    },
    "dwc:verticalDatum": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/verticalDatum",
      "examples": [
        "EGM84"
      ]
    },
    "dwc:locationAccordingTo": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/locationAccordingTo",
      "examples": [
        "GADM"
      ]
    },
    "dwc:locationRemarks": {
      "type": "string",
      "description": "https://rs.tdwg.org/dwc/terms/locationRemarks",
      "examples": [
        "under water since 2005"
      ]
    },
    "ods:GeoReference": {
      "type": "object",
      "description": "An object which describes the geographical reference of the location of the specimen.",
      "properties": {
        "@id": {
          "type": "string",
          "description": "The identifier for the Geo Reference object."
        },
        "@type": {
          "type": "string",
          "const": "ods:GeoReference",
          "description": "The type of the object, in this case ods:GeoReference"
        },
        "dwc:verbatimCoordinates": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/verbatimCoordinates",
          "examples": [
            "41 05 54S 121 05 34W"
          ]
        },
        "dwc:decimalLatitude": {
          "type": "number",
          "description": "https://rs.tdwg.org/dwc/terms/decimalLatitude",
          "examples": [
            -41.0983423
          ],
          "minimum": -180,
          "maximum": 180
        },
        "dwc:verbatimLatitude": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/verbatimLatitude",
          "examples": [
            "41 05 54.03S"
          ]
        },
        "dwc:decimalLongitude": {
          "type": "number",
          "description": "https://rs.tdwg.org/dwc/terms/decimalLongitude",
          "examples": [
            -121.1761111
          ],
          "minimum": -180,
          "maximum": 180
        },
        "dwc:verbatimLongitude": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/verbatimLongitude",
          "examples": [
            "121d 10' 34\" W"
          ]
        },
        "dwc:verbatimCoordinateSystem": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/verbatimCoordinateSystem",
          "examples": [
            "degrees decimal minutes"
          ]
        },
        "dwc:geodeticDatum": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/geodeticDatum",
          "examples": [
            "WGS84"
          ]
        },
        "dwc:coordinateUncertaintyInMeters": {
          "type": "number",
          "description": "https://rs.tdwg.org/dwc/terms/coordinateUncertaintyInMeters",
          "examples": [
            100
          ],
          "minimum": 0
        },
        "dwc:coordinatePrecision": {
          "type": "number",
          "description": "https://rs.tdwg.org/dwc/terms/coordinatePrecision",
          "examples": [
            0.01667
          ]
        },
        "dwc:pointRadiusSpatialFit": {
          "type": "number",
          "description": "https://rs.tdwg.org/dwc/terms/pointRadiusSpatialFit",
          "examples": [
            1.5708
          ]
        },
        "dwc:footprintWKT": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/footprintWKT",
          "examples": [
            "POLYGON ((10 20, 11 20, 11 21, 10 21, 10 20))"
          ]
        },
        "dwc:footprintSRS": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/footprintSRS",
          "examples": [
            "epsg:4326"
          ]
        },
        "dwc:verbatimSRS": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/verbatimSRS",
          "examples": [
            "NAD27"
          ]
        },
        "dwc:footprintSpatialFit": {
          "type": "integer",
          "description": "https://rs.tdwg.org/dwc/terms/footprintSpatialFit",
          "examples": [
            1.5708
          ]
        },
        "dwc:georeferencedBy": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/georeferencedBy",
          "examples": [
            "Janet Fang"
          ]
        },
        "dwc:georeferencedDate": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/georeferencedDate",
          "examples": [
            "1963-03-08T14:07-0600"
          ]
        },
        "dwc:georeferenceProtocol": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/georeferenceProtocol",
          "examples": [
            "https://doi.org/10.35035/e09p-h128"
          ]
        },
        "dwc:georeferenceSources": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/georeferenceSources",
          "examples": [
            "https://www.geonames.org/"
          ]
        },
        "dwc:georeferenceRemarks": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/georeferenceRemarks",
          "examples": [
            "Assumed distance by road (Hwy. 101)"
          ]
        }
      },
      "required": [
        "@type"
      ],
      "additionalProperties": false
    },
    "ods:GeologicalContext": {
      "type": "object",
      "description": "An object which describes the geological context of th location of the specimen.",
      "properties": {
        "@id": {
          "type": "string",
          "description": "The identifier for the Geological Context object."
        },
        "@type": {
          "type": "string",
          "const": "ods:GeologicalContext",
          "description": "The type of the object, in this case ods:GeologicalContext"
        },
        "dwc:earliestEonOrLowestEonothem": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/earliestEonOrLowestEonothem",
          "examples": [
            "Phanerozoic"
          ]
        },
        "dwc:latestEonOrHighestEonothem": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/latestEonOrHighestEonothem",
          "examples": [
            "Proterozoic"
          ]
        },
        "dwc:earliestEraOrLowestErathem": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/earliestEraOrLowestErathem",
          "examples": [
            "Cenozoic"
          ]
        },
        "dwc:latestEraOrHighestErathem": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/latestEraOrHighestErathem",
          "examples": [
            "Mesozoic"
          ]
        },
        "dwc:earliestPeriodOrLowestSystem": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/earliestPeriodOrLowestSystem",
          "examples": [
            "Tertiary"
          ]
        },
        "dwc:latestPeriodOrHighestSystem": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/latestPeriodOrHighestSystem",
          "examples": [
            "Quaternary"
          ]
        },
        "dwc:earliestEpochOrLowestSeries": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/earliestEpochOrLowestSeries",
          "examples": [
            "Holocene"
          ]
        },
        "dwc:latestEpochOrHighestSeries": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/latestEpochOrHighestSeries",
          "examples": [
            "Pleistocene"
          ]
        },
        "dwc:earliestAgeOrLowestStage": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/earliestAgeOrLowestStage",
          "examples": [
            "Atlantic"
          ]
        },
        "dwc:latestAgeOrHighestStage": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/latestAgeOrHighestStage",
          "examples": [
            "Boreal"
          ]
        },
        "dwc:lowestBiostratigraphicZone": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/lowestBiostratigraphicZone",
          "examples": [
            "Maastrichtian"
          ]
        },
        "dwc:highestBiostratigraphicZone": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/highestBiostratigraphicZone",
          "examples": [
            "Blancan"
          ]
        },
        "dwc:lithostratigraphicTerms": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/lithostratigraphicTerms",
          "examples": [
            "Pleistocene-Weichselien"
          ]
        },
        "dwc:group": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/group",
          "examples": [
            "Bathurst"
          ]
        },
        "dwc:formation": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/formation",
          "examples": [
            "House Limestone"
          ]
        },
        "dwc:member": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/member",
          "examples": [
            "Lava Dam Member"
          ]
        },
        "dwc:bed": {
          "type": "string",
          "description": "https://rs.tdwg.org/dwc/terms/bed",
          "examples": [
            "Harlem coal"
          ]
        }
      },
      "required": [
        "@type"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "@type"
  ],
  "additionalProperties": false
}
