Publication » History » Version 1
susmit shannigrahi, 06/12/2015 09:49 AM
| 1 | 1 | susmit shannigrahi | Publication |
|---|---|---|---|
| 2 | =========== |
||
| 3 | |||
| 4 | Publisher schema |
||
| 5 | |||
| 6 | <pre> |
||
| 7 | |||
| 8 | { |
||
| 9 | "$schema": "http://json-schema.org/draft-04/schema#", |
||
| 10 | "title": "catalog update", |
||
| 11 | "type": "object", |
||
| 12 | "properties": { |
||
| 13 | "add": { |
||
| 14 | "description": "NDN name URIs to be added", |
||
| 15 | "type": "array", |
||
| 16 | "items": { |
||
| 17 | "type": "string" |
||
| 18 | }, |
||
| 19 | "uniqueItems": true |
||
| 20 | }, |
||
| 21 | "remove": { |
||
| 22 | "description": "NDN name URIs to be removed", |
||
| 23 | "type": "array", |
||
| 24 | "items": { |
||
| 25 | "type": "string" |
||
| 26 | }, |
||
| 27 | "uniqueItems": true |
||
| 28 | } |
||
| 29 | }, |
||
| 30 | "required": [ |
||
| 31 | "add", |
||
| 32 | "remove" |
||
| 33 | ] |
||
| 34 | } |
||
| 35 | </pre> |