{
  "$schema": "https://json-schema.org/schema",
  "$id": "NxNestInterfaceGenerator",
  "title": "Nest Interface Options Schema",
  "description": "Nest Interface Options Schema.",
  "cli": "nx",
  "type": "object",
  "properties": {
    "path": {
      "description": "Path where the interface will be generated.",
      "type": "string",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "Where should the interface be generated?"
    },
    "name": {
      "description": "The name of the interface.",
      "type": "string",
      "x-prompt": "What name would you like to use?"
    },
    "skipFormat": {
      "description": "Skip formatting files.",
      "type": "boolean",
      "default": false,
      "x-priority": "internal"
    },
    "flat": {
      "description": "Flag to indicate if a directory is created.",
      "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.",
      "type": "boolean",
      "default": true
    }
  },
  "additionalProperties": false,
  "required": ["path"]
}
