{
  "$schema": "http://json-schema.org/schema",
  "id": "rucken-entity-nestjs",
  "description": "The generator of the entity, the DTO, the service and the controller, for editing the entity data for the backend of the application on NestJS with TypeORM, based on the Rucken template",
  "examples": [
    "rucken-entity-nestjs custom-entity --org custom-org --lib custom-lib-nestjs --timestamp 1553957529598"
  ],
  "type": "object",
  "properties": {
    "workspace": {
      "type": "string",
      "hidden": true,
      "description": "The workspace directory name.",
      "default": "."
    },
    "name": {
      "description": "The name of the entity.",
      "type": "string",
      "format": "html-selector",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What name would you like to use for the entity?"
    },
    "lib": {
      "description": "The name of the library.",
      "type": "string",
      "format": "html-selector",
      "x-prompt": "What name would you like to use for the library?"
    },
    "org": {
      "description": "The name of organization.",
      "type": "string",
      "format": "html-selector",
      "x-prompt": "What name would you like to use for the organization?"
    },
    "timestamp": {
      "description": "Timestamp used in migrations.",
      "type": "number"
    }
  },
  "required": []
}