{ "lexicon": 1, "id": "com.atproto.server.createInviteCode", "defs": { "main": { "type": "procedure", "description": "Create an invite code.", "input": { "encoding": "application/json", "schema": { "type": "object", "required": [ "useCount" ], "properties": { "forAccount": { "type": "string", "format": "did" }, "useCount": { "type": "integer" } } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": [ "code" ], "properties": { "code": { "type": "string" } } } } } } }