Something went wrong. Try again.
A human-friendly DSL for ATProto Lexicons
Something went wrong. Try again.
1.4 kB · 62 lines
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263---source: tests/codegen_integration.rsexpression: output.json---{ "$type": "com.atproto.lexicon.schema", "lexicon": 1, "id": "com.example.nested_objects", "defs": { "main": { "type": "record", "key": "tid", "record": { "type": "object", "required": [ "displayName" ], "properties": { "displayName": { "type": "string" }, "metadata": { "type": "object", "required": [ "createdAt" ], "properties": { "createdAt": { "type": "string" }, "settings": { "type": "object", "required": [ "theme" ], "properties": { "theme": { "type": "string" }, "notifications": { "type": "object", "required": [ "email" ], "properties": { "email": { "type": "boolean" }, "push": { "type": "boolean" } } } } } } } } } } }}