UNPKG

generator-nitro

Version:

Yeoman generator for the nitro frontend framework

47 lines (46 loc) 1.1 kB
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/molecule/example", "title": "Example", "description": "An Example molecule", "type": "object", "properties": { "modifier": { "description": "A pattern modifier", "enum": ["", "highlight"] }, "title": { "description": "Title of the pattern", "type": "string", "minLength": 3, "maxLength": 100 }, "links": { "description": "An array of links", "type": "array", "minItems": 1, "items": { "type": "object", "properties": { "uri": { "description": "the target uri", "type": "string", "pattern": "^[a-z]*$" }, "text": { "description": "The link text", "type": "string" } }, "required": ["uri", "text"], "additionalProperties": false } }<% if (options.clientTpl) { %>, "buttons": { "description": "a boolean: true will show bottom buttons for client rendering functionality", "type": "boolean" }<% } %> }, "required": ["title", "links"], "dependencies": {} }