{"openapi":"3.0.4","info":{"title":"Account","version":"0.0.1"},"paths":{},"components":{"schemas":{"Account":{"required":["code","status","type"],"type":"object","properties":{"code":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string","description":"The code given for the Account."},"description":{"maxLength":1024,"minLength":0,"pattern":"^[\\s\\S]*$","type":"string","description":"A description for the Account.","nullable":true},"type":{"minLength":1,"type":"string","description":"The Account type. Available values: Asset, Liabilities, Income, Expense, Capital, Revenue."},"status":{"enum":["Active","Inactive","Deleted"],"type":"string","description":"The Account status. Available values: Active, Inactive, Deleted."},"control":{"type":"string","description":"This allows users to specify whether this a protected Account that prevents direct manual journal adjustment. Default value: Manual. Available values: Manual, System.","nullable":true},"properties":{"type":"object","additionalProperties":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/Property"},"description":"A set of properties for the Account.","nullable":true}},"additionalProperties":false,"description":"An account","title":"Account"}}}}