Skip to content

Instantly share code, notes, and snippets.

@kaidesu
Created June 4, 2018 21:22
Show Gist options
  • Save kaidesu/4c31ede2246101a7334897d130b922bf to your computer and use it in GitHub Desktop.
Save kaidesu/4c31ede2246101a7334897d130b922bf to your computer and use it in GitHub Desktop.
[
{
"name": "Quote",
"handle": "quote",
"instructions": "",
"fields": [
{
"name": "Text",
"handle": "text",
"type": "wysiwyg",
"attributes": {
"readonly": "",
"disabled": "",
"placeholder": "",
"help": ""
},
"validation": {
"required": ""
},
"data_type": "text",
"cast": "string"
},
{
"name": "Cite",
"handle": "cite",
"type": "input",
"attributes": {
"type": "text",
"readonly": "",
"disabled": "",
"placeholder": "",
"help": "",
"class": ""
},
"validation": {
"required": ""
},
"data_type": "string",
"cast": "string"
},
{
"name": "Pull",
"handle": "pull",
"type": "radio"
// wat?
}
]
},
{
"name": "Text",
"handle": "text",
"instructions": "",
"fields": [
{
"name": "WYSIWYG",
"handle": "wysiwyg",
"type": "wysiwyg"
}
]
}
]
[
{
"name": "Quote",
"handle": "quote",
"instructions": "",
"fields": [
{
"name": "Text",
"handle": "text",
"type": "wysiwyg",
"attributes": {
"readonly": "",
"disabled": "",
"placeholder": "",
"help": ""
},
"validation": {
"required": ""
},
"data_type": "text",
"cast": "string"
},
{
"name": "Cite",
"handle": "cite",
"type": "input",
"attributes": {
"type": "text",
"readonly": "",
"disabled": "",
"placeholder": "",
"help": "",
"class": ""
},
"validation": {
"required": ""
},
"data_type": "string",
"cast": "string"
},
{
"name": "Pull",
"handle": "pull",
"type": "radio",
"attributes": {
"readonly": "",
"disabled": "",
"help": "HALP",
"class": "",
"options": [
{
"label": "Right",
"value": "Right"
}
]
},
"validation": {
"required": ""
},
"data_type": "string",
"cast": "string"
}
]
},
{
"name": "Text",
"handle": "text",
"instructions": "",
"fields": [
{
"name": "WYSIWYG",
"handle": "wysiwyg",
"type": "wysiwyg"
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment