@wmfs/tymly-cardscript-plugin
Version:
Plugin which handles interactions to do with Cardscript
45 lines (44 loc) • 943 B
YAML
form:
name: people
title: People
colorScheme: lightblue
header:
image: /default.jpg
description: A bunch of people.
categories:
- people
instigators:
- user
model:
jsonSchemaPaths: ./models/people.json
sections:
general:
widgets:
- title: firstName*
type: string
description: First name.
condition:
expression: "(general_firstName)"
dependents:
- general_lastName
- title: lastName*
type: string
description: Last name.
- title: age
type: number
description: Age.
- title: dateOfBirth
type: string
format: date-time
- title: homeAddress
type: string
format: address
- title: avatar
type: array
format: file
- title: favouriteColour
type: string
enums:
- BLUE|Blue
- RED|Red
- YELLOW|Yellow