get rid of the option

This commit is contained in:
Brian Hicks 2024-04-10 05:45:50 -05:00
parent eed47bcf50
commit 4da193bbc5
No known key found for this signature in database
GPG Key ID: C4F324B9CAAB0D50

View File

@ -7,7 +7,8 @@ use std::path::Path;
#[derive(Debug, Deserialize)]
pub struct Schema {
pub definitions: Option<BTreeMap<String, jtd::SerdeSchema>>,
#[serde(default)]
pub definitions: BTreeMap<String, jtd::SerdeSchema>,
pub flags: Option<jtd::SerdeSchema>,
}