unmbt/ciallo/schema does not have a README file
pub(open) trait Schema {
fn schema_node(_proxy : Self?) -> SchemaNode
fn schema_ref(_proxy : Self?) -> SchemaNode = _
fn schema_id(_proxy : Self?) -> String? = _
fn contains_dynamic_or_sensitive(_proxy : Self?) -> Bool = _
}fn schema_id(_proxy : Bool?) -> String?fn schema_id(_proxy : Int?) -> String?fn schema_id(_proxy : Int64?) -> String?fn schema_id(_proxy : UInt?) -> String?fn schema_id(_proxy : UInt64?) -> String?fn schema_id(_proxy : Float?) -> String?fn schema_id(_proxy : Double?) -> String?fn schema_id(_proxy : String?) -> String?impl Schema for FixedArray[T]impl Schema for ReadOnlyArray[T]pub(all) suberror ValidationError {
InvalidInput(issues~ : Array[ValidationIssue])
} derive(Eq, Debug)impl FromJson for Base64Bytesimpl ToJson for Base64Bytesimpl Schema for Base64Bytespub(all) struct ObjectField {
name : String
schema : SchemaNode
required : Bool
description : String?
} derive(Eq, Debug)fn ObjectField::ObjectField(name : String, schema : SchemaNode, required? : Bool, description? : String) -> ObjectFieldfn SchemaMeta::SchemaMeta(description? : String, format? : String, pattern? : String, default? : Json, deprecated? : Bool) -> SchemaMetapub(all) enum SchemaNode {
Any
Empty
Null
Boolean(meta~ : SchemaMeta)
Integer(min~ : Int64?, max~ : Int64?, meta~ : SchemaMeta)
Int64String(min~ : Int64?, max~ : Int64?, meta~ : SchemaMeta)
Number(min~ : Double?, max~ : Double?, meta~ : SchemaMeta)
String(min_len~ : Int?, max_len~ : Int?, meta~ : SchemaMeta)
Array(items~ : SchemaNode, min_items~ : Int?, max_items~ : Int?, meta~ : SchemaMeta)
Record(value~ : SchemaNode, meta~ : SchemaMeta)
Object(fields~ : Array[ObjectField], additional_properties~ : Bool, schema_id~ : String?, meta~ : SchemaMeta)
Enum(values~ : Array[String], meta~ : SchemaMeta)
Union(variants~ : Array[SchemaNode], meta~ : SchemaMeta)
Nullable(SchemaNode)
Ref(SchemaRef)
} derive(Eq, Debug)fn SchemaNode::array(items : SchemaNode, min_items? : Int, max_items? : Int, meta? : SchemaMeta) -> SchemaNodefn SchemaNode::object(fields : Array[ObjectField], additional_properties? : Bool, schema_id? : String, meta? : SchemaMeta) -> SchemaNodepub struct SchemaRef {
id : String
// private fields
}fn coerce_query_params(raw : Map[String, Array[String]], schema : SchemaNode) -> Json raise ValidationErrorInstall
Download zipCross-runtime MoonBit web framework with explicit 9-stage lifecycle, scoped encapsulation, typed routes, schema normalization, and OpenAPI 3.1