-
Notifications
You must be signed in to change notification settings - Fork 2
Experience JSON
Kevin Glover edited this page Apr 3, 2017
·
7 revisions
Experience JSON file format
{
"id": "http://aestheticodes.appspot.com/experience/4c758e29-0759-4583-a0d4-71ee692b7f86",
"name": "Experience Name",
"description": "Experience Description",
"image": "https://aestheticodes.appspot.com/image/4b33ca9be1356c10dbc746ce2cb7d0a867f7a587ec2618536a3f047fc2aa4892",
"icon": "http://www.wornchaos.org/experiences/uk.ac.horizon.aestheticodes.default.png",
"author": "Kevin Glover",
"actions": [
{
"name": "Action Name",
"url": "http://www.artcodes.co.uk",
"codes": [
"1:1:1:3:3",
"1:1:2:4:4"
],
"match": "any"
}
],
"availabilities": [
{}
]
}
- id - url of experience
- name - name of experience
- description - description of experience
- image - url of image
- icon - url of icon
- author - name of author
- actions - list of actions
- availabilities - list of object used to
- name - name of action
- codes - list of string representations of artcode markers
- match - used to configure matching behaviour
- any - url is triggered if any of the codes are scanned
- all - url is triggered if all of the codes are scanned at the same time
If the availability list is empty, the experience is considered unlisted. It can still be found by url, but won't appear in searches and won't be recommended. Each availability restricts when are where the experience is available.
- start - the experience is available from this date
- end - the experience is available to this date