[{"data":1,"prerenderedAt":433},["ShallowReactive",2],{"navigation":3,"docs-navigation":133,"docs-/docs/core-concepts/data-structure":175,"docs-/docs/core-concepts/data-structure-surround":428},[4,16,31,61,87,109,119],{"title":5,"path":6,"stem":7,"children":8,"icon":15},"Getting Started","/docs/getting-started","1.docs/1.getting-started/1.index",[9,11],{"title":10,"path":6,"stem":7},"Introduction",{"title":12,"path":13,"stem":14},"Quick Start","/docs/getting-started/quick-start","1.docs/1.getting-started/2.quick-start","i-lucide-book-open",{"title":17,"icon":18,"path":19,"stem":20,"children":21,"page":30},"Core Concepts","i-lucide-lightbulb","/docs/core-concepts","1.docs/2.core-concepts",[22,26],{"title":23,"path":24,"stem":25},"Data Structure","/docs/core-concepts/data-structure","1.docs/2.core-concepts/1.data-structure",{"title":27,"path":28,"stem":29},"Roles & Permissions","/docs/core-concepts/roles-and-permissions","1.docs/2.core-concepts/2.roles-and-permissions",false,{"title":32,"icon":33,"path":34,"stem":35,"children":36,"page":30},"Managing Assets","i-lucide-package","/docs/managing-assets","1.docs/3.managing-assets",[37,41,45,49,53,57],{"title":38,"path":39,"stem":40},"Asset List","/docs/managing-assets/asset-list","1.docs/3.managing-assets/1.asset-list",{"title":42,"path":43,"stem":44},"Add & Edit Assets","/docs/managing-assets/add-edit-asset","1.docs/3.managing-assets/2.add-edit-asset",{"title":46,"path":47,"stem":48},"Statuses & Conditions","/docs/managing-assets/asset-status","1.docs/3.managing-assets/3.asset-status",{"title":50,"path":51,"stem":52},"Photos","/docs/managing-assets/photos","1.docs/3.managing-assets/4.photos",{"title":54,"path":55,"stem":56},"Geolocation","/docs/managing-assets/geolocation","1.docs/3.managing-assets/5.geolocation",{"title":58,"path":59,"stem":60},"Barcode Scanning","/docs/managing-assets/barcode-scanning","1.docs/3.managing-assets/6.barcode-scanning",{"title":62,"icon":63,"path":64,"stem":65,"children":66,"page":30},"Data Management","i-lucide-database","/docs/data-management","1.docs/4.data-management",[67,71,75,79,83],{"title":68,"path":69,"stem":70},"Categories & Types","/docs/data-management/categories-and-types","1.docs/4.data-management/1.categories-and-types",{"title":72,"path":73,"stem":74},"Locations","/docs/data-management/locations","1.docs/4.data-management/2.locations",{"title":76,"path":77,"stem":78},"Import","/docs/data-management/import","1.docs/4.data-management/3.import",{"title":80,"path":81,"stem":82},"Export","/docs/data-management/export","1.docs/4.data-management/4.export",{"title":84,"path":85,"stem":86},"Reports","/docs/data-management/reports","1.docs/4.data-management/5.reports",{"title":88,"icon":89,"path":90,"stem":91,"children":92,"page":30},"Organisation","i-lucide-building-2","/docs/organisation","1.docs/5.organisation",[93,97,101,105],{"title":94,"path":95,"stem":96},"Organisation Settings","/docs/organisation/organisation-settings","1.docs/5.organisation/1.organisation-settings",{"title":98,"path":99,"stem":100},"Members","/docs/organisation/members","1.docs/5.organisation/2.members",{"title":102,"path":103,"stem":104},"Custom Configuration","/docs/organisation/custom-configuration","1.docs/5.organisation/3.custom-configuration",{"title":106,"path":107,"stem":108},"Your Profile","/docs/organisation/your-profile","1.docs/5.organisation/4.your-profile",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":30},"Mobile & Sync","i-lucide-smartphone","/docs/mobile-and-sync","1.docs/6.mobile-and-sync",[115],{"title":116,"path":117,"stem":118},"Mobile App","/docs/mobile-and-sync/mobile-app","1.docs/6.mobile-and-sync/1.mobile-app",{"title":120,"icon":121,"path":122,"stem":123,"children":124,"page":30},"Troubleshooting","i-lucide-wrench","/docs/troubleshooting","1.docs/7.troubleshooting",[125,129],{"title":126,"path":127,"stem":128},"Common Issues","/docs/troubleshooting/common-issues","1.docs/7.troubleshooting/1.common-issues",{"title":130,"path":131,"stem":132},"Clear Browser Cache","/docs/troubleshooting/clear-browser-cache","1.docs/7.troubleshooting/2.clear-browser-cache",[134],{"title":135,"path":136,"stem":137,"children":138,"page":30},"Docs","/docs","1.docs",[139,143,147,155,162,168,171],{"title":5,"path":6,"stem":7,"children":140,"icon":15},[141,142],{"title":10,"path":6,"stem":7},{"title":12,"path":13,"stem":14},{"title":17,"icon":18,"path":19,"stem":20,"children":144,"page":30},[145,146],{"title":23,"path":24,"stem":25},{"title":27,"path":28,"stem":29},{"title":32,"icon":33,"path":34,"stem":35,"children":148,"page":30},[149,150,151,152,153,154],{"title":38,"path":39,"stem":40},{"title":42,"path":43,"stem":44},{"title":46,"path":47,"stem":48},{"title":50,"path":51,"stem":52},{"title":54,"path":55,"stem":56},{"title":58,"path":59,"stem":60},{"title":62,"icon":63,"path":64,"stem":65,"children":156,"page":30},[157,158,159,160,161],{"title":68,"path":69,"stem":70},{"title":72,"path":73,"stem":74},{"title":76,"path":77,"stem":78},{"title":80,"path":81,"stem":82},{"title":84,"path":85,"stem":86},{"title":88,"icon":89,"path":90,"stem":91,"children":163,"page":30},[164,165,166,167],{"title":94,"path":95,"stem":96},{"title":98,"path":99,"stem":100},{"title":102,"path":103,"stem":104},{"title":106,"path":107,"stem":108},{"title":110,"icon":111,"path":112,"stem":113,"children":169,"page":30},[170],{"title":116,"path":117,"stem":118},{"title":120,"icon":121,"path":122,"stem":123,"children":172,"page":30},[173,174],{"title":126,"path":127,"stem":128},{"title":130,"path":131,"stem":132},{"id":176,"title":23,"body":177,"description":422,"extension":423,"meta":424,"navigation":425,"path":24,"seo":426,"stem":25,"__hash__":427},"docs/1.docs/2.core-concepts/1.data-structure.md",{"type":178,"value":179,"toc":412},"minimark",[180,184,196,200,211,222,244,247,250,253,259,271,276,279,301,305,335,339,402,405],[181,182,23],"h1",{"id":183},"data-structure",[185,186,187,188,192,193,195],"p",{},"batapp organises assets in a simple hierarchy: ",[189,190,191],"strong",{},"Category → Type → Asset",". Assets are also assigned to ",[189,194,72],{},", which have their own hierarchy.",[197,198,191],"h2",{"id":199},"category-type-asset",[185,201,202,203,206,207,210],{},"Every asset must belong to a ",[189,204,205],{},"type",", and every type must belong to a ",[189,208,209],{},"category",".",[212,213,218],"pre",{"className":214,"code":216,"language":217},[215],"language-text","Category: IT Equipment\n├── Type: Laptop\n│   ├── Asset: IT-001 (Dell Latitude 5540)\n│   └── Asset: IT-002 (MacBook Pro 14\")\n├── Type: Desktop\n│   └── Asset: IT-003 (HP EliteDesk 800)\n└── Type: Monitor\n    ├── Asset: IT-004 (Dell U2723QE)\n    └── Asset: IT-005 (LG 27UK850)\n\nCategory: Furniture\n├── Type: Desk\n│   └── Asset: FN-001 (Standing Desk)\n└── Type: Chair\n    └── Asset: FN-002 (Ergonomic Office Chair)\n","text",[219,220,216],"code",{"__ignoreMap":221},"",[223,224,225,232,238],"ul",{},[226,227,228,231],"li",{},[189,229,230],{},"Categories"," are broad groupings. Most organisations have 5–10 categories.",[226,233,234,237],{},[189,235,236],{},"Types"," are specific kinds of assets within a category. You'll have many more types than categories.",[226,239,240,243],{},[189,241,242],{},"Assets"," are individual tracked items. Each asset has a unique code.",[185,245,246],{},"When you add an asset, you select a type — the category is determined automatically from the type.",[197,248,72],{"id":249},"locations",[185,251,252],{},"Locations represent where assets physically are. They support a hierarchy through parent–child relationships:",[212,254,257],{"className":255,"code":256,"language":217},[215],"Head Office\n├── Floor 1\n│   ├── Reception\n│   └── Meeting Room A\n└── Floor 2\n    ├── Open Plan\n    └── Server Room\n\nWarehouse\n└── Bay 3\n",[219,258,256],{"__ignoreMap":221},[185,260,261,262,265,266,270],{},"Each location has a ",[189,263,264],{},"path"," that's built automatically from the hierarchy (e.g. ",[267,268,269],"em",{},"Head Office / Floor 2 / Server Room",").",[272,273,275],"h3",{"id":274},"location-types","Location Types",[185,277,278],{},"Locations are one of two types:",[223,280,281,287],{},[226,282,283,286],{},[189,284,285],{},"Asset location"," — Can have assets assigned to it. Has a code. These are the locations you'll select when adding or moving assets.",[226,288,289,292,293,296,297,300],{},[189,290,291],{},"Grouping location"," — Organisational only. Used to build the hierarchy (e.g. ",[267,294,295],{},"Head Office"," might be a grouping, while ",[267,298,299],{},"Reception"," is an asset location).",[272,302,304],{"id":303},"planning-tips","Planning Tips",[223,306,307,313,319,329],{},[226,308,309,312],{},[189,310,311],{},"Keep it practical"," — Mirror your physical layout. Don't create locations you won't use.",[226,314,315,318],{},[189,316,317],{},"Use grouping locations"," for buildings or floors that don't directly hold assets.",[226,320,321,324,325,328],{},[189,322,323],{},"Codes matter"," — Asset location codes appear in reports and exports. Choose meaningful codes (e.g. ",[219,326,327],{},"HO-F2-SR"," for Head Office Floor 2 Server Room).",[226,330,331,334],{},[189,332,333],{},"You can restructure later"," — Locations can be reparented, so don't worry about getting it perfect on day one.",[197,336,338],{"id":337},"how-it-all-fits-together","How It All Fits Together",[340,341,342,358],"table",{},[343,344,345],"thead",{},[346,347,348,352,355],"tr",{},[349,350,351],"th",{},"Entity",[349,353,354],{},"Belongs to",[349,356,357],{},"Has many",[359,360,361,371,380,391],"tbody",{},[346,362,363,367,369],{},[364,365,366],"td",{},"Category",[364,368,88],{},[364,370,236],{},[346,372,373,376,378],{},[364,374,375],{},"Type",[364,377,366],{},[364,379,242],{},[346,381,382,385,388],{},[364,383,384],{},"Asset",[364,386,387],{},"Type + Location",[364,389,390],{},"Events",[346,392,393,396,399],{},[364,394,395],{},"Location",[364,397,398],{},"Parent location (optional)",[364,400,401],{},"Child locations, Assets",[185,403,404],{},"Every asset in your register has a category (via its type), a location, a status, and optionally a condition, assignee, purchase information, photos, and custom field values.",[185,406,407],{},[408,409],"img",{"alt":410,"src":411},"Data structure overview","/docs/images/core-concepts/data-structure.png",{"title":221,"searchDepth":413,"depth":413,"links":414},2,[415,416,421],{"id":199,"depth":413,"text":191},{"id":249,"depth":413,"text":72,"children":417},[418,420],{"id":274,"depth":419,"text":275},3,{"id":303,"depth":419,"text":304},{"id":337,"depth":413,"text":338},"Understand how categories, types, assets, and locations relate to each other in batapp.","md",{},true,{"title":23,"description":422},"qhONOdin-0IRWKve8iqlggqKMX8dNlgqyVYVRV2tUSA",[429,431],{"title":12,"path":13,"stem":14,"description":430,"children":-1},"Get up and running with batapp — from sign-up to your first tracked asset.",{"title":27,"path":28,"stem":29,"description":432,"children":-1},"Understand the four roles in batapp and what each one can do.",1790086836716]