From 1d8dada5586c3af8368f11ca66470dc766a198d6 Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Thu, 7 Feb 2013 18:59:42 +0100 Subject: [PATCH] Added another wrapper to make lists more flexible. --- semantics.json | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/semantics.json b/semantics.json index 110de80..6d35207 100644 --- a/semantics.json +++ b/semantics.json @@ -53,17 +53,22 @@ "name": "questions", "type": "list", "entity": "question", - "fields": [ - { - "name": "library", - "type": "library", - "label": "Question library", - "description": "Library for this question.", - "options": [ - "H5P.MultiChoice" - ] - } - ] + "field": { + "name": "question", + "type": "group", + "label": "Question", + "fields": [ + { + "name": "library", + "type": "library", + "label": "Question library", + "description": "Library for this question.", + "options": [ + "H5P.MultiChoice" + ] + } + ] + } }, { "name": "introPage",