{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "SemmetAngularSpinbutton",
  "title": "Semmet Angular Spinbutton Options Schema",
  "type": "object",
  "description": "Generates a standalone Angular Spinbutton component (numeric stepper) following the W3C ARIA Authoring Practices Guide.",
  "additionalProperties": false,
  "properties": {
    "name": {
      "type": "string",
      "description": "The name for the new component. Used to derive the class name, selector, and file names.",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What name would you like to use for the spinbutton component?"
    },
    "e2e": {
      "type": "boolean",
      "default": false,
      "description": "Generate a Playwright e2e spec for this component. Requires Playwright to be installed/configured in the consuming app."
    },
    "path": {
      "type": "string",
      "format": "path",
      "$default": {
        "$source": "workingDirectory"
      },
      "description": "The path where the component files should be created, relative to the workspace root. Defaults to the project's source root.",
      "visible": false
    },
    "project": {
      "type": "string",
      "description": "The name of the project to add the component to.",
      "$default": {
        "$source": "projectName"
      }
    }
  },
  "required": [
    "name",
    "project"
  ]
}
