{
  "$schema": "https://json-schema.org/schema",
  "$id": "NxNestInterfaceGenerator",
  "title": "Nest Interface Options Schema",
  "description": "Nest Interface Options Schema.",
  "cli": "nx",
  "type": "object",
  "examples": [
    {
      "description": "Generate the interface `Foo` at `myapp/src/app/foo.interface.ts`",
      "command": "nx g @nx/nest:interface myapp/src/app/foo.interface.ts"
    },
    {
      "description": "Generate the interface without providing the file extension. It results in the interface `Foo` at `myapp/src/app/foo.interface.ts`",
      "command": "nx g @nx/nest:interface myapp/src/app/foo"
    }
  ],
  "properties": {
    "path": {
      "description": "The file path to the interface. Relative to the current working directory.",
      "type": "string",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What is the interface file path?"
    },
    "skipFormat": {
      "description": "Skip formatting files.",
      "type": "boolean",
      "default": false,
      "x-priority": "internal"
    }
  },
  "additionalProperties": false,
  "required": ["path"]
}
