{
  "$schema": "http://json-schema.org/schema",
  "id": "architecture.network.gateway",
  "title": "Architecture Network Schematic",
  "type": "object",
  "description": "Creates a new, typed network in the current project.",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the network.",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What should this network be named?"
    },
    "type": {
      "type": "string",
      "description": "The type of the network. Ex: firebase, http",
      "$default": {
        "$source": "argv",
        "index": 1
      },
      "x-prompt": "What should the type for this network be?",
      "enum": ["firebase", "http", "odata", "graphql"]
    }
  },
  "required": [
    "name",
    "type"
  ]
}
