{
  "$schema": "http://json-schema.org/schema",
  "$id": "SchematicsStorePage",
  "title": "Store Page Schema",
  "type": "object",
  "properties": {
    "name": {
      "description": "The name of the shared module.",
      "type": "string"
    },
    "section": {
      "description": "The name of the section in which the store will be generated.",
      "type": "string"
    },
    "parent": {
      "description": "The name of the parent page in which the store will be generated.",
      "type": "string"
    },
    "page": {
      "type": "string",
      "description": "The name of the page in which the store will be generated.",
      "minLength": 1,
      "x-prompt": "What is the name of the page?"
    },
    "intoParentPage": {
      "type": "boolean",
      "description": "When true, generates store inside a parent page.",
      "x-prompt": "Does this page have a parent page?"
    },
    "path": {
      "type": "string",
      "format": "path",
      "description": "The path to create the store.",
      "visible": false
    }
  },
  "required": [
    "intoParentPage",
    "section",
    "page"
  ]
}
