diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-09-02 11:29:01 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-09-02 11:29:01 -0400 |
| commit | ef64682b40be479ecff91c19d406fff10f9cc688 (patch) | |
| tree | 43160ffde04f375d8022fba5e5f96283a0cd745a /app/node_modules/okschema | |
| parent | 233188e7d36dea5f5e5102322be4df81b9d4114e (diff) | |
rename captioned-image-list to gallery, closes #3
Diffstat (limited to 'app/node_modules/okschema')
| -rw-r--r-- | app/node_modules/okschema/index.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/node_modules/okschema/index.js b/app/node_modules/okschema/index.js index b3d4cc2..0048fc5 100644 --- a/app/node_modules/okschema/index.js +++ b/app/node_modules/okschema/index.js @@ -48,6 +48,14 @@ var types = { }], assertValid: function(spec, value) {} }, + 'gallery': { + isArray: true, + parent: [{ + uri: { type: 'string' }, // TODO Implement URI type + caption: { type: 'string' } + }], + assertValid: function(spec, value) {} + }, // Special type for resource meta information 'meta': { parent: 'string', @@ -78,6 +86,11 @@ var types = { parent: [], assertValid: function(spec, value) {} }, + 'media': { + isArray: true, + parent: [], + assertValid: function(spec, value) {} + }, 'double-captioned-image-list': { isArray: true, parent: [], |
