75 lines
1.7 KiB
JSON
75 lines
1.7 KiB
JSON
[
|
|
{
|
|
"name": "cards",
|
|
"type": "list",
|
|
"label": "Cards",
|
|
"importance": "high",
|
|
"entity": "card",
|
|
"min": 1,
|
|
"max": 100,
|
|
"field": {
|
|
"type": "group",
|
|
"name": "card",
|
|
"label": "Card",
|
|
"importance": "high",
|
|
"fields": [
|
|
{
|
|
"name": "image",
|
|
"type": "image",
|
|
"label": "Image",
|
|
"importance": "high",
|
|
"ratio": 1
|
|
},
|
|
{
|
|
"name": "match",
|
|
"type": "image",
|
|
"label": "Matching Image",
|
|
"importance": "low",
|
|
"optional": true,
|
|
"description": "An optional image to match against instead of using two cards with the same image.",
|
|
"ratio": 1
|
|
},
|
|
{
|
|
"name": "description",
|
|
"type": "text",
|
|
"label": "Description",
|
|
"importance": "low",
|
|
"maxLength": 150,
|
|
"optional": true,
|
|
"description": "An optional short text that will pop up once the two matching cards are found."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"label": "Localization",
|
|
"importance": "low",
|
|
"name": "l10n",
|
|
"type": "group",
|
|
"common": true,
|
|
"fields": [
|
|
{
|
|
"label": "Card turns text",
|
|
"importance": "low",
|
|
"name": "cardTurns",
|
|
"type": "text",
|
|
"default": "Card turns"
|
|
},
|
|
{
|
|
"label": "Time spent text",
|
|
"importance": "low",
|
|
"name": "timeSpent",
|
|
"type": "text",
|
|
"default": "Time spent"
|
|
},
|
|
{
|
|
"label": "Feedback text",
|
|
"importance": "low",
|
|
"name": "feedback",
|
|
"type": "text",
|
|
"default": "Good work!"
|
|
}
|
|
]
|
|
}
|
|
]
|