Last active
March 19, 2020 14:53
-
-
Save rudenoise/10dc9293fe3117fe42616748c9f228ed to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"token": "home", | |
"view": "path/to/home/view" | |
}, | |
{ | |
"token": "applicant", | |
"view": "path/to/contact/view", | |
"subSteps": [ | |
{ | |
"token": "a-sub-detail", | |
"view": "/path/to/sub-detail-view", | |
"comment": "this would combine tokens to form path e.g.: applicant/a-sub-detail" | |
} | |
] | |
}, | |
{ | |
"token": "decision", | |
"view": "path/to/decision/view", | |
"query": "postcodeLookUpEnabled", | |
"when": { | |
"yes": [ | |
{ | |
"token": "a-sub-detail", | |
"view": "/path/to/sub-detail-view" | |
} | |
], | |
"no": [ | |
"path/to/another-map-file" | |
] | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment