Anantomy of a Digidex Card

A digidex card is simply a JSON object that describes a person, business, product, event, or something else. It is not limited by pre-defined fields, although there are some conventions that you should follow to ensure compatibility across apps.

Conventions

Name

The name attribute should naturally be the name of the person, business, product, event, etc that you're describing. You should consider your audience when you select this attribute. For instance, a dentist might choose "Dr. Smith DDS" for their digidex card name instead of their actual first and last name.

_cardURL

This is the full web url where the card image can be retrieved.

_shareURL

This is the URL that will be used to share your digidex card. This URL should be a page containing a deep-link

Examples

Below is a simple example that you might use for yourself.

{
	"_cardURL":"http://example.net/digidex.png",
	"name":"John Appleseed",
	"company":"123 Businesses",
	"occupation":"Software Engineer",
	"phone":{
		"office":"(555)555-5555",
		"cell":"(555)555-5555"
	},
	"address":{
		"home":"123 Example Avenue\nExample EX, 00000"
	},
	"website":"http://example.net",
	"twitter":"@example",
	"facebook":"http://facebook.com/example"
}

This is a digidex card you might see for a business.

{
	"_cardURL":"http://example.net/digidex.png",
	"name":"123 Businesses",
	"phone":{
		"customer service":"(555)555-5555",
		"billing":"(555)555-5556",
		"sales":"(555)555-5557",
		"switchboard":"(555)555-5550"
	},
	"address":{
		"headquarters":"123 Example Avenue\nExample EX, 00000"
	},
	"email":{
		"customer service":"support@123businesses.com"
	},
	"website":"http://www.123businesses.com"
}

This is a digidex card you might see for a podcast personality

{
	"_cardURL":"http://podcastcentral.com/digidex1.png".
	"name":"Mr. Podcaster",
	"podcasts":{
		"Technoology Talk Show":"pcast://podcastcentral.com/tts.xml",
		"Business News Podcast":"pcast://podcastcentral.com/bnp.xml",
		"Politics Now":"pcast://podcastcentral.com/pn.xml"
	},
	"twitter":"@mrpodcaster"
}

Recipes work well too

{
	"name":"Corny Cornbread Corn Casserole",
	"ingredients":{
		"corn":"1 can",
		"cream style corn":"1 can",
		"Jiffy Corn Bread mix":"1 box",
		"sour cream":"1 cup",
		"chopped onions":"1 cup",
		"eggs":"2"
	},
	"directions":{
		"1":"Preheat oven to 300 degrees farenheit",
		"2":"Mix all ingredients into a bowl",
		"3":"Pour mixture into a greased 2 qt caserole dish",
		"4":"Bake for about 45 minutes, or until top is golden brown"
	}
}