Open
Description
Improve JSON verification so that you will not have duplicate entries, or separate entries across pages that are duplicates
We shouldn't have separate entries on the Admin page and the End-User page that both link to portal.office.com
or similar, because this might make them collide later or show duplicate entries
As we work on #91 I think this will become a more apparently issue.
Checks I can think of
- No Duplicate entries between pages
- Portal syntax validation
- Each file in /_data/Portals/*.json should be able to convert as JSON
- Each file Should be at least 1 Portal Group in each file
- Each Portal Group should have at least 1 Portal in it
- Each Portal must have a PrimaryURL Field
- Each PrimaryURL must resolve as an
https://
url (possiblyhttp
ok?)
- Each PrimaryURL must resolve as an
- Each Portal Must have a Portal Name
- Each Portal can have up to two SecondaryURL's to show, none is also fine.
- Each SecondaryURL text is no longer than 8 characters long
- Each SecondaryURL must resolve as an
https://
url (possiblyhttp
ok?)
- Each Portal can have only one Note field
- Each Portal must have a PrimaryURL Field
- Each Portal Group should have at least 1 Portal in it
- Every URL Should be publicly Resolveable? Even if it resolves to a "You must sign in" page
- Standardize capitalization/punctuation?