A better Rust ATProto crate
103
fork

Configure Feed

Select the types of activity you want to include in your feed.

at pretty-codegen 44 lines 1.3 kB view raw
1{ 2 "lexicon": 1, 3 "id": "test.collision.did", 4 "description": "Test fixture that defines a local type named Did, which collides with jacquard_common::types::string::Did.", 5 "defs": { 6 "main": { 7 "type": "object", 8 "description": "An object that also uses a DID-format string field, exercising the collision path.", 9 "required": ["owner", "identifier"], 10 "properties": { 11 "owner": { 12 "type": "string", 13 "format": "did", 14 "description": "A field typed as DID format, requiring the Did import but colliding with local Did type." 15 }, 16 "identifier": { 17 "type": "ref", 18 "ref": "#did" 19 }, 20 "label": { 21 "type": "string", 22 "maxLength": 200 23 } 24 } 25 }, 26 "did": { 27 "type": "object", 28 "description": "A locally-defined type named Did that collides with the string import.", 29 "required": ["method", "value"], 30 "properties": { 31 "method": { 32 "type": "string", 33 "maxLength": 50, 34 "description": "The DID method (e.g., plc, web)." 35 }, 36 "value": { 37 "type": "string", 38 "maxLength": 256, 39 "description": "The full DID string." 40 } 41 } 42 } 43 } 44}