-
Notifications
You must be signed in to change notification settings - Fork 9
TG2-VALIDATION_OCCURRENCESTATUS_STANDARD #116
Copy link
Copy link
Closed
Labels
CODEDCORETG2 CORE testsTG2 CORE testsConformanceOTHERParameterizedTest requires a parameterTest requires a parameterTG2TestTests created by TG2, either CORE, Supplementary or DO NOT IMPLEMENTTests created by TG2, either CORE, Supplementary or DO NOT IMPLEMENTVOCABULARYValidation
Description
godfoder
opened on Jan 17, 2018
Issue body actions
| TestField | Value |
|---|---|
| GUID | 7af25f1e-a4e2-4ff4-b161-d1f25a5c3e47 |
| Label | VALIDATION_OCCURRENCESTATUS_STANDARD |
| Description | Does the value of dwc:occurrenceStatus occur in the bdq:sourceAuthority? |
| TestType | Validation |
| Darwin Core Class | dwc:Occurrence |
| Information Elements ActedUpon | dwc:occurrenceStatus |
| Information Elements Consulted | |
| Expected Response | EXTERNAL_PREREQUISITES_NOT_MET if the bdq:sourceAuthority is not available; INTERNAL_PREREQUISITES_NOT_MET if dwc:occurrenceStatus is bdq:Empty; COMPLIANT if the value of dwc:occurrenceStatus is resolved in the bdq:sourceAuthority; otherwise NOT_COMPLIANT |
| Data Quality Dimension | Conformance |
| Term-Actions | OCCURRENCESTATUS_STANDARD |
| Parameter(s) | bdq:sourceAuthority |
| Source Authority | bdq:sourceAuthority default = "Regex present/absent" {["^(present|absent)$"]} |
| Specification Last Updated | 2025-02-18 |
| Examples | [dwc:occurrenceStatus="present": Response.status=RUN_HAS_RESULT, Response.result=COMPLIANT, Response.comment="dwc:occurrenceStatus matches a term in the bdq:sourceAuthority"] |
| [dwc:occurrenceStatus="presence": Response.status=RUN_HAS_RESULT, Response.result=NOT_COMPLIANT, Response.comment="dwc:occurrenceStatus does not match a term in the bdq:sourceAuthority"] | |
| Source | ALA |
| References | |
| Example Implementations (Mechanisms) | Kurator/FilteredPush rec_occur_qc Library DOI: 10.5281/zenodo.14968501 |
| Link to Specification Source Code | https://github.com/FilteredPush/rec_occur_qc/blob/v1.0.1/src/main/java/org/filteredpush/qc/metadata/DwCMetadataDQ.java#L418 |
| Notes | The recommended controlled vocabulary for this term consists of "present" and "absent", which are the only two appropriate terms for a Darwin Core Occurrence. This is reflected in the dwc:occurrenceStatus vocabulary for this test. There is currently a mismatch between the (authoritative) lower case values at https://dwc.tdwg.org/terms/#dwc:occurrenceStatus and the vocabulary at GBIF (https://api.gbif.org/v1/vocabularies/OccurrenceStatus/concepts), which capitalized the first character. This test must return NOT_COMPLIANT if there are case differences, leading or trailing whitespace or there are leading or trailing non-printing characters. |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CODEDCORETG2 CORE testsTG2 CORE testsConformanceOTHERParameterizedTest requires a parameterTest requires a parameterTG2TestTests created by TG2, either CORE, Supplementary or DO NOT IMPLEMENTTests created by TG2, either CORE, Supplementary or DO NOT IMPLEMENTVOCABULARYValidation