{
  "$schema": "http://json-schema.org/schema",
  "$id": "SchematicsStoreSection",
  "title": "Store Section Schema",
  "type": "object",
  "properties": {
    "name": {
      "description": "The name of the shared module.",
      "type": "string"
    },
    "section": {
      "description": "The name of the section.",
      "type": "string",
      "minLength": 1,
      "x-prompt": "What is the name of the section?"
    },
    "parent": {
      "description": "The name of the parent page.",
      "type": "string"
    },
    "intoPage": {
      "type": "boolean",
      "description": "When true, generates store inside a page.",
      "x-prompt": "Would you like to generate store inside a page?"
    },
    "page": {
      "description": "The name of the page.",
      "type": "string"
    },
    "path": {
      "type": "string",
      "format": "path",
      "description": "The path to create the store.",
      "visible": false
    }
  },
  "required": [
    "intoPage",
    "section"
  ]
}
