mold_cli/types/schema.rs
1use super::object::ObjectType;
2
3#[derive(Debug, Clone, PartialEq)]
4pub enum SchemaType {
5 String,
6 Number,
7 Integer,
8 Boolean,
9 Null,
10 DateTime,
11 Date,
12 Uuid,
13 Email,
14 Url,
15 Enum(Vec<String>),
16 Array(Box<SchemaType>),
17 Object(ObjectType),
18 Optional(Box<SchemaType>),
19 Union(Vec<SchemaType>),
20 Any,
21}