pub const PEOPLE: &str = include_str!("../schemas/people.schema.json");
pub const PRODUCTS: &str = include_str!("../schemas/products.schema.json");
pub const CUSTOMERS: &str = include_str!("../schemas/customers.schema.json");
pub const CHATS: &str = include_str!("../schemas/chats.schema.json");
pub const REPOS: &str = include_str!("../schemas/repos.schema.json");
pub fn for_entity(name: &str) -> Option<&'static str> {
match name {
"people" => Some(PEOPLE),
"products" => Some(PRODUCTS),
"customers" => Some(CUSTOMERS),
"chats" => Some(CHATS),
"repos" => Some(REPOS),
_ => None,
}
}