File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change 1
1
/target
2
- CLAUDE.md
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ pub trait ToJsonSchema {
6
6
fn to_json_schema_document ( & self ) -> serde_json:: Value {
7
7
let mut doc = serde_json:: json!( {
8
8
"$schema" : "https://json-schema.org/draft/2020-12/schema" ,
9
- "$id" : "https://example.com/schema" ,
10
9
"title" : "Inferred Schema" ,
11
10
"description" : "Schema inferred by drivel from sample data"
12
11
} ) ;
@@ -1001,7 +1000,6 @@ mod tests {
1001
1000
document[ "$schema" ] ,
1002
1001
"https://json-schema.org/draft/2020-12/schema"
1003
1002
) ;
1004
- assert_eq ! ( document[ "$id" ] , "https://example.com/schema" ) ;
1005
1003
assert_eq ! ( document[ "title" ] , "Inferred Schema" ) ;
1006
1004
assert_eq ! (
1007
1005
document[ "description" ] ,
You can’t perform that action at this time.
0 commit comments