rustmotion_core/schema/mod.rs
1pub mod animation;
2pub mod background;
3pub mod scenario;
4pub mod shake;
5pub mod style;
6pub mod time;
7pub mod video;
8
9pub use animation::*;
10pub use background::*;
11pub use scenario::*;
12pub use shake::*;
13pub use style::*;
14pub use time::*;
15pub use video::*;
16
17pub fn generate_json_schema() -> serde_json::Value {
18 let schema = schemars::schema_for!(scenario::Scenario);
19 serde_json::to_value(schema).unwrap()
20}