use std::collections::HashMap;

/// Generic JSON object type
pub type JsonObject = HashMap<String, serde_json::Value>;

/// Generic response type for endpoints that return arbitrary JSON
pub type GenericResponse = serde_json::Value;

/// Response type for endpoints that return a dictionary of strings
pub type StringDictResponse = HashMap<String, String>;

/// Response type for endpoints that return an array of objects
pub type ObjectArrayResponse = Vec<JsonObject>;

/// Response type for endpoints that return an object with additional properties
pub type AdditionalPropertiesResponse = JsonObject;
