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