Intermediate Provenance JSON

From Kurator
Jump to: navigation, search

Output of the FP-Akka QC workflow is structured data consisting of records with proposed changes, and provenance data added by each actor in the workflow describing assertions made about that record.

Example

A JSON array of one or many "Records"

 [{
 	"Record" : {
 		"eventDate" : "1700-01-01",
 		"institutionID" : "b4640710-8e03-11d8-b956-b8a03c50a862",
 		"oaiid" : "SCAN.occurrence.1086029",
 		"identifiedBy" : "[no agent data], [no agent data]",
 		"id" : "5419c4b73f8b9ee925840a24",
 		"family" : "Lycaenidae",
 		"catalogNumber" : "51746",
 		"recordedBy" : "[no agent data]",
 		"stateProvince" : "California",
 		"year" : "1700",
 		"specificEpithet" : "marina",
 		"verbatimEventDate" : "no date",
 		"scientificName" : "Leptotes marina",
 		"individualCount" : "1",
 		"scientificNameAuthorship" : "(Reakirt, 1868)",
 		"genus" : "Leptotes",
 		"ownerInstitutionCode" : "MCZ",
 		"country" : "United States",
 		"modified" : "2014-01-10 10:24:23",
 		"basisOfRecord" : "PreservedSpecimen",
 		"institutionCode" : "MCZ",
 		"ValidationState" : {
 			"eventDate" : "CORRECT",
 			"scientificName" : "CORRECT",
 			"scientificNameAuthorship" : "CORRECT"
 		},
 		"dynamicProperties" : "collection: A. G. Weeks Collection; life stage: Adult",
 		"month" : "1",
 		"day" : "1",
 		"language" : "en"
 	},
 	"Markers" : {
 		"ScientificNameValidator" : "CORRECT",
 		"DateValidator" : "CORRECT",
 		"Kuration Workflow" : "UNABLE_DETERMINE_VALIDITY",
 		"GeoRefValidator" : "UNABLE_DETERMINE_VALIDITY"
 	},
 	"ActorDetails" : [
 		{
 			"Source" : "Filteredpush Entomologists List",
 			"eventDate" : "CORRECT: 1700-01-01",
 			"ValidationState" : {
 				"eventDate" : "CORRECT"
 			},
 			"Actor Name" : "DateValidator",
 			"Comment" : " | eventDate is consistent with atomic fields | eventDate is consistent with modified date",
 			"Actor Result" : "CORRECT"
 		},
 		{
 			"Source" : "Global Name Resolver | Catalog of Life",
 			"scientificName" : "CORRECT: Leptotes marina",
 			"ValidationState" : {
 				"scientificName" : "CORRECT",
 				"scientificNameAuthorship" : "CORRECT"
 			},
 			"Actor Name" : "ScientificNameValidator",
 			"Comment" : "| can't construct sciName from atomic fields | The provided name: Leptotes+marina is valid after checking misspelling | The original SciName and Authorship are valid",
 			"scientificNameAuthorship" : "CORRECT: (Reakirt, 1868)",
 			"Actor Result" : "CORRECT"
 		},
 		{
 			"Source" : null,
 			"ValidationState" : {
 				
 			},
 			"Actor Name" : "GeoRefValidator",
 			"Comment" : "Both longitude and latitude are missing in the incoming SpecimenRecord",
 			"Actor Result" : "UNABLE_DETERMINE_VALIDITY"
 		}
 	]
 }]