Skip to content

Instantly share code, notes, and snippets.

@aborruso
Created May 17, 2021 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aborruso/c728098ebadf90d48f018d0e60d1bfc5 to your computer and use it in GitHub Desktop.
Save aborruso/c728098ebadf90d48f018d0e60d1bfc5 to your computer and use it in GitHub Desktop.
{
"name": "bionomia-attributions",
"id": "e4deab67-0998-4140-b573-0ba1f624eb3e",
"licenses": [
{
"name": "cc-by-4.0",
"path": "http://creativecommons.org/licenses/by/4.0/legalcode"
}
],
"profile": "tabular-data-package",
"title": "ATTRIBUTIONS MADE FOR: Mycology herbarium, Oslo (O), Natural History Museum, University of Oslo",
"description": "Fungi in the Natural History Museum, University of Oslo",
"datasetKey": "e4deab67-0998-4140-b573-0ba1f624eb3e",
"homepage": "https://bionomia.net/dataset/e4deab67-0998-4140-b573-0ba1f624eb3e",
"created": "2021-05-12T03:22:38+00:00",
"sources": [
{
"title": "Mycology herbarium, Oslo (O), Natural History Museum, University of Oslo",
"path": "https://doi.org/10.15468/6xjrdn"
}
],
"keywords": [
"specimen",
"museum",
"collection",
"credit",
"attribution",
"bionomia"
],
"image": "https://bionomia.net/images/logo.png",
"resources": [
{
"name": "users",
"path": "users.csv",
"format": "csv",
"mediatype": "text/csv",
"encoding": "utf-8",
"profile": "tabular-data-resource",
"schema": {
"fields": [
{
"name": "id",
"type": "integer"
},
{
"name": "name",
"type": "string",
"rdfType": "http://schema.org/name"
},
{
"name": "familyName",
"type": "string",
"rdfType": "http://schema.org/familyName"
},
{
"name": "givenName",
"type": "string",
"rdfType": "http://schema.org/givenName"
},
{
"name": "alternateName",
"type": "array",
"rdfType": "http://schema.org/alternateName"
},
{
"name": "sameAs",
"type": "string",
"format": "uri",
"rdfType": "http://schema.org/sameAs"
},
{
"name": "orcid",
"type": "string"
},
{
"name": "wikidata",
"type": "string"
},
{
"name": "birthDate",
"type": "date",
"rdfType": "https://schema.org/birthDate"
},
{
"name": "birthDatePrecision",
"type": "string",
"description": "Values are year, month, or day and indicate the precision of birthDate; portions of birthDate should be ignored below that of the birthDatePrecision."
},
{
"name": "deathDate",
"type": "date",
"rdfType": "https://schema.org/deathDate"
},
{
"name": "deathDatePrecision",
"type": "string",
"description": "Values are year, month, or day and indicate the precision of deathDate; portions of deathDate should be ignored below that of the deathDatePrecision."
}
]
},
"primaryKey": "id"
},
{
"name": "occurrences",
"path": "occurrences.csv",
"format": "csv",
"mediatype": "text/csv",
"encoding": "utf-8",
"profile": "tabular-data-resource",
"schema": {
"fields": [
{
"name": "gbifID",
"type": "integer"
},
{
"name": "datasetKey",
"type": "string",
"format": "uuid",
"rdfType": "http://rs.gbif.org/terms/1.0/datasetKey"
},
{
"name": "occurrenceID",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/occurrenceID"
},
{
"name": "dateIdentified",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/dateIdentified"
},
{
"name": "decimalLatitude",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/decimalLatitude"
},
{
"name": "decimalLongitude",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/decimalLongitude"
},
{
"name": "country",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/country"
},
{
"name": "countryCode",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/countryCode"
},
{
"name": "eventDate",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/eventDate"
},
{
"name": "year",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/year"
},
{
"name": "kingdom",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/kingdom"
},
{
"name": "family",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/family"
},
{
"name": "identifiedBy",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/identifiedBy"
},
{
"name": "institutionCode",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/institutionCode"
},
{
"name": "collectionCode",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/collectionCode"
},
{
"name": "catalogNumber",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/catalogNumber"
},
{
"name": "recordedBy",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/recordedBy"
},
{
"name": "scientificName",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/scientificName"
},
{
"name": "typeStatus",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/typeStatus"
}
]
},
"primaryKey": "gbifID"
},
{
"name": "attributions",
"path": "attributions.csv",
"format": "csv",
"mediatype": "text/csv",
"encoding": "utf-8",
"profile": "tabular-data-resource",
"schema": {
"fields": [
{
"name": "user_id",
"type": "integer"
},
{
"name": "occurrence_id",
"type": "integer"
},
{
"name": "identifiedBy",
"type": "string",
"format": "uri",
"rdfType": "http://rs.tdwg.org/dwc/iri/identifiedBy"
},
{
"name": "recordedBy",
"type": "string",
"format": "uri",
"rdfType": "http://rs.tdwg.org/dwc/iri/recordedBy"
},
{
"name": "createdBy",
"type": "string",
"rdfType": "http://schema.org/name"
},
{
"name": "createdByURI",
"type": "string",
"format": "uri"
},
{
"name": "createdDateTime",
"type": "datetime",
"format": "any"
},
{
"name": "modifiedDateTime",
"type": "datetime",
"format": "any"
}
]
},
"foreignKeys": [
{
"fields": "user_id",
"reference": {
"resource": "users",
"fields": "id"
}
},
{
"fields": "occurrence_id",
"reference": {
"resource": "occurrences",
"fields": "gbifID"
}
}
]
},
{
"name": "problem-collector-dates",
"path": "problem_collector_dates.csv",
"description": "Associated occurrence records whose eventDates are earlier than a collector's birthDate or later than their deathDate.",
"format": "csv",
"mediatype": "text/csv",
"encoding": "utf-8",
"profile": "tabular-data-resource",
"schema": {
"fields": [
{
"name": "occurrence_id",
"type": "integer"
},
{
"name": "user_id",
"type": "integer"
},
{
"name": "wikidata",
"type": "string"
},
{
"name": "birthDate",
"type": "date",
"rdfType": "https://schema.org/birthDate"
},
{
"name": "birthDatePrecision",
"type": "string",
"description": "Values are year, month, or day and indicate the precision of birthDate; portions of birthDate should be ignored below that of the birthDatePrecision."
},
{
"name": "deathDate",
"type": "date",
"rdfType": "https://schema.org/deathDate"
},
{
"name": "deathDatePrecision",
"type": "string",
"description": "Values are year, month, or day and indicate the precision of deathDate; portions of deathDate should be ignored below that of the deathDatePrecision."
},
{
"name": "eventDate",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/eventDate"
},
{
"name": "year",
"type": "string",
"rdfType": "http://rs.tdwg.org/dwc/terms/year"
}
]
},
"foreignKeys": [
{
"fields": "user_id",
"reference": {
"resource": "users",
"fields": "id"
}
},
{
"fields": "occurrence_id",
"reference": {
"resource": "occurrences",
"fields": "gbifID"
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment