Skip to content

Commit

Permalink
Merge pull request #363 from tdwg/taxonIDReference
Browse files Browse the repository at this point in the history
Remove taxonIDReference, relax requirements for taxonID
  • Loading branch information
peterdesmet authored Nov 2, 2023
2 parents ebf585d + 6c246d3 commit 3828277
Show file tree
Hide file tree
Showing 4 changed files with 566 additions and 594 deletions.
20 changes: 6 additions & 14 deletions camtrap-dp-profile.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,29 +283,21 @@
"items": {
"type": "object",
"required": [
"taxonID",
"taxonIDReference",
"scientificName"
],
"properties": {
"taxonID": {
"description": "Unique identifier of the taxon according to the taxonomic reference list defined by `taxonIDReference`.",
"skos:exactMatch": "http://rs.tdwg.org/dwc/terms/taxonID",
"type": "string",
"example": "QLXL"
},
"taxonIDReference": {
"description": "URL of the source (reference list) of the `taxonID`.",
"type": "string",
"format": "uri",
"example": "https://www.catalogueoflife.org"
},
"scientificName": {
"description": "Scientific name of the taxon.",
"skos:exactMatch": "http://rs.tdwg.org/dwc/terms/scientificName",
"type": "string",
"example": "Canis lupus"
},
"taxonID": {
"description": "Unique identifier of the taxon. Preferably a global unique identifier issued by an authoritative checklist.",
"skos:exactMatch": "http://rs.tdwg.org/dwc/terms/taxonID",
"type": "string",
"example": "https://www.checklistbank.org/dataset/COL2023/taxon/QLXL"
},
"taxonRank": {
"description": "Taxonomic rank of the scientific name.",
"skos:exactMatch": "http://rs.tdwg.org/dwc/terms/taxonRank",
Expand Down
30 changes: 10 additions & 20 deletions example/datapackage.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,99 +172,89 @@
},
"taxonomic": [
{
"taxonID": "DGP6",
"taxonIDReference": "https://www.checklistbank.org/dataset/COL2023",
"scientificName": "Anas platyrhynchos",
"taxonID": "https://www.checklistbank.org/dataset/COL2023/taxon/DGP6",
"taxonRank": "species",
"vernacularNames": {
"eng": "mallard",
"nld": "wilde eend"
}
},
{
"taxonID": "DGPL",
"taxonIDReference": "https://www.checklistbank.org/dataset/COL2023",
"scientificName": "Anas strepera",
"taxonID": "https://www.checklistbank.org/dataset/COL2023/taxon/DGPL",
"taxonRank": "species",
"vernacularNames": {
"eng": "gadwall",
"nld": "krakeend"
}
},
{
"taxonID": "32FH",
"taxonIDReference": "https://www.checklistbank.org/dataset/COL2023",
"scientificName": "Ardea",
"taxonID": "https://www.checklistbank.org/dataset/COL2023/taxon/32FH",
"taxonRank": "genus",
"vernacularNames": {
"eng": "great herons",
"nld": "reigers"
}
},
{
"taxonID": "GCHS",
"taxonIDReference": "https://www.checklistbank.org/dataset/COL2023",
"scientificName": "Ardea cinerea",
"taxonID": "https://www.checklistbank.org/dataset/COL2023/taxon/GCHS",
"taxonRank": "species",
"vernacularNames": {
"eng": "grey heron",
"nld": "blauwe reiger"
}
},
{
"taxonID": "V2",
"taxonIDReference": "https://www.checklistbank.org/dataset/COL2023",
"scientificName": "Aves",
"taxonID": "https://www.checklistbank.org/dataset/COL2023/taxon/V2",
"taxonRank": "class",
"vernacularNames": {
"eng": "bird sp.",
"nld": "vogel"
}
},
{
"taxonID": "6MB3T",
"taxonIDReference": "https://www.checklistbank.org/dataset/COL2023",
"scientificName": "Homo sapiens",
"taxonID": "https://www.checklistbank.org/dataset/COL2023/taxon/6MB3T",
"taxonRank": "species",
"vernacularNames": {
"eng": "human",
"nld": "mens"
}
},
{
"taxonID": "3Y9VW",
"taxonIDReference": "https://www.checklistbank.org/dataset/COL2023",
"scientificName": "Martes foina",
"taxonID": "https://www.checklistbank.org/dataset/COL2023/taxon/3Y9VW",
"taxonRank": "species",
"vernacularNames": {
"eng": "beech marten",
"nld": "steenmarter"
}
},
{
"taxonID": "44QYC",
"taxonIDReference": "https://www.checklistbank.org/dataset/COL2023",
"scientificName": "Mustela putorius",
"taxonID": "https://www.checklistbank.org/dataset/COL2023/taxon/44QYC",
"taxonRank": "species",
"vernacularNames": {
"eng": "European polecat",
"nld": "bunzing"
}
},
{
"taxonID": "4RM67",
"taxonIDReference": "https://www.checklistbank.org/dataset/COL2023",
"scientificName": "Rattus norvegicus",
"taxonID": "https://www.checklistbank.org/dataset/COL2023/taxon/4RM67",
"taxonRank": "species",
"vernacularNames": {
"eng": "brown rat",
"nld": "bruine rat"
}
},
{
"taxonID": "5BSG3",
"taxonIDReference": "https://www.checklistbank.org/dataset/COL2023",
"scientificName": "Vulpes vulpes",
"taxonID": "https://www.checklistbank.org/dataset/COL2023/taxon/5BSG3",
"taxonRank": "species",
"vernacularNames": {
"eng": "red fox",
Expand Down
Loading

0 comments on commit 3828277

Please sign in to comment.