{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "SemmetAngularBlock",
  "title": "Semmet Angular Block Options Schema",
  "type": "object",
  "description": "Generates an accessible Angular composition block with semantic section structure.",
  "additionalProperties": false,
  "properties": {
    "name": {
      "type": "string",
      "description": "The name for the new block 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 block 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."
    },
    "kind": {
      "type": "string",
      "description": "The composition block pattern to generate. Defaults to the positional name when it matches a known block kind.",
      "default": "hero",
      "enum": [
        "hero",
        "section-card",
        "section-faq",
        "section-pricing",
        "section-stats",
        "section-table",
        "header-navbar",
        "command-list",
        "section-form",
        "section-tabs",
        "section-list-group",
        "section-alert",
        "section-progress",
        "footer-navigation",
        "section-carousel"
      ]
    },
    "path": {
      "type": "string",
      "format": "path",
      "$default": {
        "$source": "workingDirectory"
      },
      "description": "The path where the block 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 block to.",
      "$default": {
        "$source": "projectName"
      }
    }
  },
  "required": [
    "name",
    "project"
  ]
}
