{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"An Example State Tree","llmstxt":{"hide":true}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"an-example-state-tree","__idx":0},"children":["An Example State Tree"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/app-snapshot.5a282d2148973371191480791acf847b5d48f874a5ed2376ee130e2477f722d3.2d428aef.png","alt":"Tidepool Uploader snapshot"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The JSON that follows on this page represents a snapshot of the Tidepool Uploader's application state as shown in the above screenshot. We provide this example mainly as a reference to use while reading the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/uploader/state/statetreeglossary"},"children":["glossary of terms"]}," for the Tidepool Uploader's redux-managed state tree."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"devices\": {\n    \"omnipod\": {\n      \"instructions\": \"Choose .ibf file from PDM\",\n      \"key\": \"omnipod\",\n      \"name\": \"Insulet OmniPod\",\n      \"source\": {\n        \"type\": \"block\",\n        \"driverId\": \"InsuletOmniPod\",\n        \"extension\": \".ibf\"\n      },\n      \"enabled\": {\n        \"mac\": true,\n        \"win\": true\n      }\n    },\n    \"dexcom\": {\n      \"instructions\": \"Plug in receiver with micro-USB\",\n      \"key\": \"dexcom\",\n      \"name\": \"Dexcom\",\n      \"source\": {\n        \"type\": \"device\",\n        \"driverId\": \"Dexcom\"\n      },\n      \"enabled\": {\n        \"mac\": true,\n        \"win\": true\n      }\n    },\n    \"tandem\": {\n      \"instructions\": \"Plug in pump with micro-USB\",\n      \"key\": \"tandem\",\n      \"name\": \"Tandem\",\n      \"source\": {\n        \"type\": \"device\",\n        \"driverId\": \"Tandem\"\n      },\n      \"enabled\": {\n        \"mac\": true,\n        \"win\": true\n      }\n    },\n    \"bayercontournext\": {\n      \"instructions\": \"Plug meter into USB port\",\n      \"key\": \"bayercontournext\",\n      \"name\": \"Bayer Contour Next\",\n      \"source\": {\n        \"type\": \"device\",\n        \"driverId\": \"BayerContourNext\"\n      },\n      \"enabled\": {\n        \"mac\": true,\n        \"win\": true\n      }\n    }\n  },\n  \"dropdown\": true,\n  \"page\": \"MAIN\",\n  \"unsupported\": false,\n  \"blipUrls\": {\n    \"forgotPassword\": \"http://localhost:3000/request-password-from-uploader\",\n    \"signUp\": \"http://localhost:3000/signup\",\n    \"viewDataLink\": \"http://localhost:3000/patients/4a86ec44ff/data\"\n  },\n  \"working\": {\n    \"checkingElectronUpdate\": {\n      \"inProgress\": true || false,\n      \"notification\": null || {\n        \"type\": \"error\",\n        \"message\": \"Error message\"\n      },\n      \"completed\": null || true,\n    },\n    \"checkingVersion\": ...,\n    \"initializingApp\": ...,\n    \"uploading\": ...,\n    \"fetchingPatient\": ...,\n    \"fetchingAssociatedAccounts\": ...,\n    \"loggingIn\": ...,\n    \"loggingOut\": ...,\n    \"creatingCustodialAccount\": ...,\n    \"creatingClinicCustodialAccount\": ...,\n    \"checkingDriverUpdate\": ...,\n    \"fetchingClinicsForClinician\": ...,\n    \"updatingClinicPatient\": ...,\n    \"fetchingPatientsForClinic\": ...,\n    \"updatingProfile\": ...,\n  },\n  \"uploadProgress\": null,\n  \"uploadsByUser\": {\n    \"4a86ec44ff\": {\n      \"bayercontournext\": {\n        \"history\": []\n      }\n    },\n    \"77541c89ba\": {\n      \"omnipod\": {\n        \"history\": []\n      },\n      \"dexcom\": {\n        \"history\": []\n      }\n    },\n    \"a6328f570d\": {\n      \"tandem\": {\n        \"history\": []\n      }\n    },\n    \"a9c0de41c5\": {\n      \"medtronic\": {\n        \"history\": []\n      }\n    }\n  },\n  \"uploadTargetDevice\": null,\n  \"allUsers\": {\n    \"77541c89ba\": {\n      \"fullName\": \"John Doe\",\n      \"patient\": {\n        \"birthday\": \"2014-07-04\",\n        \"diagnosisDate\": \"2016-01-01\",\n        \"about\": \"I'm just a baby!\",\n        \"isOtherPerson\": true,\n        \"fullName\": \"Baby Doe\"\n      }\n    },\n    \"a6328f570d\": {\n      \"fullName\": \"Mary Doe\",\n      \"patient\": {\n        \"birthday\": \"1982-03-15\",\n        \"diagnosisDate\": \"2000-12-25\",\n        \"about\": \"I'm Jane's sister, and I also have type 1.\"\n      }\n    },\n    \"4a86ec44ff\": {\n      \"fullName\": \"Jane Doe\",\n      \"patient\": {\n        \"birthday\": \"1980-07-04\",\n        \"diagnosisDate\": \"1999-04-01\",\n        \"about\": \"No thanks :P\"\n      }\n    },\n    \"4fdc9dd8b4\": {\n      \"username\": \"drdoe+skip@tidepool.org\",\n      \"emails\": [\"drdoe+skip@tidepool.org\"],\n      \"termsAccepted\": \"2016-02-01T15:04:42-08:00\",\n      \"emailVerified\": false,\n      \"fullName\": \"Doctor Doe\"\n    }\n  },\n  \"memberships\": {\n    \"77541c89ba\": {\n      \"permissions\": {\n        \"root\": {}\n      }\n    },\n    \"a6328f570d\": {\n      \"permissions\": {\n        \"upload\": {},\n        \"view\": {}\n      }\n    },\n    \"4a86ec44ff\": {\n      \"permissions\": {\n        \"upload\": {},\n        \"view\": {}\n      }\n    },\n    \"4fdc9dd8b4\": {\n      \"permissions\": {\n        \"upload\": {},\n        \"view\": {}\n      }\n    }\n  },\n  \"loggedInUser\": \"4fdc9dd8b4\",\n  \"loginErrorMessage\": null,\n  \"updateProfileErrorMessage\": null,\n  \"updateProfileErrorDismissed\": null,\n  \"createCustodialAccountErrorMessage\": null,\n  \"createCustodialAccountErrorDismissed\": null,\n  \"electronUpdateManualChecked\": null,\n  \"electronUpdateAvailableDismissed\": null,\n  \"electronUpdateAvailable\": null,\n  \"electronUpdateDownloaded\": false,\n  \"form\": {},\n  \"routing\": {\n    \"locationBeforeTransitions\": {\n      \"pathname\": '/login',\n      \"search\": '',\n      \"hash\": '',\n      \"state\": {\n        \"meta\": {\n          \"source\": 'USER_VISIBLE'\n        }\n      },\n      \"action\": 'PUSH',\n      \"key\": 'h91nnh',\n      \"query\": {}\n    }\n  },\n  \"targetDevices\": {\n    \"77541c89ba\": [\"omnipod\", \"dexcom\"],\n    \"a6328f570d\": [\"tandem\"],\n    \"4a86ec44ff\": [\"medtronic\", \"bayercontournext\"]\n  },\n  \"targetTimezones\": {\n    \"77541c89ba\": \"US/Mountain\",\n    \"4a86ec44ff\": \"US/Central\"\n  },\n  \"targetUsersForUpload\": [\"77541c89ba\", \"a6328f570d\", \"4a86ec44ff\"],\n  \"uploadTargetUser\": \"4a86ec44ff\"\n}\n","lang":"json"},"children":[]}]},"headings":[{"value":"An Example State Tree","id":"an-example-state-tree","depth":1}],"frontmatter":{"seo":{"title":"An Example State Tree"}},"lastModified":"2026-05-28T16:33:56.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/uploader/state/examplestatetree","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}