feat: location schema, architecture, ckanaction update, new test

This commit is contained in:
rzmk 2026-05-05 17:32:27 -04:00
parent d01e05ab48
commit baeb09acb7
7 changed files with 105 additions and 62 deletions

View file

@ -1,4 +1,5 @@
use anyhow::{Result, bail};
use ckan_geoconnex_bulk_runner::schema::get_location_schema;
use serde_json::json;
#[test]
@ -45,7 +46,7 @@ fn validate_usgs_location_jsonld() -> Result<()> {
}
});
let dataset_json_schema = ckan_geoconnex_bulk_runner::get_location_schema();
let dataset_json_schema = get_location_schema();
if let Err(e) = jsonschema::validate(&dataset_json_schema, &usgs_location_jsonld) {
println!("Error during validation:");