daux.io/docs/cms/01_API/05_Example_Config.md
2013-06-21 10:49:05 -05:00

653 B

The following collection config will be used as the config throughout the example calls in this guide.

{
	"team": {
		"title": "Team Members",
		"type": "multiple",
		"fields": {
			"name": {
				"title": "Name",
				"type": "text"
			},
			"employment": {
				"title": "Employment Status",
				"type": "select",
				"options": {
					"half": "Part Time",
					"full": "Full Time",
					"retired": "Retired"
				}
			},
			"age": {
				"title": "Age",
				"type": "text"
			},
			"bio": {
				"title": "Bio",
				"type": "textarea"
			},
			"address": {
				"title": "Home Address",
				"type": "location"
			}
		}
	}
}