Cotton code
195 lines · 3.4 KB · JSONRaw
{  "format_version": 1,  "id": "yoga_place",  "name": "Studio",  "plural": "Studio",  "builtin": false,  "visibility": "public",  "columns": [    {      "key": "name",      "name": "Name",      "type": "text",      "required": true    },    {      "key": "photo",      "name": "Photo",      "type": "photo"    },    {      "key": "tagline",      "name": "Tagline",      "type": "text"    },    {      "key": "about",      "name": "About",      "type": "longtext"    },    {      "key": "founder",      "name": "Founder",      "type": "link",      "link_to": "yoga_trainer"    },    {      "key": "mission",      "name": "Mission",      "type": "longtext"    },    {      "key": "vision",      "name": "Vision",      "type": "longtext"    },    {      "key": "facilities",      "name": "Facilities",      "type": "longtext"    },    {      "key": "address",      "name": "Address",      "type": "longtext"    },    {      "key": "directions",      "name": "Directions",      "type": "longtext"    },    {      "key": "map_url",      "name": "Map",      "type": "url"    },    {      "key": "hours",      "name": "Hours",      "type": "text"    },    {      "key": "studio_phone",      "name": "Phone",      "type": "text"    },    {      "key": "other_phone",      "name": "Other phone",      "type": "text"    },    {      "key": "studio_email",      "name": "Email",      "type": "text"    },    {      "key": "website",      "name": "Website",      "type": "url"    },    {      "key": "instagram",      "name": "Instagram",      "type": "url"    },    {      "key": "facebook",      "name": "Facebook",      "type": "url"    },    {      "key": "youtube",      "name": "YouTube",      "type": "url"    },    {      "key": "spotify",      "name": "Podcast",      "type": "url"    }  ],  "title": "name",  "slip": {    "title": "name",    "photo": "photo",    "subtitle": [      "tagline",      "hours"    ]  },  "tile": {    "face": "slip-list"  },  "page": [    {      "heading": null,      "columns": [        "name",        "photo",        "tagline",        "founder"      ]    },    {      "heading": "About",      "columns": [        "about",        "mission",        "vision",        "facilities"      ]    },    {      "heading": "Visit",      "columns": [        "address",        "directions",        "map_url",        "hours"      ]    },    {      "heading": "Reach",      "columns": [        "studio_phone",        "other_phone",        "studio_email",        "website",        "instagram",        "facebook",        "youtube",        "spotify"      ]    }  ],  "instructions": "The studio, public: its name, photo, words (about, mission, vision, facilities), founder, where it is, its hours and how to reach it. One row. The studio's own phone and email are public by nature, so they are kept as studio_phone and studio_email, never a person's contact.",  "card": {    "face": "sharmila.studio",    "fields": [      {        "slot": "photo",        "column": "photo"      },      {        "slot": "title",        "column": "name"      },      {        "slot": "subtitle",        "column": "tagline"      },      {        "slot": "body",        "column": "about"      }    ],    "pages": [      "about",      "mission",      "vision",      "facilities",      "address"    ]  }}