odk-cli 0.1.1

ODK CLI - Unified schema compilation from TypeScript, WASM, or JSON to multiple targets
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Schema loaders for various input formats.
//!
//! ODK supports multiple input formats:
//! - **YAML/JSON**: Declarative schema definition
//! - **GraphQL**: SDL schemas and operation documents
//! - **JSON Schema**: standard JSON Schema documents (e.g. schemars output)
//! - **TypeScript**: Programmatic with Zod/ArkType/Valibot
//! - **WASM**: Plugins in any Extism-supported language

pub mod graphql;
pub mod introspect;
pub mod json_schema;
pub mod yaml;

pub use graphql::{load_graphql_operations, load_graphql_schema};
pub use introspect::introspect_schema;
pub use json_schema::{is_json_schema, load_json_schema};
pub use yaml::load_yaml_schema;