Debian Codegraph @

third_party/rust/serde_with/tests/schemars_0_8/snapshots/enum_map.json

raw
1 {
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "title": "Test",
4 "type": "object",
5 "required": [
6 "data"
7 ],
8 "properties": {
9 "data": {
10 "$ref": "#/definitions/EnumMap(Mappable)"
11 }
12 },
13 "definitions": {
14 "EnumMap(Mappable)": {
15 "type": "object",
16 "properties": {
17 "A": {
18 "type": "integer",
19 "format": "int32"
20 },
21 "B": {
22 "type": "string"
23 },
24 "C": {
25 "type": "object",
26 "required": [
27 "c"
28 ],
29 "properties": {
30 "b": {
31 "type": [
32 "integer",
33 "null"
34 ],
35 "format": "uint64",
36 "minimum": 0.0
37 },
38 "c": {
39 "type": "integer",
40 "format": "int32"
41 }
42 }
43 }
44 },
45 "additionalProperties": false
46 }
47 }
48 }