@api-client/core 0.18.21 → 0.18.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/modeling/helpers/Intelisense.d.ts +1 -0
- package/build/src/modeling/helpers/Intelisense.d.ts.map +1 -1
- package/build/src/modeling/helpers/Intelisense.js +1 -0
- package/build/src/modeling/helpers/Intelisense.js.map +1 -1
- package/build/src/modeling/templates/index.d.ts +1 -0
- package/build/src/modeling/templates/index.d.ts.map +1 -1
- package/build/src/modeling/templates/index.js +2 -0
- package/build/src/modeling/templates/index.js.map +1 -1
- package/build/src/modeling/templates/meta/education-management-platform.json +1 -0
- package/build/src/modeling/templates/meta/financial-services-platform.json +1 -0
- package/build/src/modeling/templates/meta/gaming-platform.json +1 -0
- package/build/src/modeling/templates/meta/healthcare-management-platform.json +1 -0
- package/build/src/modeling/templates/meta/hospitality-platform.json +1 -0
- package/build/src/modeling/templates/meta/index.d.ts +11 -3
- package/build/src/modeling/templates/meta/index.d.ts.map +1 -1
- package/build/src/modeling/templates/meta/index.js +61 -1
- package/build/src/modeling/templates/meta/index.js.map +1 -1
- package/build/src/modeling/templates/meta/iot-smart-home-platform.json +1 -0
- package/build/src/modeling/templates/meta/legal-services-platform.json +1 -0
- package/build/src/modeling/templates/meta/manufacturing-platform.json +1 -0
- package/build/src/modeling/templates/meta/non-profit-platform.json +1 -0
- package/build/src/modeling/templates/meta/real-estate-management-platform.json +1 -0
- package/build/src/modeling/templates/template-registry.d.ts +14 -0
- package/build/src/modeling/templates/template-registry.d.ts.map +1 -1
- package/build/src/modeling/templates/template-registry.js +63 -0
- package/build/src/modeling/templates/template-registry.js.map +1 -1
- package/build/src/modeling/templates/{ecommerce-domain.d.ts → verticals/business-services/ecommerce-domain.d.ts} +2 -2
- package/build/src/modeling/templates/verticals/business-services/ecommerce-domain.d.ts.map +1 -0
- package/build/src/modeling/templates/{ecommerce-domain.js → verticals/business-services/ecommerce-domain.js} +6 -6
- package/build/src/modeling/templates/verticals/business-services/ecommerce-domain.js.map +1 -0
- package/build/src/modeling/templates/verticals/business-services/financial-services-domain.d.ts +40 -0
- package/build/src/modeling/templates/verticals/business-services/financial-services-domain.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/business-services/financial-services-domain.js +744 -0
- package/build/src/modeling/templates/verticals/business-services/financial-services-domain.js.map +1 -0
- package/build/src/modeling/templates/verticals/business-services/hospitality-domain.d.ts +45 -0
- package/build/src/modeling/templates/verticals/business-services/hospitality-domain.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/business-services/hospitality-domain.js +797 -0
- package/build/src/modeling/templates/verticals/business-services/hospitality-domain.js.map +1 -0
- package/build/src/modeling/templates/verticals/business-services/index.d.ts +21 -0
- package/build/src/modeling/templates/verticals/business-services/index.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/business-services/index.js +50 -0
- package/build/src/modeling/templates/verticals/business-services/index.js.map +1 -0
- package/build/src/modeling/templates/verticals/business-services/legal-services-domain.d.ts +46 -0
- package/build/src/modeling/templates/verticals/business-services/legal-services-domain.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/business-services/legal-services-domain.js +837 -0
- package/build/src/modeling/templates/verticals/business-services/legal-services-domain.js.map +1 -0
- package/build/src/modeling/templates/verticals/education-training/education-domain.d.ts +40 -0
- package/build/src/modeling/templates/verticals/education-training/education-domain.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/education-training/education-domain.js +725 -0
- package/build/src/modeling/templates/verticals/education-training/education-domain.js.map +1 -0
- package/build/src/modeling/templates/verticals/education-training/index.d.ts +18 -0
- package/build/src/modeling/templates/verticals/education-training/index.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/education-training/index.js +21 -0
- package/build/src/modeling/templates/verticals/education-training/index.js.map +1 -0
- package/build/src/modeling/templates/verticals/healthcare-life-sciences/healthcare-domain.d.ts +40 -0
- package/build/src/modeling/templates/verticals/healthcare-life-sciences/healthcare-domain.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/healthcare-life-sciences/healthcare-domain.js +859 -0
- package/build/src/modeling/templates/verticals/healthcare-life-sciences/healthcare-domain.js.map +1 -0
- package/build/src/modeling/templates/verticals/healthcare-life-sciences/index.d.ts +18 -0
- package/build/src/modeling/templates/verticals/healthcare-life-sciences/index.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/healthcare-life-sciences/index.js +21 -0
- package/build/src/modeling/templates/verticals/healthcare-life-sciences/index.js.map +1 -0
- package/build/src/modeling/templates/verticals/index.d.ts +79 -0
- package/build/src/modeling/templates/verticals/index.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/index.js +186 -0
- package/build/src/modeling/templates/verticals/index.js.map +1 -0
- package/build/src/modeling/templates/verticals/manufacturing-logistics/index.d.ts +18 -0
- package/build/src/modeling/templates/verticals/manufacturing-logistics/index.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/manufacturing-logistics/index.js +22 -0
- package/build/src/modeling/templates/verticals/manufacturing-logistics/index.js.map +1 -0
- package/build/src/modeling/templates/verticals/manufacturing-logistics/manufacturing-domain.d.ts +45 -0
- package/build/src/modeling/templates/verticals/manufacturing-logistics/manufacturing-domain.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/manufacturing-logistics/manufacturing-domain.js +710 -0
- package/build/src/modeling/templates/verticals/manufacturing-logistics/manufacturing-domain.js.map +1 -0
- package/build/src/modeling/templates/verticals/public-sector/index.d.ts +18 -0
- package/build/src/modeling/templates/verticals/public-sector/index.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/public-sector/index.js +22 -0
- package/build/src/modeling/templates/verticals/public-sector/index.js.map +1 -0
- package/build/src/modeling/templates/verticals/public-sector/non-profit-domain.d.ts +47 -0
- package/build/src/modeling/templates/verticals/public-sector/non-profit-domain.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/public-sector/non-profit-domain.js +864 -0
- package/build/src/modeling/templates/verticals/public-sector/non-profit-domain.js.map +1 -0
- package/build/src/modeling/templates/verticals/real-estate-construction/index.d.ts +18 -0
- package/build/src/modeling/templates/verticals/real-estate-construction/index.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/real-estate-construction/index.js +21 -0
- package/build/src/modeling/templates/verticals/real-estate-construction/index.js.map +1 -0
- package/build/src/modeling/templates/verticals/real-estate-construction/real-estate-domain.d.ts +40 -0
- package/build/src/modeling/templates/verticals/real-estate-construction/real-estate-domain.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/real-estate-construction/real-estate-domain.js +727 -0
- package/build/src/modeling/templates/verticals/real-estate-construction/real-estate-domain.js.map +1 -0
- package/build/src/modeling/templates/{blog-domain.d.ts → verticals/technology-media/blog-domain.d.ts} +2 -2
- package/build/src/modeling/templates/verticals/technology-media/blog-domain.d.ts.map +1 -0
- package/build/src/modeling/templates/{blog-domain.js → verticals/technology-media/blog-domain.js} +5 -5
- package/build/src/modeling/templates/verticals/technology-media/blog-domain.js.map +1 -0
- package/build/src/modeling/templates/verticals/technology-media/gaming-domain.d.ts +46 -0
- package/build/src/modeling/templates/verticals/technology-media/gaming-domain.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/technology-media/gaming-domain.js +1033 -0
- package/build/src/modeling/templates/verticals/technology-media/gaming-domain.js.map +1 -0
- package/build/src/modeling/templates/verticals/technology-media/index.d.ts +21 -0
- package/build/src/modeling/templates/verticals/technology-media/index.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/technology-media/index.js +42 -0
- package/build/src/modeling/templates/verticals/technology-media/index.js.map +1 -0
- package/build/src/modeling/templates/verticals/technology-media/iot-smart-home-domain.d.ts +47 -0
- package/build/src/modeling/templates/verticals/technology-media/iot-smart-home-domain.d.ts.map +1 -0
- package/build/src/modeling/templates/verticals/technology-media/iot-smart-home-domain.js +1027 -0
- package/build/src/modeling/templates/verticals/technology-media/iot-smart-home-domain.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/data/models/example-generator-api.json +23 -23
- package/package.json +1 -1
- package/src/modeling/helpers/Intelisense.ts +1 -0
- package/src/modeling/templates/meta/education-management-platform.json +1 -0
- package/src/modeling/templates/meta/financial-services-platform.json +1 -0
- package/src/modeling/templates/meta/gaming-platform.json +1 -0
- package/src/modeling/templates/meta/healthcare-management-platform.json +1 -0
- package/src/modeling/templates/meta/hospitality-platform.json +1 -0
- package/src/modeling/templates/meta/iot-smart-home-platform.json +1 -0
- package/src/modeling/templates/meta/legal-services-platform.json +1 -0
- package/src/modeling/templates/meta/manufacturing-platform.json +1 -0
- package/src/modeling/templates/meta/non-profit-platform.json +1 -0
- package/src/modeling/templates/meta/real-estate-management-platform.json +1 -0
- package/src/modeling/templates/readme.md +14 -0
- package/src/modeling/templates/template-registry.ts +73 -0
- package/src/modeling/templates/verticals/README.md +122 -0
- package/src/modeling/templates/{ecommerce-domain.ts → verticals/business-services/ecommerce-domain.ts} +7 -7
- package/src/modeling/templates/verticals/business-services/financial-services-domain.ts +943 -0
- package/src/modeling/templates/verticals/business-services/hospitality-domain.ts +994 -0
- package/src/modeling/templates/verticals/business-services/legal-services-domain.ts +1059 -0
- package/src/modeling/templates/verticals/education-training/education-domain.ts +922 -0
- package/src/modeling/templates/verticals/healthcare-life-sciences/healthcare-domain.ts +1111 -0
- package/src/modeling/templates/verticals/manufacturing-logistics/manufacturing-domain.ts +895 -0
- package/src/modeling/templates/verticals/public-sector/non-profit-domain.ts +1109 -0
- package/src/modeling/templates/verticals/real-estate-construction/real-estate-domain.ts +944 -0
- package/src/modeling/templates/{blog-domain.ts → verticals/technology-media/blog-domain.ts} +6 -6
- package/src/modeling/templates/verticals/technology-media/gaming-domain.ts +1290 -0
- package/src/modeling/templates/verticals/technology-media/iot-smart-home-domain.ts +1287 -0
- package/build/src/modeling/templates/blog-domain.d.ts.map +0 -1
- package/build/src/modeling/templates/blog-domain.js.map +0 -1
- package/build/src/modeling/templates/ecommerce-domain.d.ts.map +0 -1
- package/build/src/modeling/templates/ecommerce-domain.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"non-profit-platform","name":"Non-Profit Platform","description":"A comprehensive non-profit platform with donor management, programs, volunteers, grants, events, and financial management","createdAt":"2025-01-27T00:00:00.000Z","updatedAt":"2025-01-27T00:00:00.000Z","version":"1.0.0","author":"API Now! Core Team","tags":["non-profit","charity","donor-management","volunteer-management","grant-management"],"structure":{"domain":{"name":"Non-Profit Platform","description":"A comprehensive non-profit platform with donor management, programs, volunteers, grants, events, and financial management","totalEntities":15,"totalProperties":146,"totalAssociations":13},"namespaces":[{"name":"DonorManagement","displayName":"Donor Management","description":"Donors, donations, campaigns, and stewardship","modelCount":1,"entityCount":3,"models":[{"name":"Donors","displayName":"Donor Management","description":"Donor profiles and relationships","entityCount":3,"entities":[{"name":"donor","displayName":"Donor","description":"Donor with profile and giving history","propertyCount":12,"associationCount":0,"properties":[{"name":"id","displayName":"Donor ID","description":"Unique identifier for the donor","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Name","description":"Donor name and title","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Donor description and notes","type":"string","semantics":["Semantic#Description"]},{"name":"email","displayName":"Email Address","description":"Donor email address","type":"string","required":true,"semantics":["Semantic#Email"]},{"name":"phone","displayName":"Phone Number","description":"Donor phone number","type":"string","semantics":["Semantic#Phone"]},{"name":"donor_type","displayName":"Donor Type","description":"Type of donor","type":"string","required":true,"semantics":[],"enumValues":["individual","corporation","foundation","government","anonymous"]},{"name":"address","displayName":"Address","description":"Donor address","type":"string","required":false,"semantics":[]},{"name":"date_of_birth","displayName":"Date of Birth","description":"Donor date of birth","type":"date","required":false,"semantics":[]},{"name":"employer","displayName":"Employer","description":"Donor employer","type":"string","required":false,"semantics":[]},{"name":"status","displayName":"Donor Status","description":"Current status of the donor","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["active","inactive","prospect","lapsed"],"defaultValue":"active"},{"name":"created_at","displayName":"Created At","description":"When the donor record was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]},{"name":"updated_at","displayName":"Updated At","description":"When the donor record was last updated","type":"datetime","readOnly":true,"semantics":["Semantic#UpdatedTimestamp"]}],"associations":[],"semantics":[]},{"name":"donation","displayName":"Donation","description":"Donor contribution","propertyCount":9,"associationCount":2,"properties":[{"name":"id","displayName":"Donation ID","description":"Unique identifier for the donation","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Name","description":"Donation name and description","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Donation description and purpose","type":"string","semantics":["Semantic#Description"]},{"name":"donation_date","displayName":"Donation Date","description":"Date of the donation","type":"date","required":true,"semantics":[]},{"name":"donation_type","displayName":"Donation Type","description":"Type of donation","type":"string","required":true,"semantics":[],"enumValues":["one_time","recurring","pledge","in_kind","matching"]},{"name":"payment_method","displayName":"Payment Method","description":"Payment method used","type":"string","required":true,"semantics":[],"enumValues":["check","credit_card","bank_transfer","cash","online","stock"]},{"name":"amount","displayName":"Donation Amount","description":"Donation amount","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"status","displayName":"Donation Status","description":"Current status of the donation","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["pending","received","acknowledged","thanked"],"defaultValue":"pending"},{"name":"created_at","displayName":"Created At","description":"When the donation was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"donor","displayName":"Donor","description":"Donor for this donation","required":true,"multiple":false,"targetEntities":["donor"],"semantics":[],"cardinality":"One-to-One"},{"name":"campaign","displayName":"Campaign","description":"Campaign for this donation","required":false,"multiple":false,"targetEntities":["campaign"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]},{"name":"campaign","displayName":"Campaign","description":"Fundraising campaign","propertyCount":10,"associationCount":0,"properties":[{"name":"id","displayName":"Campaign ID","description":"Unique identifier for the campaign","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Name","description":"Campaign name and title","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Campaign description and goals","type":"string","semantics":["Semantic#Description"]},{"name":"campaign_type","displayName":"Campaign Type","description":"Type of campaign","type":"string","required":true,"semantics":[],"enumValues":["annual","capital","emergency","special_event","online","mail"]},{"name":"start_date","displayName":"Start Date","description":"Campaign start date","type":"date","required":true,"semantics":[]},{"name":"end_date","displayName":"End Date","description":"Campaign end date","type":"date","required":true,"semantics":[]},{"name":"goal_amount","displayName":"Goal Amount","description":"Campaign fundraising goal","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"raised_amount","displayName":"Raised Amount","description":"Amount raised so far","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"status","displayName":"Campaign Status","description":"Current status of the campaign","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["planning","active","completed","cancelled"],"defaultValue":"planning"},{"name":"created_at","displayName":"Created At","description":"When the campaign was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[],"semantics":[]}]}]},{"name":"ProgramManagement","displayName":"Program Management","description":"Programs, services, outcomes, and impact","modelCount":1,"entityCount":3,"models":[{"name":"Programs","displayName":"Program Management","description":"Programs and services","entityCount":3,"entities":[{"name":"program","displayName":"Program","description":"Non-profit program or service","propertyCount":11,"associationCount":0,"properties":[{"name":"id","displayName":"Program ID","description":"Unique identifier for the program","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Name","description":"Program name and title","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Program description and objectives","type":"string","semantics":["Semantic#Description"]},{"name":"program_type","displayName":"Program Type","description":"Type of program","type":"string","required":true,"semantics":[],"enumValues":["education","healthcare","social_services","environmental","arts_culture","community_development"]},{"name":"start_date","displayName":"Start Date","description":"Program start date","type":"date","required":true,"semantics":[]},{"name":"end_date","displayName":"End Date","description":"Program end date","type":"date","required":false,"semantics":[]},{"name":"budget","displayName":"Program Budget","description":"Program budget amount","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"target_population","displayName":"Target Population","description":"Target population served","type":"string","required":false,"semantics":[]},{"name":"status","displayName":"Program Status","description":"Current status of the program","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["planning","active","completed","suspended"],"defaultValue":"planning"},{"name":"created_at","displayName":"Created At","description":"When the program was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]},{"name":"updated_at","displayName":"Updated At","description":"When the program was last updated","type":"datetime","readOnly":true,"semantics":["Semantic#UpdatedTimestamp"]}],"associations":[],"semantics":[]},{"name":"service","displayName":"Service","description":"Service provided by the program","propertyCount":7,"associationCount":1,"properties":[{"name":"id","displayName":"Service ID","description":"Unique identifier for the service","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Name","description":"Service name and title","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Service description and details","type":"string","semantics":["Semantic#Description"]},{"name":"service_type","displayName":"Service Type","description":"Type of service","type":"string","required":true,"semantics":[],"enumValues":["direct_service","referral","advocacy","education","support","counseling"]},{"name":"location","displayName":"Location","description":"Service location","type":"string","required":false,"semantics":[]},{"name":"status","displayName":"Service Status","description":"Current status of the service","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["available","unavailable","waitlist"],"defaultValue":"available"},{"name":"created_at","displayName":"Created At","description":"When the service was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"program","displayName":"Program","description":"Program for this service","required":true,"multiple":false,"targetEntities":["program"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]},{"name":"outcome","displayName":"Outcome","description":"Program outcomes and impact measurement","propertyCount":9,"associationCount":1,"properties":[{"name":"id","displayName":"Outcome ID","description":"Unique identifier for the outcome","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Name","description":"Outcome name and description","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Outcome description and measurement","type":"string","semantics":["Semantic#Description"]},{"name":"outcome_type","displayName":"Outcome Type","description":"Type of outcome","type":"string","required":true,"semantics":[],"enumValues":["short_term","medium_term","long_term","impact","output"]},{"name":"measurement_unit","displayName":"Measurement Unit","description":"Unit of measurement","type":"string","required":true,"semantics":[]},{"name":"target_value","displayName":"Target Value","description":"Target outcome value","type":"number","required":true,"semantics":[]},{"name":"actual_value","displayName":"Actual Value","description":"Actual outcome value","type":"number","required":false,"semantics":[]},{"name":"status","displayName":"Outcome Status","description":"Current status of the outcome","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["planned","in_progress","achieved","not_achieved"],"defaultValue":"planned"},{"name":"created_at","displayName":"Created At","description":"When the outcome was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"program","displayName":"Program","description":"Program for this outcome","required":true,"multiple":false,"targetEntities":["program"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]}]}]},{"name":"VolunteerManagement","displayName":"Volunteer Management","description":"Volunteers, opportunities, and scheduling","modelCount":1,"entityCount":3,"models":[{"name":"Volunteers","displayName":"Volunteer Management","description":"Volunteer profiles and opportunities","entityCount":3,"entities":[{"name":"volunteer","displayName":"Volunteer","description":"Volunteer with profile and skills","propertyCount":11,"associationCount":0,"properties":[{"name":"id","displayName":"Volunteer ID","description":"Unique identifier for the volunteer","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Name","description":"Volunteer name and title","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Volunteer description and notes","type":"string","semantics":["Semantic#Description"]},{"name":"email","displayName":"Email Address","description":"Volunteer email address","type":"string","required":true,"semantics":["Semantic#Email"]},{"name":"phone","displayName":"Phone Number","description":"Volunteer phone number","type":"string","semantics":["Semantic#Phone"]},{"name":"volunteer_type","displayName":"Volunteer Type","description":"Type of volunteer","type":"string","required":true,"semantics":[],"enumValues":["individual","corporate","student","retired","professional"]},{"name":"skills","displayName":"Skills","description":"Volunteer skills and expertise","type":"string","required":false,"semantics":[]},{"name":"availability","displayName":"Availability","description":"Volunteer availability","type":"string","required":false,"semantics":[]},{"name":"status","displayName":"Volunteer Status","description":"Current status of the volunteer","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["active","inactive","pending","suspended"],"defaultValue":"active"},{"name":"created_at","displayName":"Created At","description":"When the volunteer record was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]},{"name":"updated_at","displayName":"Updated At","description":"When the volunteer record was last updated","type":"datetime","readOnly":true,"semantics":["Semantic#UpdatedTimestamp"]}],"associations":[],"semantics":[]},{"name":"opportunity","displayName":"Opportunity","description":"Volunteer opportunity","propertyCount":9,"associationCount":1,"properties":[{"name":"id","displayName":"Opportunity ID","description":"Unique identifier for the opportunity","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Name","description":"Opportunity name and title","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Opportunity description and requirements","type":"string","semantics":["Semantic#Description"]},{"name":"opportunity_type","displayName":"Opportunity Type","description":"Type of opportunity","type":"string","required":true,"semantics":[],"enumValues":["event_support","program_delivery","administrative","fundraising","mentoring","outreach"]},{"name":"location","displayName":"Location","description":"Opportunity location","type":"string","required":false,"semantics":[]},{"name":"required_skills","displayName":"Required Skills","description":"Skills required for opportunity","type":"string","required":false,"semantics":[]},{"name":"duration","displayName":"Duration","description":"Opportunity duration","type":"string","required":false,"semantics":[]},{"name":"status","displayName":"Opportunity Status","description":"Current status of the opportunity","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["open","filled","closed","cancelled"],"defaultValue":"open"},{"name":"created_at","displayName":"Created At","description":"When the opportunity was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"program","displayName":"Program","description":"Program for this opportunity","required":false,"multiple":false,"targetEntities":["program"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]},{"name":"volunteer_assignment","displayName":"Volunteer Assignment","description":"Volunteer assignments and scheduling","propertyCount":8,"associationCount":2,"properties":[{"name":"id","displayName":"Assignment ID","description":"Unique identifier for the volunteer assignment","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Name","description":"Assignment name and description","type":"string","semantics":["Semantic#Title"]},{"name":"assignment_date","displayName":"Assignment Date","description":"Assignment date","type":"date","required":true,"semantics":[]},{"name":"start_time","displayName":"Start Time","description":"Assignment start time","type":"time","required":true,"semantics":[]},{"name":"end_time","displayName":"End Time","description":"Assignment end time","type":"time","required":true,"semantics":[]},{"name":"hours_worked","displayName":"Hours Worked","description":"Hours worked on assignment","type":"number","required":false,"semantics":[]},{"name":"status","displayName":"Assignment Status","description":"Current status of the volunteer assignment","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["scheduled","in_progress","completed","cancelled"],"defaultValue":"scheduled"},{"name":"created_at","displayName":"Created At","description":"When the assignment was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"volunteer","displayName":"Volunteer","description":"Volunteer for this assignment","required":true,"multiple":false,"targetEntities":["volunteer"],"semantics":[],"cardinality":"One-to-One"},{"name":"opportunity","displayName":"Opportunity","description":"Opportunity for this assignment","required":true,"multiple":false,"targetEntities":["opportunity"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]}]}]},{"name":"GrantManagement","displayName":"Grant Management","description":"Grants, applications, reporting, and compliance","modelCount":1,"entityCount":2,"models":[{"name":"Grants","displayName":"Grant Management","description":"Grant applications and management","entityCount":2,"entities":[{"name":"grant","displayName":"Grant","description":"Grant application or award","propertyCount":11,"associationCount":1,"properties":[{"name":"id","displayName":"Grant ID","description":"Unique identifier for the grant","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Name","description":"Grant name and title","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Grant description and objectives","type":"string","semantics":["Semantic#Description"]},{"name":"grant_type","displayName":"Grant Type","description":"Type of grant","type":"string","required":true,"semantics":[],"enumValues":["program","operating","capital","research","emergency","matching"]},{"name":"funder","displayName":"Funder","description":"Grant funder or foundation","type":"string","required":true,"semantics":[]},{"name":"application_date","displayName":"Application Date","description":"Grant application date","type":"date","required":true,"semantics":[]},{"name":"decision_date","displayName":"Decision Date","description":"Grant decision date","type":"date","required":false,"semantics":[]},{"name":"requested_amount","displayName":"Requested Amount","description":"Amount requested in grant","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"awarded_amount","displayName":"Awarded Amount","description":"Amount awarded in grant","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"status","displayName":"Grant Status","description":"Current status of the grant","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["draft","submitted","under_review","approved","rejected","active","completed"],"defaultValue":"draft"},{"name":"created_at","displayName":"Created At","description":"When the grant was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"program","displayName":"Program","description":"Program for this grant","required":true,"multiple":false,"targetEntities":["program"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]},{"name":"grant_report","displayName":"Grant Report","description":"Grant reporting and compliance","propertyCount":8,"associationCount":1,"properties":[{"name":"id","displayName":"Report ID","description":"Unique identifier for the grant report","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Name","description":"Report name and title","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Report description and content","type":"string","semantics":["Semantic#Description"]},{"name":"report_type","displayName":"Report Type","description":"Type of grant report","type":"string","required":true,"semantics":[],"enumValues":["progress","final","financial","narrative","compliance"]},{"name":"due_date","displayName":"Due Date","description":"Report due date","type":"date","required":true,"semantics":[]},{"name":"submission_date","displayName":"Submission Date","description":"Report submission date","type":"date","required":false,"semantics":[]},{"name":"status","displayName":"Report Status","description":"Current status of the grant report","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["draft","submitted","approved","revision_requested"],"defaultValue":"draft"},{"name":"created_at","displayName":"Created At","description":"When the report was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"grant","displayName":"Grant","description":"Grant for this report","required":true,"multiple":false,"targetEntities":["grant"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]}]}]},{"name":"EventManagement","displayName":"Event Management","description":"Fundraising events, registrations, and logistics","modelCount":1,"entityCount":2,"models":[{"name":"Events","displayName":"Event Management","description":"Fundraising events and activities","entityCount":2,"entities":[{"name":"event","displayName":"Event","description":"Fundraising event or activity","propertyCount":13,"associationCount":0,"properties":[{"name":"id","displayName":"Event ID","description":"Unique identifier for the event","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Name","description":"Event name and title","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Event description and details","type":"string","semantics":["Semantic#Description"]},{"name":"event_type","displayName":"Event Type","description":"Type of event","type":"string","required":true,"semantics":[],"enumValues":["gala","auction","walk_run","golf_tournament","conference","workshop","volunteer_day"]},{"name":"event_date","displayName":"Event Date","description":"Event date","type":"date","required":true,"semantics":[]},{"name":"start_time","displayName":"Start Time","description":"Event start time","type":"time","required":true,"semantics":[]},{"name":"end_time","displayName":"End Time","description":"Event end time","type":"time","required":false,"semantics":[]},{"name":"location","displayName":"Location","description":"Event location","type":"string","required":true,"semantics":[]},{"name":"capacity","displayName":"Capacity","description":"Event capacity","type":"number","required":false,"semantics":[]},{"name":"goal_amount","displayName":"Goal Amount","description":"Event fundraising goal","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"raised_amount","displayName":"Raised Amount","description":"Amount raised from event","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"status","displayName":"Event Status","description":"Current status of the event","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["planning","registration_open","registration_closed","in_progress","completed","cancelled"],"defaultValue":"planning"},{"name":"created_at","displayName":"Created At","description":"When the event was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[],"semantics":[]},{"name":"registration","displayName":"Registration","description":"Event registration","propertyCount":8,"associationCount":2,"properties":[{"name":"id","displayName":"Registration ID","description":"Unique identifier for the registration","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Name","description":"Registration name and description","type":"string","semantics":["Semantic#Title"]},{"name":"registration_date","displayName":"Registration Date","description":"Registration date","type":"date","required":true,"semantics":[]},{"name":"registration_type","displayName":"Registration Type","description":"Type of registration","type":"string","required":true,"semantics":[],"enumValues":["individual","group","sponsor","volunteer"]},{"name":"number_of_attendees","displayName":"Number of Attendees","description":"Number of attendees","type":"number","required":true,"semantics":[]},{"name":"registration_fee","displayName":"Registration Fee","description":"Registration fee amount","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"status","displayName":"Registration Status","description":"Current status of the registration","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["pending","confirmed","cancelled","attended"],"defaultValue":"pending"},{"name":"created_at","displayName":"Created At","description":"When the registration was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"event","displayName":"Event","description":"Event for this registration","required":true,"multiple":false,"targetEntities":["event"],"semantics":[],"cardinality":"One-to-One"},{"name":"donor","displayName":"Donor","description":"Donor for this registration","required":true,"multiple":false,"targetEntities":["donor"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]}]}]},{"name":"FinancialManagement","displayName":"Financial Management","description":"Budgets, expenses, and reporting","modelCount":1,"entityCount":2,"models":[{"name":"Financial","displayName":"Financial Management","description":"Financial management and reporting","entityCount":2,"entities":[{"name":"budget","displayName":"Budget","description":"Organization budget","propertyCount":11,"associationCount":1,"properties":[{"name":"id","displayName":"Budget ID","description":"Unique identifier for the budget","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Name","description":"Budget name and description","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Budget description and notes","type":"string","semantics":["Semantic#Description"]},{"name":"budget_type","displayName":"Budget Type","description":"Type of budget","type":"string","required":true,"semantics":[],"enumValues":["operating","program","capital","project","department"]},{"name":"fiscal_year","displayName":"Fiscal Year","description":"Budget fiscal year","type":"string","required":true,"semantics":[]},{"name":"start_date","displayName":"Start Date","description":"Budget start date","type":"date","required":true,"semantics":[]},{"name":"end_date","displayName":"End Date","description":"Budget end date","type":"date","required":true,"semantics":[]},{"name":"total_budget","displayName":"Total Budget","description":"Total budget amount","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"spent_amount","displayName":"Spent Amount","description":"Amount spent so far","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"status","displayName":"Budget Status","description":"Current status of the budget","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["draft","approved","active","closed"],"defaultValue":"draft"},{"name":"created_at","displayName":"Created At","description":"When the budget was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"program","displayName":"Program","description":"Program for this budget","required":false,"multiple":false,"targetEntities":["program"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]},{"name":"expense","displayName":"Expense","description":"Organization expense","propertyCount":9,"associationCount":1,"properties":[{"name":"id","displayName":"Expense ID","description":"Unique identifier for the expense","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Name","description":"Expense name and description","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Expense description and details","type":"string","semantics":["Semantic#Description"]},{"name":"expense_type","displayName":"Expense Type","description":"Type of expense","type":"string","required":true,"semantics":[],"enumValues":["personnel","program","administrative","fundraising","facilities","equipment"]},{"name":"expense_date","displayName":"Expense Date","description":"Expense date","type":"date","required":true,"semantics":[]},{"name":"vendor","displayName":"Vendor","description":"Expense vendor","type":"string","required":false,"semantics":[]},{"name":"amount","displayName":"Expense Amount","description":"Expense amount","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"status","displayName":"Expense Status","description":"Current status of the expense","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["pending","approved","paid","rejected"],"defaultValue":"pending"},{"name":"created_at","displayName":"Created At","description":"When the expense was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"budget","displayName":"Budget","description":"Budget for this expense","required":true,"multiple":false,"targetEntities":["budget"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]}]}]}]}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"real-estate-management-platform","name":"Real Estate Management Platform","description":"A comprehensive real estate management platform with property management, client management, transaction management, market analysis, and marketing features. Perfect for real estate agencies, brokers, and property managers.","createdAt":"2025-01-27T00:00:00.000Z","updatedAt":"2025-01-27T00:00:00.000Z","version":"1.0.0","author":"API Now! Core Team","tags":["real-estate","property-management","client-management","transaction-management","market-analysis"],"structure":{"domain":{"name":"Real Estate Management Platform","description":"A comprehensive real estate management platform with property management, client management, transaction management, market analysis, and marketing features","totalEntities":15,"totalProperties":116,"totalAssociations":16},"namespaces":[{"name":"PropertyManagement","displayName":"Property Management","description":"Listings, properties, amenities, and photos","modelCount":1,"entityCount":4,"models":[{"name":"Properties","displayName":"Property Management","description":"Property information and listings","entityCount":4,"entities":[{"name":"property","displayName":"Property","description":"Real estate property information","propertyCount":16,"associationCount":2,"properties":[{"name":"id","displayName":"Property ID","description":"Unique identifier for the property","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Property Name","description":"Name or title of the property","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Property description and features","type":"string","semantics":["Semantic#Description"]},{"name":"address","displayName":"Address","description":"Property street address","type":"string","required":true,"semantics":[]},{"name":"city","displayName":"City","description":"Property city","type":"string","required":true,"semantics":[]},{"name":"state","displayName":"State","description":"Property state","type":"string","required":true,"semantics":[]},{"name":"zip_code","displayName":"ZIP Code","description":"Property ZIP code","type":"string","required":true,"semantics":[]},{"name":"square_feet","displayName":"Square Feet","description":"Property square footage","type":"number","required":true,"semantics":[]},{"name":"bedrooms","displayName":"Bedrooms","description":"Number of bedrooms","type":"number","required":true,"semantics":[]},{"name":"bathrooms","displayName":"Bathrooms","description":"Number of bathrooms","type":"number","required":true,"semantics":[]},{"name":"property_type","displayName":"Property Type","description":"Type of real estate property","type":"string","required":true,"semantics":[],"enumValues":["residential","commercial","industrial","land","mixed_use"]},{"name":"status","displayName":"Listing Status","description":"Current listing status of the property","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["for_sale","for_rent","sold","rented","off_market"],"defaultValue":"for_sale"},{"name":"list_price","displayName":"List Price","description":"Listing price of the property","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"market_value","displayName":"Market Value","description":"Estimated market value of the property","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"created_at","displayName":"Created At","description":"When the property was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]},{"name":"updated_at","displayName":"Updated At","description":"When the property was last updated","type":"datetime","readOnly":true,"semantics":["Semantic#UpdatedTimestamp"]}],"associations":[{"name":"amenities","displayName":"Amenities","description":"Amenities available at this property","required":false,"multiple":true,"targetEntities":["amenity"],"semantics":[],"cardinality":"One-to-Many"},{"name":"photos","displayName":"Photos","description":"Photos of this property","required":false,"multiple":true,"targetEntities":["photo"],"semantics":[],"cardinality":"One-to-Many"}],"semantics":[]},{"name":"listing","displayName":"Listing","description":"Property listing information","propertyCount":7,"associationCount":1,"properties":[{"name":"id","displayName":"Listing ID","description":"Unique identifier for the listing","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Listing Title","description":"Title of the listing","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Listing description and details","type":"string","semantics":["Semantic#Description"]},{"name":"price","displayName":"Listing Price","description":"Price for the listing","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"list_date","displayName":"List Date","description":"Date when property was listed","type":"date","required":true,"semantics":[]},{"name":"status","displayName":"Listing Status","description":"Current status of the listing","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["active","pending","sold","expired","withdrawn"],"defaultValue":"active"},{"name":"created_at","displayName":"Created At","description":"When the listing was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"property","displayName":"Property","description":"Property for this listing","required":true,"multiple":false,"targetEntities":["property"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]},{"name":"amenity","displayName":"Amenity","description":"Property amenities and features","propertyCount":6,"associationCount":0,"properties":[{"name":"id","displayName":"Amenity ID","description":"Unique identifier for the amenity","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Amenity Name","description":"Name of the amenity","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Amenity description and details","type":"string","semantics":["Semantic#Description"]},{"name":"amenity_type","displayName":"Amenity Type","description":"Type of amenity","type":"string","required":true,"semantics":[],"enumValues":["interior","exterior","community","utilities"]},{"name":"available","displayName":"Available","description":"Whether the amenity is available","type":"boolean","required":true,"semantics":[],"defaultValue":"true"},{"name":"created_at","displayName":"Created At","description":"When the amenity was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[],"semantics":[]},{"name":"photo","displayName":"Photo","description":"Property photos and images","propertyCount":7,"associationCount":0,"properties":[{"name":"id","displayName":"Photo ID","description":"Unique identifier for the photo","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"url","displayName":"Photo URL","description":"URL to the photo","type":"string","required":true,"semantics":[]},{"name":"name","displayName":"Photo Title","description":"Title or caption for the photo","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Photo description and details","type":"string","semantics":["Semantic#Description"]},{"name":"photo_type","displayName":"Photo Type","description":"Type of property photo","type":"string","required":true,"semantics":[],"enumValues":["exterior","interior","kitchen","bathroom","bedroom","living_room"]},{"name":"featured","displayName":"Featured","description":"Whether this is a featured photo","type":"boolean","required":true,"semantics":[],"defaultValue":"false"},{"name":"created_at","displayName":"Created At","description":"When the photo was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[],"semantics":[]}]}]},{"name":"ClientManagement","displayName":"Client Management","description":"Buyers, sellers, agents, and leads","modelCount":1,"entityCount":3,"models":[{"name":"Clients","displayName":"Client Management","description":"Client information and relationships","entityCount":3,"entities":[{"name":"client","displayName":"Client","description":"Real estate client (buyer or seller)","propertyCount":11,"associationCount":1,"properties":[{"name":"id","displayName":"Client ID","description":"Unique identifier for the client","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"first_name","displayName":"First Name","description":"Client first name","type":"string","semantics":[]},{"name":"last_name","displayName":"Last Name","description":"Client last name","type":"string","semantics":[]},{"name":"email","displayName":"Email Address","description":"Client email address","type":"string","required":true,"semantics":["Semantic#Email"]},{"name":"phone","displayName":"Phone Number","description":"Client phone number","type":"string","semantics":["Semantic#Phone"]},{"name":"client_type","displayName":"Client Type","description":"Type of client (buyer, seller, or both)","type":"string","required":true,"semantics":[],"enumValues":["buyer","seller","both"]},{"name":"status","displayName":"Client Status","description":"Current status of the client","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["active","inactive","prospect","closed"],"defaultValue":"active"},{"name":"budget_min","displayName":"Minimum Budget","description":"Minimum budget for property purchase","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"budget_max","displayName":"Maximum Budget","description":"Maximum budget for property purchase","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"created_at","displayName":"Created At","description":"When the client was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]},{"name":"updated_at","displayName":"Updated At","description":"When the client was last updated","type":"datetime","readOnly":true,"semantics":["Semantic#UpdatedTimestamp"]}],"associations":[{"name":"agent","displayName":"Agent","description":"Agent representing this client","required":true,"multiple":false,"targetEntities":["agent"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]},{"name":"agent","displayName":"Agent","description":"Real estate agent information","propertyCount":8,"associationCount":0,"properties":[{"name":"id","displayName":"Agent ID","description":"Unique identifier for the agent","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"first_name","displayName":"First Name","description":"Agent first name","type":"string","semantics":[]},{"name":"last_name","displayName":"Last Name","description":"Agent last name","type":"string","semantics":[]},{"name":"email","displayName":"Email Address","description":"Agent email address","type":"string","required":true,"semantics":["Semantic#Email"]},{"name":"phone","displayName":"Phone Number","description":"Agent phone number","type":"string","semantics":["Semantic#Phone"]},{"name":"license_number","displayName":"License Number","description":"Real estate license number","type":"string","required":true,"unique":true,"semantics":[]},{"name":"status","displayName":"Agent Status","description":"Current status of the agent","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["active","inactive","suspended"],"defaultValue":"active"},{"name":"created_at","displayName":"Created At","description":"When the agent was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[],"semantics":[]},{"name":"lead","displayName":"Lead","description":"Sales leads and prospects","propertyCount":9,"associationCount":1,"properties":[{"name":"id","displayName":"Lead ID","description":"Unique identifier for the lead","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"first_name","displayName":"First Name","description":"Lead first name","type":"string","semantics":[]},{"name":"last_name","displayName":"Last Name","description":"Lead last name","type":"string","semantics":[]},{"name":"email","displayName":"Email Address","description":"Lead email address","type":"string","required":true,"semantics":["Semantic#Email"]},{"name":"phone","displayName":"Phone Number","description":"Lead phone number","type":"string","semantics":["Semantic#Phone"]},{"name":"status","displayName":"Lead Status","description":"Current status of the lead","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["new","contacted","qualified","converted","lost"],"defaultValue":"new"},{"name":"lead_source","displayName":"Lead Source","description":"Source of the lead","type":"string","required":true,"semantics":[],"enumValues":["website","referral","social_media","cold_call","event"]},{"name":"description","displayName":"Description","description":"Lead notes and information","type":"string","semantics":["Semantic#Description"]},{"name":"created_at","displayName":"Created At","description":"When the lead was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"agent","displayName":"Agent","description":"Agent assigned to this lead","required":true,"multiple":false,"targetEntities":["agent"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]}]}]},{"name":"TransactionManagement","displayName":"Transaction Management","description":"Offers, contracts, closings, and escrow","modelCount":1,"entityCount":3,"models":[{"name":"Transactions","displayName":"Transaction Management","description":"Real estate transactions and deals","entityCount":3,"entities":[{"name":"offer","displayName":"Offer","description":"Property purchase offers","propertyCount":6,"associationCount":2,"properties":[{"name":"id","displayName":"Offer ID","description":"Unique identifier for the offer","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"offer_price","displayName":"Offer Price","description":"Price offered for the property","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"offer_date","displayName":"Offer Date","description":"Date when offer was made","type":"date","required":true,"semantics":[]},{"name":"status","displayName":"Offer Status","description":"Current status of the offer","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["pending","accepted","rejected","countered","withdrawn"],"defaultValue":"pending"},{"name":"description","displayName":"Description","description":"Offer terms and conditions","type":"string","semantics":["Semantic#Description"]},{"name":"created_at","displayName":"Created At","description":"When the offer was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"property","displayName":"Property","description":"Property for this offer","required":true,"multiple":false,"targetEntities":["property"],"semantics":[],"cardinality":"One-to-One"},{"name":"buyer","displayName":"Buyer","description":"Buyer making this offer","required":true,"multiple":false,"targetEntities":["client"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]},{"name":"contract","displayName":"Contract","description":"Real estate purchase contracts","propertyCount":6,"associationCount":3,"properties":[{"name":"id","displayName":"Contract ID","description":"Unique identifier for the contract","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"purchase_price","displayName":"Purchase Price","description":"Final purchase price","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"contract_date","displayName":"Contract Date","description":"Date when contract was signed","type":"date","required":true,"semantics":[]},{"name":"closing_date","displayName":"Closing Date","description":"Scheduled closing date","type":"date","required":true,"semantics":[]},{"name":"status","displayName":"Contract Status","description":"Current status of the contract","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["draft","signed","pending","closed","cancelled"],"defaultValue":"draft"},{"name":"created_at","displayName":"Created At","description":"When the contract was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"property","displayName":"Property","description":"Property in this contract","required":true,"multiple":false,"targetEntities":["property"],"semantics":[],"cardinality":"One-to-One"},{"name":"buyer","displayName":"Buyer","description":"Buyer in this contract","required":true,"multiple":false,"targetEntities":["client"],"semantics":[],"cardinality":"One-to-One"},{"name":"seller","displayName":"Seller","description":"Seller in this contract","required":true,"multiple":false,"targetEntities":["client"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]},{"name":"escrow","displayName":"Escrow","description":"Escrow account and transaction details","propertyCount":5,"associationCount":1,"properties":[{"name":"id","displayName":"Escrow ID","description":"Unique identifier for the escrow","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"escrow_amount","displayName":"Escrow Amount","description":"Amount held in escrow","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"escrow_date","displayName":"Escrow Date","description":"Date when escrow was opened","type":"date","required":true,"semantics":[]},{"name":"status","displayName":"Escrow Status","description":"Current status of the escrow","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["open","funded","closed","cancelled"],"defaultValue":"open"},{"name":"created_at","displayName":"Created At","description":"When the escrow was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"contract","displayName":"Contract","description":"Contract for this escrow","required":true,"multiple":false,"targetEntities":["contract"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]}]}]},{"name":"MarketAnalysis","displayName":"Market Analysis","description":"Comps, market data, and pricing models","modelCount":1,"entityCount":2,"models":[{"name":"Market","displayName":"Market Analysis","description":"Market data and analysis","entityCount":2,"entities":[{"name":"market_data","displayName":"Market Data","description":"Real estate market data and trends","propertyCount":7,"associationCount":0,"properties":[{"name":"id","displayName":"Market Data ID","description":"Unique identifier for the market data","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"area","displayName":"Area","description":"Geographic area for market data","type":"string","required":true,"semantics":[]},{"name":"data_date","displayName":"Data Date","description":"Date of market data","type":"date","required":true,"semantics":[]},{"name":"avg_price","displayName":"Average Price","description":"Average property price in the area","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"days_on_market","displayName":"Days on Market","description":"Average days on market","type":"number","required":true,"semantics":[]},{"name":"inventory_count","displayName":"Inventory Count","description":"Number of properties for sale","type":"number","required":true,"semantics":[]},{"name":"created_at","displayName":"Created At","description":"When the market data was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[],"semantics":[]},{"name":"comparable","displayName":"Comparable","description":"Comparable property sales data","propertyCount":6,"associationCount":1,"properties":[{"name":"id","displayName":"Comparable ID","description":"Unique identifier for the comparable","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Comparable Name","description":"Name or address of comparable property","type":"string","semantics":["Semantic#Title"]},{"name":"sale_price","displayName":"Sale Price","description":"Sale price of the comparable property","type":"number","required":true,"semantics":["Semantic#Currency"]},{"name":"sale_date","displayName":"Sale Date","description":"Date when comparable property sold","type":"date","required":true,"semantics":[]},{"name":"square_feet","displayName":"Square Feet","description":"Square footage of comparable property","type":"number","required":true,"semantics":[]},{"name":"created_at","displayName":"Created At","description":"When the comparable was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"property","displayName":"Property","description":"Property for this comparable","required":true,"multiple":false,"targetEntities":["property"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]}]}]},{"name":"DocumentManagement","displayName":"Document Management","description":"Contracts, disclosures, and legal documents","modelCount":1,"entityCount":1,"models":[{"name":"Documents","displayName":"Document Management","description":"Document storage and management","entityCount":1,"entities":[{"name":"document","displayName":"Document","description":"Legal documents and contracts","propertyCount":7,"associationCount":2,"properties":[{"name":"id","displayName":"Document ID","description":"Unique identifier for the document","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Document Name","description":"Name of the document","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Document description and details","type":"string","semantics":["Semantic#Description"]},{"name":"file_url","displayName":"File URL","description":"URL to the document file","type":"string","required":true,"semantics":[]},{"name":"document_type","displayName":"Document Type","description":"Type of document","type":"string","required":true,"semantics":[],"enumValues":["contract","disclosure","inspection","appraisal","title","other"]},{"name":"status","displayName":"Document Status","description":"Current status of the document","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["draft","pending","signed","archived"],"defaultValue":"draft"},{"name":"created_at","displayName":"Created At","description":"When the document was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"contract","displayName":"Contract","description":"Contract for this document","required":false,"multiple":false,"targetEntities":["contract"],"semantics":[],"cardinality":"One-to-One"},{"name":"property","displayName":"Property","description":"Property for this document","required":false,"multiple":false,"targetEntities":["property"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]}]}]},{"name":"Marketing","displayName":"Marketing","description":"Lead generation, campaigns, and follow-ups","modelCount":1,"entityCount":2,"models":[{"name":"Marketing","displayName":"Marketing Management","description":"Marketing campaigns and activities","entityCount":2,"entities":[{"name":"campaign","displayName":"Campaign","description":"Marketing campaigns and promotions","propertyCount":8,"associationCount":0,"properties":[{"name":"id","displayName":"Campaign ID","description":"Unique identifier for the campaign","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Campaign Name","description":"Name of the marketing campaign","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Campaign description and objectives","type":"string","semantics":["Semantic#Description"]},{"name":"start_date","displayName":"Start Date","description":"Campaign start date","type":"date","required":true,"semantics":[]},{"name":"end_date","displayName":"End Date","description":"Campaign end date","type":"date","required":true,"semantics":[]},{"name":"status","displayName":"Campaign Status","description":"Current status of the campaign","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["draft","active","paused","completed","cancelled"],"defaultValue":"draft"},{"name":"campaign_type","displayName":"Campaign Type","description":"Type of marketing campaign","type":"string","required":true,"semantics":[],"enumValues":["email","social_media","print","digital","event"]},{"name":"created_at","displayName":"Created At","description":"When the campaign was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[],"semantics":[]},{"name":"follow_up","displayName":"Follow-up","description":"Client follow-up activities","propertyCount":7,"associationCount":2,"properties":[{"name":"id","displayName":"Follow-up ID","description":"Unique identifier for the follow-up","type":"string","primary":true,"readOnly":true,"semantics":[]},{"name":"name","displayName":"Follow-up Title","description":"Title of the follow-up activity","type":"string","semantics":["Semantic#Title"]},{"name":"description","displayName":"Description","description":"Follow-up notes and details","type":"string","semantics":["Semantic#Description"]},{"name":"scheduled_date","displayName":"Scheduled Date","description":"Scheduled follow-up date","type":"date","required":true,"semantics":[]},{"name":"status","displayName":"Follow-up Status","description":"Current status of the follow-up","type":"string","required":true,"semantics":["Semantic#Status"],"enumValues":["scheduled","completed","cancelled","overdue"],"defaultValue":"scheduled"},{"name":"follow_up_type","displayName":"Follow-up Type","description":"Type of follow-up activity","type":"string","required":true,"semantics":[],"enumValues":["phone_call","email","meeting","text","other"]},{"name":"created_at","displayName":"Created At","description":"When the follow-up was created","type":"datetime","readOnly":true,"semantics":["Semantic#CreatedTimestamp"]}],"associations":[{"name":"client","displayName":"Client","description":"Client for this follow-up","required":true,"multiple":false,"targetEntities":["client"],"semantics":[],"cardinality":"One-to-One"},{"name":"agent","displayName":"Agent","description":"Agent responsible for this follow-up","required":true,"multiple":false,"targetEntities":["agent"],"semantics":[],"cardinality":"One-to-One"}],"semantics":[]}]}]}]}}
|
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
The domain templates allow creating or updating existing data domains from a template. Templates follow the Domain-Driven Design (DDD) principles and provide pre-built business domain structures that users can instantiate or extend.
|
|
4
4
|
|
|
5
|
+
## Organization by Industry Verticals
|
|
6
|
+
|
|
7
|
+
Templates are organized by industry verticals to provide better categorization and discovery:
|
|
8
|
+
|
|
9
|
+
- **Business Services**: E-commerce, Financial Services, Legal Services
|
|
10
|
+
- **Healthcare & Life Sciences**: Healthcare, Pharmaceutical, Research
|
|
11
|
+
- **Education & Training**: Education, Corporate Training, Certification
|
|
12
|
+
- **Real Estate & Construction**: Real Estate, Construction, Property Management
|
|
13
|
+
- **Manufacturing & Logistics**: Manufacturing, Supply Chain, Distribution
|
|
14
|
+
- **Technology & Media**: Gaming, IoT, Content Management, Social Media
|
|
15
|
+
- **Public Sector**: Government, Non-Profit, Healthcare
|
|
16
|
+
|
|
17
|
+
See `verticals/README.md` for detailed information about the vertical organization.
|
|
18
|
+
|
|
5
19
|
## Template Structure
|
|
6
20
|
|
|
7
21
|
Each template is a TypeScript file that exports a default function conforming to the template signature. Templates create comprehensive data domains with proper namespace organization, entity relationships, and semantic annotations.
|
|
@@ -45,6 +45,79 @@ export class TemplateRegistry {
|
|
|
45
45
|
return getTemplatesByCategory(category)
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
/**
|
|
49
|
+
* Gets templates filtered by industry vertical
|
|
50
|
+
*/
|
|
51
|
+
static getTemplatesByVertical(vertical: string): DomainTemplate[] {
|
|
52
|
+
// This would need to be implemented in the meta/index.js
|
|
53
|
+
return getAllTemplates().filter((template) =>
|
|
54
|
+
template.tags?.some((tag) => tag.toLowerCase().includes(vertical.toLowerCase()))
|
|
55
|
+
)
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Gets all available industry verticals
|
|
60
|
+
*/
|
|
61
|
+
static getIndustryVerticals(): {
|
|
62
|
+
id: string
|
|
63
|
+
name: string
|
|
64
|
+
description: string
|
|
65
|
+
subcategories: string[]
|
|
66
|
+
templateCount: number
|
|
67
|
+
}[] {
|
|
68
|
+
return [
|
|
69
|
+
{
|
|
70
|
+
id: 'business-services',
|
|
71
|
+
name: 'Business Services',
|
|
72
|
+
description: 'E-commerce, Financial Services, Legal Services',
|
|
73
|
+
subcategories: ['E-commerce', 'Financial Services', 'Legal Services'],
|
|
74
|
+
templateCount: 4,
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
id: 'healthcare-life-sciences',
|
|
78
|
+
name: 'Healthcare & Life Sciences',
|
|
79
|
+
description: 'Healthcare, Pharmaceutical, Research',
|
|
80
|
+
subcategories: ['Healthcare', 'Pharmaceutical', 'Research'],
|
|
81
|
+
templateCount: 1,
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
id: 'education-training',
|
|
85
|
+
name: 'Education & Training',
|
|
86
|
+
description: 'Education, Corporate Training, Certification',
|
|
87
|
+
subcategories: ['Education', 'Corporate Training', 'Certification'],
|
|
88
|
+
templateCount: 1,
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
id: 'real-estate-construction',
|
|
92
|
+
name: 'Real Estate & Construction',
|
|
93
|
+
description: 'Real Estate, Construction, Property Management',
|
|
94
|
+
subcategories: ['Real Estate', 'Construction', 'Property Management'],
|
|
95
|
+
templateCount: 1,
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
id: 'manufacturing-logistics',
|
|
99
|
+
name: 'Manufacturing & Logistics',
|
|
100
|
+
description: 'Manufacturing, Supply Chain, Distribution',
|
|
101
|
+
subcategories: ['Manufacturing', 'Supply Chain', 'Distribution'],
|
|
102
|
+
templateCount: 1,
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
id: 'technology-media',
|
|
106
|
+
name: 'Technology & Media',
|
|
107
|
+
description: 'Gaming, IoT, Content Management, Social Media',
|
|
108
|
+
subcategories: ['Gaming', 'IoT', 'Content Management', 'Social Media'],
|
|
109
|
+
templateCount: 3,
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
id: 'public-sector',
|
|
113
|
+
name: 'Public Sector',
|
|
114
|
+
description: 'Government, Non-Profit, Healthcare',
|
|
115
|
+
subcategories: ['Government', 'Non-Profit', 'Healthcare'],
|
|
116
|
+
templateCount: 1,
|
|
117
|
+
},
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
|
|
48
121
|
/**
|
|
49
122
|
* Searches templates by name or description
|
|
50
123
|
*/
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# Industry Vertical Templates
|
|
2
|
+
|
|
3
|
+
This directory organizes domain templates by industry verticals to provide better categorization and discovery for users looking for domain-specific templates.
|
|
4
|
+
|
|
5
|
+
## Structure
|
|
6
|
+
|
|
7
|
+
```plain
|
|
8
|
+
verticals/
|
|
9
|
+
├── business-services/ # E-commerce, Financial Services, Legal Services
|
|
10
|
+
│ ├── ecommerce-domain.ts
|
|
11
|
+
│ ├── financial-services-domain.ts
|
|
12
|
+
│ └── index.ts
|
|
13
|
+
├── healthcare-life-sciences/ # Healthcare, Pharmaceutical, Research
|
|
14
|
+
│ ├── healthcare-domain.ts
|
|
15
|
+
│ └── index.ts
|
|
16
|
+
├── education-training/ # Education, Corporate Training, Certification
|
|
17
|
+
│ ├── education-domain.ts
|
|
18
|
+
│ └── index.ts
|
|
19
|
+
├── real-estate-construction/ # Real Estate, Construction, Property Management
|
|
20
|
+
│ ├── real-estate-domain.ts
|
|
21
|
+
│ └── index.ts
|
|
22
|
+
├── technology-media/ # Gaming, IoT, Content Management, Social Media
|
|
23
|
+
│ ├── blog-domain.ts
|
|
24
|
+
│ └── index.ts
|
|
25
|
+
├── manufacturing-logistics/ # Manufacturing, Supply Chain, Distribution
|
|
26
|
+
│ └── index.ts
|
|
27
|
+
├── public-sector/ # Government, Non-Profit, Healthcare
|
|
28
|
+
│ └── index.ts
|
|
29
|
+
└── index.ts # Main verticals index
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Industry Verticals
|
|
33
|
+
|
|
34
|
+
### 1. Business Services
|
|
35
|
+
|
|
36
|
+
- **E-commerce Platform**: Complete e-commerce data domain with product management, orders, customers, and payments
|
|
37
|
+
- **Financial Services Platform**: Comprehensive financial services data domain with accounts, transactions, investments, and compliance
|
|
38
|
+
|
|
39
|
+
### 2. Healthcare & Life Sciences
|
|
40
|
+
|
|
41
|
+
- **Healthcare Management Platform**: Comprehensive healthcare data domain with patients, providers, facilities, and medical records
|
|
42
|
+
|
|
43
|
+
### 3. Education & Training
|
|
44
|
+
|
|
45
|
+
- **Education Management Platform**: Comprehensive education data domain with students, courses, faculty, and academic management
|
|
46
|
+
|
|
47
|
+
### 4. Real Estate & Construction
|
|
48
|
+
|
|
49
|
+
- **Real Estate Management Platform**: Comprehensive real estate data domain with properties, clients, transactions, and marketing
|
|
50
|
+
|
|
51
|
+
### 5. Technology & Media
|
|
52
|
+
|
|
53
|
+
- **Blog Publishing Platform**: Complete blog and content publishing data domain with articles, authors, and media management
|
|
54
|
+
|
|
55
|
+
### 6. Manufacturing & Logistics
|
|
56
|
+
|
|
57
|
+
- *No templates yet* - Planned for Manufacturing, Supply Chain, Distribution
|
|
58
|
+
|
|
59
|
+
### 7. Public Sector
|
|
60
|
+
|
|
61
|
+
- *No templates yet* - Planned for Government, Non-Profit, Healthcare
|
|
62
|
+
|
|
63
|
+
## Usage
|
|
64
|
+
|
|
65
|
+
### Importing Templates by Vertical
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
// Import all verticals
|
|
69
|
+
import {
|
|
70
|
+
businessServicesTemplates,
|
|
71
|
+
healthcareLifeSciencesTemplates,
|
|
72
|
+
educationTrainingTemplates,
|
|
73
|
+
realEstateConstructionTemplates,
|
|
74
|
+
technologyMediaTemplates,
|
|
75
|
+
manufacturingLogisticsTemplates,
|
|
76
|
+
publicSectorTemplates
|
|
77
|
+
} from './verticals/index.js'
|
|
78
|
+
|
|
79
|
+
// Import specific templates
|
|
80
|
+
import { createEcommerceDomain } from './verticals/business-services/index.js'
|
|
81
|
+
import { createHealthcareDomain } from './verticals/healthcare-life-sciences/index.js'
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Using the Template Registry
|
|
85
|
+
|
|
86
|
+
```typescript
|
|
87
|
+
import { TemplateRegistry } from './template-registry.js'
|
|
88
|
+
|
|
89
|
+
// Get all industry verticals
|
|
90
|
+
const verticals = TemplateRegistry.getIndustryVerticals()
|
|
91
|
+
|
|
92
|
+
// Get templates by vertical
|
|
93
|
+
const businessTemplates = TemplateRegistry.getTemplatesByVertical('business-services')
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## Adding New Templates
|
|
97
|
+
|
|
98
|
+
1. **Choose the appropriate vertical** based on the industry focus
|
|
99
|
+
2. **Create the template file** in the corresponding vertical directory
|
|
100
|
+
3. **Update the vertical's index.ts** to export the new template
|
|
101
|
+
4. **Update the main verticals index.ts** to include the template metadata
|
|
102
|
+
5. **Update the metadata generation script** to include the new template
|
|
103
|
+
6. **Run the build and metadata generation**:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
npm run build
|
|
107
|
+
node scripts/generate-template-metadata.js
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## Template Categories
|
|
111
|
+
|
|
112
|
+
Each vertical can contain multiple subcategories:
|
|
113
|
+
|
|
114
|
+
- **Business Services**: E-commerce, Financial Services, Legal Services
|
|
115
|
+
- **Healthcare & Life Sciences**: Healthcare, Pharmaceutical, Research
|
|
116
|
+
- **Education & Training**: Education, Corporate Training, Certification
|
|
117
|
+
- **Real Estate & Construction**: Real Estate, Construction, Property Management
|
|
118
|
+
- **Manufacturing & Logistics**: Manufacturing, Supply Chain, Distribution
|
|
119
|
+
- **Technology & Media**: Gaming, IoT, Content Management, Social Media
|
|
120
|
+
- **Public Sector**: Government, Non-Profit, Healthcare
|
|
121
|
+
|
|
122
|
+
This organization helps users quickly find templates relevant to their industry and use case.
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
import { DataDomain } from '
|
|
26
|
-
import { SemanticType } from '
|
|
27
|
-
import { createCalculatedSemantic } from '
|
|
28
|
-
import { createCurrencySemantic } from '
|
|
29
|
-
import { createSummarySemantic } from '
|
|
25
|
+
import { DataDomain } from '../../../DataDomain.js'
|
|
26
|
+
import { SemanticType } from '../../../Semantics.js'
|
|
27
|
+
import { createCalculatedSemantic } from '../../../definitions/Calculated.js'
|
|
28
|
+
import { createCurrencySemantic } from '../../../definitions/Currency.js'
|
|
29
|
+
import { createSummarySemantic } from '../../../definitions/Summary.js'
|
|
30
30
|
import {
|
|
31
31
|
addAvatarUrlField,
|
|
32
32
|
addCreatedAtField,
|
|
@@ -51,8 +51,8 @@ import {
|
|
|
51
51
|
addExpiresAtField,
|
|
52
52
|
addUnitPriceField,
|
|
53
53
|
addCurrencyAmountField,
|
|
54
|
-
} from '
|
|
55
|
-
import type { CreateTemplateOptions } from '
|
|
54
|
+
} from '../../../helpers/Intelisense.js'
|
|
55
|
+
import type { CreateTemplateOptions } from '../../types.js'
|
|
56
56
|
|
|
57
57
|
function createDomain(): DataDomain {
|
|
58
58
|
return new DataDomain({
|