h5p-memory-game/semantics.json

75 lines
1.7 KiB
JSON
Raw Normal View History

2014-03-28 14:52:41 +01:00
[
{
"name": "cards",
"type": "list",
"label": "Cards",
2016-12-12 16:07:42 +01:00
"importance": "high",
2014-03-28 14:52:41 +01:00
"entity": "card",
"min": 1,
"max": 100,
"field": {
"type": "group",
"name": "card",
"label": "Card",
2016-12-12 16:07:42 +01:00
"importance": "high",
"fields": [
{
"name": "image",
"type": "image",
2016-12-12 16:07:42 +01:00
"label": "Image",
2017-01-23 14:41:41 +01:00
"importance": "high",
"ratio": 1
},
{
"name": "match",
"type": "image",
"label": "Matching Image",
"importance": "low",
"optional": true,
2017-01-23 14:41:41 +01:00
"description": "An optional image to match against instead of using two cards with the same image.",
"ratio": 1
},
{
"name": "description",
"type": "text",
"label": "Description",
2016-12-16 11:30:32 +01:00
"importance": "low",
"maxLength": 150,
"optional": true,
"description": "An optional short text that will pop up once the two matching cards are found."
}
]
2014-03-28 14:52:41 +01:00
}
},
{
"label": "Localization",
2016-12-12 16:07:42 +01:00
"importance": "low",
2014-03-28 14:52:41 +01:00
"name": "l10n",
"type": "group",
"common": true,
"fields": [
{
"label": "Card turns text",
2016-12-12 16:07:42 +01:00
"importance": "low",
2014-03-28 14:52:41 +01:00
"name": "cardTurns",
"type": "text",
"default": "Card turns"
},
{
"label": "Time spent text",
2016-12-12 16:07:42 +01:00
"importance": "low",
2014-03-28 14:52:41 +01:00
"name": "timeSpent",
"type": "text",
"default": "Time spent"
},
{
"label": "Feedback text",
2016-12-12 16:07:42 +01:00
"importance": "low",
2014-03-28 14:52:41 +01:00
"name": "feedback",
"type": "text",
"default": "Good work!"
}
]
}
]