diff options
author | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2013-01-07 13:05:01 +0100 |
---|---|---|
committer | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2013-01-07 13:12:00 +0100 |
commit | 4f43c1ceb5c45ad57c2332093bf62901cf676fa3 (patch) | |
tree | 61735f0647935b56b214ba63d92bdea697fd0254 | |
parent | 0bf442113c50ff3f7d304e18411791f84cb8f53e (diff) | |
download | ecs2-4f43c1ceb5c45ad57c2332093bf62901cf676fa3.tar.gz ecs2-4f43c1ceb5c45ad57c2332093bf62901cf676fa3.zip |
Factored out the attributes "rootID" and "directoryTreeTitle".
This was done because we have decided that there are no burst
transmissions any more. Please see also email thread in cc-devel
starting with:
Date: Thu, 20 Dec 2012 18:54:25 +0100
Subject: resources and bursts
-rw-r--r-- | campusconnect/schemas/cc_directory_trees.schema.json | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/campusconnect/schemas/cc_directory_trees.schema.json b/campusconnect/schemas/cc_directory_trees.schema.json index ceaccd5..98444d3 100644 --- a/campusconnect/schemas/cc_directory_trees.schema.json +++ b/campusconnect/schemas/cc_directory_trees.schema.json @@ -2,18 +2,26 @@ "description":"Data schema for JSON representation of CampusConnect directory_trees resource", "type":"object", "properties": { + "rootID": {"type":"string", "required":true}, "directoryTreeTitle": {"type":"string", "required":true}, - "id": {"type":"string", "required":true}, - "title": {"type":"string", "required":true}, - "order": {"type":"string"}, - "term": {"type":"string"}, - "parent": { - "type":"object", - "properties": { - "id": {"type":"string", "required":true}, - "title": {"type":"string"} + "nodes": { + "type":"array", + "items": { + "type":"object", + "properties":{ + "id": {"type":"string", "required":true}, + "title": {"type":"string", "required":true}, + "order": {"type":"string"}, + "term": {"type":"string"}, + "parent": { + "type":"object", + "properties": { + "id": {"type":"string", "required":true}, + "title": {"type":"string"} + } + } + } } - }, - "rootID": {"type":"string"} + } } } |