Virtues
Digidex is built with three virtues: Simplicity, graceful degredation, and decentralization.
Simplicity
Digidex is designed to be simple. At a minimum, a Digidex card consists of an arbitrary JSON object. That's all. Most Digidex cards will also include at least a graphical image to serve as the card itself, but that's not required.
The JSON object that makes up the Digidex card only has to conform to two easy-to-follow rules:
- It must be valid JSON
- The root node must be an object (i.e. not an array or primitive data type)
Aside from the hard and fast rules above, there are several conventions that you should probably honor when creating your Digidex card or app:
- For the URL to the card graphic, use the key
_cardURL
- Other keys that are not for card content (such as special keys that are interpreted by an app in special ways) should be prefixed with an underscore.
- Keep your digidex cards simple. Avoid nested objects and arrays more than one level deep.
- Avoid creating overly compartmentalized fields. Instead of creating a separate fields for street address, city, country, just provide a single field for the entire address.
Unlike vcard, Digidex makes very few assumptions on the type of data you're providing. There aren't designated fields for first name and last name. In fact, defining names so rigidly is bad design anyway. Some people have only one name. Some people have multiple middle names. Digidex simplifies this problem by allowing you to name each field however you see fit. You could use "first name", "full name", "third name", "given name", "family name", "maiden name", or simply "name".
Graceful Degredation
Digidex is designed to degrade gracefully. While the term "graceful degredation" has historically referred to websites providing fallbacks for rich web content, Digidex intends to go even further. Think of your Digidex card as an extension of your physical business card. People who don't have smartphones should still be able to use your business card as-is – that's graceful degredation.
The QR code that you use for Digidex should point to a standard web page that displays all of the card's data. Somewhere on this webpage, you should include an "open in Digidex" link that uses the "digidex://" URL scheme. Additionally, embedded in the head of this web page should be a meta tag that includes the URL to the original JSON document. This way, when the QR code is scanned by a Digidex app, the app can download the original data immediately, instead of asking the user to click another link.
Decentralization
Dgidex is decentralized in nature, much like the world wide web. There is no central authority that controls all digidex cards. There are no fees to pay, and no paperwork to fill out.
Your card data gets stored in a simple JSON file, and can be shared over the web by sharing a link. Unlike other formats like vCard, your Digidex card can be linked to a URL on the web. That means that when you update your Digidex card, people with your card will see the changes without taking any action. In addition, the decentralized nature of Digidex means that no single entity owns your data. You can host your Digidex card on your own server if you like!