pub mod association;
pub mod conformant_info;
pub mod node_selector;
pub mod non_conformant_info;
pub mod pattern;
pub mod query_shape_map;
pub mod result_shape_map;
pub mod shacl_path_ref;
pub mod shape_selector;
#[allow(clippy::module_inception)]
pub mod shapemap;
pub mod shapemap_config;
pub mod shapemap_error;
pub mod shapemap_state;
pub mod validation_status;
pub use association::*;
pub use conformant_info::*;
pub use node_selector::*;
pub use non_conformant_info::*;
pub use pattern::*;
pub use query_shape_map::*;
pub use result_shape_map::*;
pub use shacl_path_ref::*;
pub use shape_selector::*;
pub use shapemap::*;
pub use shapemap_config::*;
pub use shapemap_error::*;
pub use shapemap_state::*;
pub use validation_status::*;
#[derive(Debug, Clone, PartialEq, Default)]
pub enum ShapeMapFormat {
#[default]
Compact,
Json,
Csv,
}
impl ShapeMapFormat {
pub fn mime_type(&self) -> &str {
match self {
ShapeMapFormat::Compact => "text/plain",
ShapeMapFormat::Json => "application/json",
ShapeMapFormat::Csv => "text/csv",
}
}
}