Skip to content

Commit

Permalink
Merge pull request #216 from DiSSCo/bug-fix/fix-term-mapping
Browse files Browse the repository at this point in the history
Fix term mapping
  • Loading branch information
samleeflang authored Nov 11, 2024
2 parents de71ae5 + 0957d06 commit 5267938
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@
"type": "string",
"format": "url",
"description": "License of the service, https://schema.org/license",
"examples": "https://opensource.org/licenses/Apache-2.0"
"examples": [
"https://opensource.org/licenses/Apache-2.0"
]
},
"ods:dependency": {
"type": "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
]
],
"items": {
"$ref": "https://schemas.dissco.tech/schemas/fdo-type/data-mapping/0.4.0/field-mapping.json"
"$ref": "https://schemas.dissco.tech/schemas/fdo-type/data-mapping/0.4.0/term-mapping.json"
}
},
"ods:mappingDataStandard": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$id": "https://schemas.dissco.tech/schemas/fdo-type/data-mapping/0.4.0/field-mapping.json",
"$id": "https://schemas.dissco.tech/schemas/fdo-type/data-mapping/0.4.0/term-mapping.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "Field Mapping Version 0.4.0",
"title": "Field Mapping",
"$comment": "Term Mapping Version 0.4.0",
"title": "Term Mapping",
"type": "object"
}
Original file line number Diff line number Diff line change
Expand Up @@ -227,14 +227,6 @@
"https://creativecommons.org/licenses/by-nc-sa/4.0/"
]
},
"xmpRights:Owner": {
"type": "string",
"description": "A list of legal owners of the resource",
"examples": [
"Unknown",
"Naturalis Biodiversity Center"
]
},
"dcterms:available": {
"type": "string",
"description": "Date (often a range) that the resource became or will become available",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"Other Geodiversity",
"Unclassified"
],
"$['ods:hasEvent'][*]['ods:Location']['dwc:locality']": [
"$['ods:hasEvents'][*]['ods:hasLocation']['dwc:locality']": [
"*"
]
}
Expand Down

0 comments on commit 5267938

Please sign in to comment.