{
  "$schema": "http://json-schema.org/schema",
  "$id": "SchematicsPageModuleParent",
  "title": "Page Module Parent Schema",
  "type": "object",
  "properties": {
    "parent": {
      "description": "The name of the parent page.",
      "type": "string",
      "minLength": 1,
      "x-prompt": "What is the name of the parent page?"
    },
    "section": {
      "description": "The name of the section in which the page will be generated.",
      "minLength": 1,
      "type": "string"
    },
    "intoParent": {
      "type": "boolean",
      "description": "When true, generates page inside the parent page."
    },
    "name": {
      "description": "The name of the new page.",
      "minLength": 1,
      "type": "string"
    },
    "store": {
      "type": "boolean",
      "description": "When true, installs store for the page."
    },
    "facade": {
      "type": "boolean",
      "description": "When true, create a facade file.",
      "x-prompt": "Will you use the facade file on this page?",
      "default": true
    },
    "path": {
      "type": "string",
      "format": "path",
      "description": "The path to create the page.",
      "visible": false
    }
  },
  "required": [
    "parent",
    "section",
    "name",
    "store"
  ]
}
