Michael Lando | f5f13c4 | 2017-02-19 12:35:04 +0200 | [diff] [blame] | 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-04/schema#", |
| 3 | "type": "object", |
| 4 | "properties": { |
| 5 | "name": { |
| 6 | "type": "string"<#if !manual>, |
| 7 | "enum": [ |
| 8 | "${component.name}" |
| 9 | ], |
| 10 | "default": "${component.name}"</#if> |
| 11 | }, |
| 12 | "displayName": { |
| 13 | "type": "string"<#if !manual && component.displayName??>, |
| 14 | "enum": [ |
| 15 | "${component.displayName}" |
| 16 | ], |
| 17 | "default": "${component.displayName}"</#if> |
| 18 | }, |
| 19 | "description": { |
| 20 | "type": "string" |
| 21 | } |
| 22 | }, |
| 23 | "additionalProperties": false, |
| 24 | "required": [ |
| 25 | "name"<#if !manual && component.displayName??>, |
| 26 | "displayName"</#if> |
| 27 | ] |
| 28 | } |