-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
… changing data values to be consistent with basis of record, adding explicit alternative vocabularies, clarifying human readable messages, adding column to specify source authority, adding cases for all valid vocabulary values, adding a range of cases for problematic values.
- Loading branch information
Showing
1 changed file
with
30 additions
and
10 deletions.
There are no files selected for viewing
40 changes: 30 additions & 10 deletions
40
tg2/core/testdata/testdata_VALIDATION_BASISOFRECORD_NOTSTANDARD_#104.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,30 @@ | ||
"dwc:basisOfRecord","bdq:sourceAuthority.response","Response.Status","Response.Result","Response.Comment","Explanation" | ||
"present","present","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. dwc:basisOfRecord matches term in dwc vocabulary]","In this case bdq:sourceAuthority= dwc vocabulary" | ||
"Presence",,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. dwc:basisOfRecord does not match terms in dwc vocabulary]","In this case bdq:sourceAuthority= dwc vocabulary" | ||
"anyOldTerm",,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. dwc:basisOfRecord does not match terms in dwc vocabulary]","In this case bdq:sourceAuthority= dwc vocabulary" | ||
"…",,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. dwc:basisOfRecord does not match terms in dwc vocabulary]","In this case bdq:sourceAuthority= dwc vocabulary" | ||
"?",,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. dwc:basisOfRecord does not match terms in dwc vocabulary]","In this case bdq:sourceAuthority= dwc vocabulary" | ||
"present",,EXTERNAL_PREREQUISITES_NOT_MET,,"[any human readable explanation, e.g. bdq:sourceAuthority not available]", | ||
" ",,"INTERNAL_PREREQUISITES_NOT_MET",,"[any human readable explanation, e.g. dwc:basisOfRecord is EMPTY]","Field just comprises white space" | ||
,,"INTERNAL_PREREQUISITES_NOT_MET",,"[any human readable explanation, e.g. dwc:basisOfRecord is EMPTY]", | ||
"[non-printing characters]",,"INTERNAL_PREREQUISITES_NOT_MET",,"[any human readable explanation, e.g. dwc:basisOfRecord is EMPTY,","TEMPORARY place holder - need to add examples of some non-printing characters" | ||
"dwc:basisOfRecord","bdq:sourceAuthority","bdq:sourceAuthority.response","Response.Status","Response.Result","Response.Comment","Explanation" | ||
"Preserved Specimen","https://dwc.tdwg.org/list/","Preserved Specimen","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord matches a standard label of one of the Darwin Core classes]", | ||
"Living Specimen",,"Living Specimen","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord matches a standard label of one of the Darwin Core classes]","Default bdq:sourceAuthority vocabulary is the class terms in DarwinCore, see: https://dwc.tdwg.org/list/" | ||
"Fossil Specimen",,"Fossil Specimen","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord matches a standard label of one of the Darwin Core classes]", | ||
"Human Observation",,"Human Observation","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord matches a standard label of one of the Darwin Core classes]", | ||
"Machine Observation",,"Machine Observation","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord matches a standard label of one of the Darwin Core classes]", | ||
"Taxon",,"Taxon","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord matches a standard label of one of the Darwin Core classes]", | ||
" Preserved Specimen","https://dwc.tdwg.org/list/","Preserved Specimen","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord matches a standard label of one of the Darwin Core classes]","Leading whitespace" | ||
"Preserved Specimen ","https://dwc.tdwg.org/list/","Preserved Specimen","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord matches a standard label of one of the Darwin Core classes]","Trailing whitespace" | ||
" Preserved Specimen ","https://dwc.tdwg.org/list/","Preserved Specimen","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord matches a standard label of one of the Darwin Core classes]","Leading and trailing whitespace" | ||
"Literature",,,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord does not match a standard label of one of the Darwin Core classes]", | ||
"PreservedSpecimen",,,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord does not match a standard label of one of the Darwin Core classes]","Standard label includes a space" | ||
"dwc:PreservedSpecimen",,,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord does not match a standard label of one of the Darwin Core classes]","Standard label does not include the namespace" | ||
"http://rs.tdwg.org/dwc/terms/PreservedSpecimen",,,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord does not match a standard label of one of the Darwin Core classes]","Standard label does not include the namespace" | ||
"Preserved Specimen",,,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord does not match a standard label of one of the Darwin Core classes]","Extra whitespace" | ||
"preserved specimen",,,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord does not match a standard label of one of the Darwin Core classes]","Incorrect capitalization" | ||
"Preserved specimen",,,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord does not match a standard label of one of the Darwin Core classes]","Incorrect capitalization" | ||
"preservedSpecimen",,,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord does not match a standard label of one of the Darwin Core classes]","Standard label not in camel case" | ||
"Presence",,,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord does not match a standard label of one of the Darwin Core classes]", | ||
"anyOldTerm",,,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord does not match a standard label of one of the Darwin Core classes]", | ||
"…",,,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord does not match a standard label of one of the Darwin Core classes]", | ||
"?",,,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord does not match a standard label of one of the Darwin Core classes]", | ||
"present",,"[http 404]","EXTERNAL_PREREQUISITES_NOT_MET",,"[any human readable explanation, e.g. bdq:sourceAuthority service is not available, try again later]", | ||
" ",,,"INTERNAL_PREREQUISITES_NOT_MET",,"[any human readable explanation, e.g. provided value for dwc:basisOfRecord is EMPTY]","provided value comprised of white space" | ||
,,,"INTERNAL_PREREQUISITES_NOT_MET",,"[any human readable explanation, e.g. provided value for dwc:basisOfRecord is EMPTY]", | ||
"",,,"INTERNAL_PREREQUISITES_NOT_MET",,"[any human readable explanation, e.g. provided value for dwc:basisOfRecord is EMPTY]","provided value consists only of non-printing characters (u0007)" | ||
"basisOfRecord",,,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord does not match a standard label of one of the Darwin Core classes]", | ||
"PreservedSpecimen","https://rs.gbif.org/vocabulary/dwc/basis_of_record.xml","PreservedSpecimen","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. dwc:basisOfRecord matches term in the specified source authority vocabulary]", | ||
"Preserved Specimen","https://rs.gbif.org/vocabulary/dwc/basis_of_record.xml",,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value for dwc:basisOfRecord does not match a value in the specified source authority vocabulary]", | ||
"Preserved Specimen","http://rs.tdwg.org/dwc/dwctype.htm","Preserved Specimen","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. dwc:basisOfRecord matches term in the specified source authority vocabulary]","Source authority specified as the deprecated dwcType vocabulary" |