{"action":"created","issue":{"url":"https://api.github.com/repos/StraboSpot/strabo-mobile/issues/78","labels_url":"https://api.github.com/repos/StraboSpot/strabo-mobile/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/StraboSpot/strabo-mobile/issues/78/comments","events_url":"https://api.github.com/repos/StraboSpot/strabo-mobile/issues/78/events","html_url":"https://github.com/StraboSpot/strabo-mobile/issues/78","id":60719091,"number":78,"title":"Form Generation with KoBo Toolbox","user":{"login":"jessica-azgs","id":1493985,"avatar_url":"https://avatars.githubusercontent.com/u/1493985?v=3","gravatar_id":"","url":"https://api.github.com/users/jessica-azgs","html_url":"https://github.com/jessica-azgs","followers_url":"https://api.github.com/users/jessica-azgs/followers","following_url":"https://api.github.com/users/jessica-azgs/following{/other_user}","gists_url":"https://api.github.com/users/jessica-azgs/gists{/gist_id}","starred_url":"https://api.github.com/users/jessica-azgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessica-azgs/subscriptions","organizations_url":"https://api.github.com/users/jessica-azgs/orgs","repos_url":"https://api.github.com/users/jessica-azgs/repos","events_url":"https://api.github.com/users/jessica-azgs/events{/privacy}","received_events_url":"https://api.github.com/users/jessica-azgs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-11T19:54:02Z","updated_at":"2015-03-18T00:05:31Z","closed_at":null,"body":"We need to have the data that should be collected laid out clearly in a standardized format. We will use [KoBo Toolbox](http://www.kobotoolbox.org/) for this. Login [here](http://kf.kobotoolbox.org).\r\n\r\nCurrently we will manually code the data collection fields in the app but it would be highly beneficial to eventually find a way to generate the form in the app automatically given the xls or xml created by KoBo. Discussion for this is in issue #50.\r\n\r\nI'm assuming there will be quite a few forms for the different data that needs to be collected.\r\n\r\nEach form needs to:\r\n- specify what type of map representation it applies to (point, line and/or polygon) \r\n  - or if it is not spatially referenced in itself (like a grouping of spots)\r\n\r\nEach field needs to be given:\r\n- Question\r\n- Data Column Name\r\n- Question Hint (if applicable)\r\n- Mandatory Response (Yes or No)\r\n- Default Response (if applicable)\r\n- Skip Logic (if applicable)\r\n- Validation Criteria (if applicable)\r\n  - Error Message\r\n\r\nIf the Skip Logic starts getting too complicated on one form it may need to be split into multiple forms.\r\n\r\nWhen a point, line or polygon is placed on a map the app can first ask which form to open (what type of data are you collecting). We can have a settings section and different forms can be turned on or off. Then when it asks which form to open the choices will only be the forms that user has turned on. \r\n\r\nWhen a spot is created from the spot menu there should also be an option (besides the options for the forms that are turned on) to create a non-georeferenced spot grouping. This will give the user the opportunity to group other spots and specify the condition on which they're grouped.\r\n\r\nThat's how I'm envisioning it. Let me know if you're thinking something different."},"comment":{"url":"https://api.github.com/repos/StraboSpot/strabo-mobile/issues/comments/82648038","html_url":"https://github.com/StraboSpot/strabo-mobile/issues/78#issuecomment-82648038","issue_url":"https://api.github.com/repos/StraboSpot/strabo-mobile/issues/78","id":82648038,"user":{"login":"jessica-azgs","id":1493985,"avatar_url":"https://avatars.githubusercontent.com/u/1493985?v=3","gravatar_id":"","url":"https://api.github.com/users/jessica-azgs","html_url":"https://github.com/jessica-azgs","followers_url":"https://api.github.com/users/jessica-azgs/followers","following_url":"https://api.github.com/users/jessica-azgs/following{/other_user}","gists_url":"https://api.github.com/users/jessica-azgs/gists{/gist_id}","starred_url":"https://api.github.com/users/jessica-azgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessica-azgs/subscriptions","organizations_url":"https://api.github.com/users/jessica-azgs/orgs","repos_url":"https://api.github.com/users/jessica-azgs/repos","events_url":"https://api.github.com/users/jessica-azgs/events{/privacy}","received_events_url":"https://api.github.com/users/jessica-azgs/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T00:05:31Z","updated_at":"2015-03-18T00:05:31Z","body":"The big-picture content models which @smrazgs came up with are:\r\n\r\nPoint Representation:\r\n- Rock Description\r\n- Orientation\r\n- Fault Outcrop\r\n- Contact Outcrop\r\n- Sample\r\n- Other Notes\r\n\r\nLine Representation:\r\n- Fault Trace  (same as Fault Outcrop above)\r\n- Contact Trace  (same Contact Outcrop above)\r\n- Hinge Surface Trace\r\n- Other Notes (same as Other Notes above)\r\n\r\nPolygon Representation\r\n- Rock Description (same as Rock Description above)\r\n- Other Notes (same as Other Notes above)"}}