{
  "$schema": "http://json-schema.org/schema",
  "$id": "omega-angular-feature",
  "title": "Omega Angular feature (flow + agent + omega/)",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Kebab-case or single name segment (e.g. cliente, order-item). Creates under current terminal folder when running inside src/app (otherwise defaults to src/app/<name>).",
      "$default": {
        "$source": "argv",
        "index": 0
      }
    },
    "project": {
      "type": "string",
      "description": "Angular project name (default: project inferred from current terminal path; fallback: first application in angular.json)."
    },
    "path": {
      "type": "string",
      "description": "URL segment for lazy route (default: plural of name: cliente → clientes)."
    },
    "parentPath": {
      "type": "string",
      "description": "Parent route path where the new route should be added under `children` (e.g. admin)."
    },
    "skipRoute": {
      "type": "boolean",
      "description": "Do not change app.routes.ts.",
      "default": false
    },
    "skipOmegaSetup": {
      "type": "boolean",
      "description": "Do not merge imports/flows/agents in omega-setup.ts.",
      "default": false
    }
  },
  "required": ["name"],
  "additionalProperties": false
}
