A better Rust ATProto crate
1{
2 "lexicon": 1,
3 "id": "test.ns1.defs",
4 "description": "Cross-namespace test: defines types referenced by test.ns2.",
5 "defs": {
6 "foo": {
7 "type": "object",
8 "description": "A type defined in ns1, referenced cross-namespace by ns2.",
9 "required": ["name"],
10 "properties": {
11 "name": {
12 "type": "string",
13 "maxLength": 100
14 },
15 "value": {
16 "type": "integer"
17 }
18 }
19 },
20 "bar": {
21 "type": "object",
22 "description": "Another type in ns1 for cross-namespace ref testing.",
23 "required": ["tag"],
24 "properties": {
25 "tag": {
26 "type": "string",
27 "maxLength": 50
28 }
29 }
30 }
31 }
32}