# Industry Vertical Templates

This directory organizes domain templates by industry verticals to provide better categorization and discovery for users looking for domain-specific templates.

## Structure

```plain
verticals/
├── business-services/           # E-commerce, Financial Services, Legal Services
│   ├── ecommerce-domain.ts
│   ├── financial-services-domain.ts
│   └── index.ts
├── healthcare-life-sciences/    # Healthcare, Pharmaceutical, Research
│   ├── healthcare-domain.ts
│   └── index.ts
├── education-training/          # Education, Corporate Training, Certification
│   ├── education-domain.ts
│   └── index.ts
├── real-estate-construction/    # Real Estate, Construction, Property Management
│   ├── real-estate-domain.ts
│   └── index.ts
├── technology-media/            # Gaming, IoT, Content Management, Social Media
│   ├── blog-domain.ts
│   └── index.ts
├── manufacturing-logistics/     # Manufacturing, Supply Chain, Distribution
│   └── index.ts
├── public-sector/              # Government, Non-Profit, Healthcare
│   └── index.ts
└── index.ts                    # Main verticals index
```

## Industry Verticals

### 1. Business Services

- **E-commerce Platform**: Complete e-commerce data domain with product management, orders, customers, and payments
- **Financial Services Platform**: Comprehensive financial services data domain with accounts, transactions, investments, and compliance

### 2. Healthcare & Life Sciences

- **Healthcare Management Platform**: Comprehensive healthcare data domain with patients, providers, facilities, and medical records

### 3. Education & Training

- **Education Management Platform**: Comprehensive education data domain with students, courses, faculty, and academic management

### 4. Real Estate & Construction

- **Real Estate Management Platform**: Comprehensive real estate data domain with properties, clients, transactions, and marketing

### 5. Technology & Media

- **Blog Publishing Platform**: Complete blog and content publishing data domain with articles, authors, and media management

### 6. Manufacturing & Logistics

- *No templates yet* - Planned for Manufacturing, Supply Chain, Distribution

### 7. Public Sector

- *No templates yet* - Planned for Government, Non-Profit, Healthcare

## Usage

### Importing Templates by Vertical

```typescript
// Import all verticals
import { 
  businessServicesTemplates,
  healthcareLifeSciencesTemplates,
  educationTrainingTemplates,
  realEstateConstructionTemplates,
  technologyMediaTemplates,
  manufacturingLogisticsTemplates,
  publicSectorTemplates 
} from './verticals/index.js'

// Import specific templates
import { createEcommerceDomain } from './verticals/business-services/index.js'
import { createHealthcareDomain } from './verticals/healthcare-life-sciences/index.js'
```

### Using the Template Registry

```typescript
import { TemplateRegistry } from './template-registry.js'

// Get all industry verticals
const verticals = TemplateRegistry.getIndustryVerticals()

// Get templates by vertical
const businessTemplates = TemplateRegistry.getTemplatesByVertical('business-services')
```

## Adding New Templates

1. **Choose the appropriate vertical** based on the industry focus
2. **Create the template file** in the corresponding vertical directory
3. **Update the vertical's index.ts** to export the new template
4. **Update the main verticals index.ts** to include the template metadata
5. **Update the metadata generation script** to include the new template
6. **Run the build and metadata generation**:

   ```bash
   npm run build
   node scripts/generate-template-metadata.js
   ```

## Template Categories

Each vertical can contain multiple subcategories:

- **Business Services**: E-commerce, Financial Services, Legal Services
- **Healthcare & Life Sciences**: Healthcare, Pharmaceutical, Research
- **Education & Training**: Education, Corporate Training, Certification
- **Real Estate & Construction**: Real Estate, Construction, Property Management
- **Manufacturing & Logistics**: Manufacturing, Supply Chain, Distribution
- **Technology & Media**: Gaming, IoT, Content Management, Social Media
- **Public Sector**: Government, Non-Profit, Healthcare

This organization helps users quickly find templates relevant to their industry and use case.
