mattrbld/.mattrbld/schemas/event.json

195 lines
4.0 KiB
JSON

{
"fields": [
{
"type": "date",
"default": null,
"icon": "calendar",
"key": "start-date",
"label": "Start Date/Time",
"options": {
"outputFormat": "iso",
"removable": false,
"showTime": true,
"defaultToNow": true,
"useAsUpdatedAt": false,
"only": null
},
"tab": "Untitled Tab",
"validation": {
"max": null,
"min": null,
"required": true,
"unit": "date",
"isString": true
},
"value": null,
"version": 2,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "date",
"default": null,
"icon": "calendar",
"key": "end-date",
"label": "End Date/Time (optional)",
"options": {
"outputFormat": "iso",
"removable": false,
"showTime": true,
"defaultToNow": true,
"useAsUpdatedAt": false,
"only": null
},
"tab": "Untitled Tab",
"validation": {
"max": null,
"min": null,
"required": false,
"unit": "date",
"isString": true
},
"value": null,
"version": 2,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "reference",
"default": null,
"icon": "document-link",
"key": "reference",
"label": "Organization",
"localised": false,
"options": {
"collections": [
"/.mattrbld/collections/organizations.json"
],
"field": "text",
"removable": false
},
"tab": "Untitled Tab",
"validation": {
"required": false
},
"value": null,
"version": 2,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "tags",
"default": null,
"icon": "tags",
"key": "tags",
"label": "Tags",
"localised": false,
"options": {
"allowUnsuggested": true,
"autocompleteModel": []
},
"tab": "Untitled Tab",
"validation": {
"max": null,
"min": null,
"unit": "tags"
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "rich text",
"default": null,
"icon": "text",
"key": "rich-text",
"label": "Event Description",
"localised": false,
"options": {
"outputFormat": "html",
"blockFormats": [
"blockquote",
"heading",
"hr",
"orderedList",
"unorderedList",
"image"
],
"inlineFormats": [
"em",
"strong",
"link"
],
"formatOptions": [
"allowQuoteFooters",
"allowNestedLists",
"allowImageCaptions"
],
"inputRuleOptions": [
"autoquotes",
"dashes",
"ellipsis",
"noDoubleCaps",
"noDoubleSpace"
],
"minHeading": 2,
"maxHeading": 4,
"codeLangs": [
"html",
"css",
"javascript",
"markdown"
],
"allowRaw": false,
"urlTemplate": "",
"urlSuffix": "",
"linkOptions": [
"forceBlankTarget",
"allowExternal",
"allowInternal"
]
},
"tab": "Untitled Tab",
"validation": {
"enforceMinMax": true,
"max": null,
"min": null,
"regex": null,
"regexError": null,
"required": false,
"unit": "length"
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
}
],
"tabs": [
{
"label": "Untitled Tab",
"groupAs": null
}
]
}