{"openapi":"3.1.0","info":{"title":"DinaBina CMMS Public API","version":"1.0","description":"REST API for assets, work orders, inventory and webhooks. Authenticate with the X-API-Key header.","contact":{"email":"sales@mydbfm.com","url":"https://mydbfm.com/developers"}},"servers":[{"url":"https://mydbfm.com/api"}],"paths":{"/v1/assets":{"get":{"summary":"Api V1 Get Assets","operationId":"api_v1_get_assets_api_v1_assets_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyAuth":[]}],"tags":["v1"]}},"/v1/work-orders":{"get":{"summary":"Api V1 Get Work Orders","operationId":"api_v1_get_work_orders_api_v1_work_orders_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyAuth":[]}],"tags":["v1"]},"post":{"summary":"Api V1 Create Work Order","operationId":"api_v1_create_work_order_api_v1_work_orders_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkOrderCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyAuth":[]}],"tags":["v1"]}},"/v1/inventory":{"get":{"summary":"Api V1 Get Inventory","operationId":"api_v1_get_inventory_api_v1_inventory_get","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyAuth":[]}],"tags":["v1"]}},"/v1/assets/sync":{"post":{"summary":"Api V1 Sync Assets","operationId":"api_v1_sync_assets_api_v1_assets_sync_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Assets"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyAuth":[]}],"tags":["v1"]}},"/v1/webhooks":{"get":{"tags":["Developers"],"summary":"List Webhooks","operationId":"list_webhooks_api_v1_webhooks_get","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyAuth":[]}]},"post":{"tags":["Developers"],"summary":"Create Webhook","operationId":"create_webhook_api_v1_webhooks_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyAuth":[]}]}},"/v1/webhooks/{sub_id}":{"delete":{"tags":["Developers"],"summary":"Delete Webhook","operationId":"delete_webhook_api_v1_webhooks__sub_id__delete","parameters":[{"name":"sub_id","in":"path","required":true,"schema":{"type":"string","title":"Sub Id"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyAuth":[]}]}},"/v1/webhooks/{sub_id}/test":{"post":{"tags":["Developers"],"summary":"Test Webhook","operationId":"test_webhook_api_v1_webhooks__sub_id__test_post","parameters":[{"name":"sub_id","in":"path","required":true,"schema":{"type":"string","title":"Sub Id"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyAuth":[]}]}},"/v1/webhooks/{sub_id}/deliveries":{"get":{"tags":["Developers"],"summary":"Webhook Deliveries","operationId":"webhook_deliveries_api_v1_webhooks__sub_id__deliveries_get","parameters":[{"name":"sub_id","in":"path","required":true,"schema":{"type":"string","title":"Sub Id"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyAuth":[]}]}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"}},"schemas":{"ABEventTrack":{"properties":{"experiment_id":{"type":"string","title":"Experiment Id"},"variant":{"type":"string","title":"Variant"},"event":{"type":"string","title":"Event"},"visitor_id":{"type":"string","title":"Visitor Id"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["experiment_id","variant","event","visitor_id"],"title":"ABEventTrack"},"ABExperimentCreate":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","default":""},"variants":{"items":{},"type":"array","title":"Variants","default":["control","variant_a"]},"traffic_percentage":{"type":"integer","title":"Traffic Percentage","default":100}},"type":"object","required":["name"],"title":"ABExperimentCreate"},"AIWritingRequest":{"properties":{"action":{"type":"string","title":"Action"},"content":{"type":"string","title":"Content"},"context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context"}},"type":"object","required":["action","content"],"title":"AIWritingRequest"},"APBillCreate":{"properties":{"property_id":{"type":"string","title":"Property Id"},"unit_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Id"},"vendor_name":{"type":"string","title":"Vendor Name"},"vendor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Id"},"bill_date":{"type":"string","title":"Bill Date"},"due_date":{"type":"string","title":"Due Date"},"category":{"$ref":"#/components/schemas/BillCategory"},"amount":{"type":"number","title":"Amount"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"work_order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Work Order Id"}},"type":"object","required":["property_id","vendor_name","bill_date","due_date","category","amount"],"title":"APBillCreate"},"APIKeyCreate":{"properties":{"name":{"type":"string","title":"Name"},"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions","default":["read"]},"expires_days":{"type":"integer","title":"Expires Days","default":365}},"type":"object","required":["name"],"title":"APIKeyCreate"},"APIKeyGenerateRequest":{"properties":{"password":{"type":"string","title":"Password"}},"type":"object","required":["password"],"title":"APIKeyGenerateRequest"},"AccountCreate":{"properties":{"account_code":{"type":"string","title":"Account Code"},"account_name":{"type":"string","title":"Account Name"},"account_type":{"$ref":"#/components/schemas/AccountType"},"parent_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Account Id"},"property_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["account_code","account_name","account_type"],"title":"AccountCreate"},"AccountType":{"type":"string","enum":["revenue","expense","asset","liability","equity"],"title":"AccountType"},"AdminResetPasswordRequest":{"properties":{"user_id":{"type":"string","title":"User Id"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","default":"Requested by user"}},"type":"object","required":["user_id"],"title":"AdminResetPasswordRequest"},"AlertResponse-Input":{"properties":{"response_message":{"type":"string","title":"Response Message"},"status":{"type":"string","title":"Status","default":"addressed"}},"type":"object","required":["response_message"],"title":"AlertResponse","description":"Response to a Super User alert"},"AlertResponse-Output":{"properties":{"id":{"type":"string","title":"Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id"},"asset_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Name"},"facility_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Facility Name"},"site_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Name"},"type":{"type":"string","title":"Type"},"severity":{"type":"string","title":"Severity"},"message":{"type":"string","title":"Message"},"acknowledged":{"type":"boolean","title":"Acknowledged"},"acknowledged_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acknowledged By"},"acknowledged_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acknowledged At"},"work_order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Work Order Id"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","tenant_id","type","severity","message","acknowledged","created_at"],"title":"AlertResponse"},"ApplyBody":{"properties":{"site_id":{"type":"string","title":"Site Id"},"site_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Name"},"jurisdiction":{"type":"string","title":"Jurisdiction"},"item_ids":{"items":{"type":"string"},"type":"array","title":"Item Ids"},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},"type":"object","required":["site_id","jurisdiction","item_ids"],"title":"ApplyBody"},"ApprovalAction":{"properties":{"action":{"type":"string","title":"Action"},"comments":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comments","default":""}},"type":"object","required":["action"],"title":"ApprovalAction"},"AssetCost":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"asset_name":{"type":"string","title":"Asset Name"},"acquisition_cost":{"type":"number","title":"Acquisition Cost","default":0},"purchase_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purchase Date"},"useful_life_years":{"type":"number","title":"Useful Life Years","default":10},"salvage_value":{"type":"number","title":"Salvage Value","default":0},"depreciation_method":{"type":"string","title":"Depreciation Method","default":"straight_line"},"cost_centre":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cost Centre","default":""},"department":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Department","default":""},"site_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Id","default":""},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes","default":""}},"type":"object","required":["asset_id","asset_name"],"title":"AssetCost"},"AssetCreate":{"properties":{"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"facility_id":{"type":"string","title":"Facility Id"},"model_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Number"},"serial_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serial Number"},"manufacturer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manufacturer"},"purchase_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purchase Date"},"commissioning_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commissioning Date"},"warranty_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warranty End"},"warranty_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warranty Type"},"amc_end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amc End Date"},"criticality":{"type":"string","title":"Criticality","default":"medium"},"mqtt_topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mqtt Topic"},"thresholds":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Thresholds"},"running_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Running Hours"},"maintenance_frequency_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Maintenance Frequency Hours"},"maintenance_frequency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Maintenance Frequency"},"parent_asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Asset Id"},"purchase_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Purchase Cost"},"expected_life_years":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Expected Life Years"}},"type":"object","required":["name","type","facility_id"],"title":"AssetCreate"},"AssetResponse":{"properties":{"id":{"type":"string","title":"Id"},"tenant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant Id"},"site_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Id"},"facility_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Facility Id"},"site_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Name"},"facility_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Facility Name"},"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"model_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Number"},"serial_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serial Number"},"manufacturer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manufacturer"},"purchase_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purchase Date"},"commissioning_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commissioning Date"},"warranty_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warranty End"},"warranty_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warranty Type"},"warranty_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warranty Status"},"amc_end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amc End Date"},"criticality":{"type":"string","title":"Criticality","default":"medium"},"status":{"type":"string","title":"Status","default":"operational"},"health_score":{"type":"number","title":"Health Score","default":100.0},"mqtt_topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mqtt Topic"},"thresholds":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Thresholds"},"qr_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Qr Code"},"last_maintenance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Maintenance"},"running_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Running Hours"},"maintenance_frequency_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Maintenance Frequency Hours"},"maintenance_frequency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Maintenance Frequency"},"parent_asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Asset Id"},"purchase_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Purchase Cost"},"expected_life_years":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Expected Life Years"},"tenant_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant Name"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"created_by_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By Email"},"created_by_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By Name"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","name","type","created_at"],"title":"AssetResponse"},"AssetUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"criticality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Criticality"},"thresholds":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Thresholds"},"purchase_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purchase Date"},"commissioning_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commissioning Date"},"warranty_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warranty End"},"warranty_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warranty Type"},"amc_end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amc End Date"}},"type":"object","title":"AssetUpdate"},"AuditLogResponse":{"properties":{"id":{"type":"string","title":"Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"user_id":{"type":"string","title":"User Id"},"user_name":{"type":"string","title":"User Name"},"action":{"type":"string","title":"Action"},"entity_type":{"type":"string","title":"Entity Type"},"entity_id":{"type":"string","title":"Entity Id"},"changes":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Changes"},"ip_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ip Address"},"timestamp":{"type":"string","title":"Timestamp"}},"type":"object","required":["id","tenant_id","user_id","user_name","action","entity_type","entity_id","timestamp"],"title":"AuditLogResponse"},"AuthorityDelegationCreate":{"properties":{"delegate_to_user_id":{"type":"string","title":"Delegate To User Id"},"authority_type":{"type":"string","title":"Authority Type"},"reason":{"type":"string","title":"Reason"},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"},"facility_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Facility Ids"},"site_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Site Ids"}},"type":"object","required":["delegate_to_user_id","authority_type","reason"],"title":"AuthorityDelegationCreate","description":"Super User delegating authority to Admin/Manager"},"AuthorityDelegationResponse":{"properties":{"id":{"type":"string","title":"Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"delegated_by_id":{"type":"string","title":"Delegated By Id"},"delegated_by_name":{"type":"string","title":"Delegated By Name"},"delegate_to_user_id":{"type":"string","title":"Delegate To User Id"},"delegate_to_user_name":{"type":"string","title":"Delegate To User Name"},"delegate_to_user_role":{"type":"string","title":"Delegate To User Role"},"authority_type":{"type":"string","title":"Authority Type"},"reason":{"type":"string","title":"Reason"},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"},"facility_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Facility Ids"},"site_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Site Ids"},"is_active":{"type":"boolean","title":"Is Active","default":true},"revoked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoked At"},"revoked_by_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoked By Id"},"revoked_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoked Reason"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","tenant_id","delegated_by_id","delegated_by_name","delegate_to_user_id","delegate_to_user_name","delegate_to_user_role","authority_type","reason","created_at"],"title":"AuthorityDelegationResponse"},"AuthorityRevocationRequest":{"properties":{"reason":{"type":"string","title":"Reason"}},"type":"object","required":["reason"],"title":"AuthorityRevocationRequest","description":"Request to revoke delegated authority"},"AwardBody":{"properties":{"vendor_id":{"type":"string","title":"Vendor Id"}},"type":"object","required":["vendor_id"],"title":"AwardBody"},"BillCategory":{"type":"string","enum":["maintenance","utility","insurance","tax","other"],"title":"BillCategory"},"BillStatus":{"type":"string","enum":["unpaid","paid","disputed","cancelled"],"title":"BillStatus"},"BlogAutoSave":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"}},"type":"object","title":"BlogAutoSave"},"BlogCTAClick":{"properties":{"blogId":{"type":"string","title":"Blogid"},"ctaType":{"type":"string","title":"Ctatype"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","required":["blogId","ctaType"],"title":"BlogCTAClick"},"BlogCreate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"content":{"type":"string","title":"Content","default":""},"excerpt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excerpt"},"meta_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Title"},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","default":[]},"featured_image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Featured Image"},"status":{"type":"string","title":"Status","default":"draft"}},"type":"object","required":["title"],"title":"BlogCreate"},"BlogResponse":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"slug":{"type":"string","title":"Slug"},"content":{"type":"string","title":"Content"},"content_html":{"type":"string","title":"Content Html"},"excerpt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excerpt"},"meta_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Title"},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"featured_image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Featured Image"},"status":{"type":"string","title":"Status"},"author_id":{"type":"string","title":"Author Id"},"author_name":{"type":"string","title":"Author Name"},"view_count":{"type":"integer","title":"View Count"},"reading_time":{"type":"integer","title":"Reading Time"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published At"},"version":{"type":"integer","title":"Version"},"faqs":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Faqs"}},"type":"object","required":["id","title","slug","content","content_html","excerpt","meta_title","meta_description","category","tags","featured_image","status","author_id","author_name","view_count","reading_time","created_at","updated_at","published_at","version"],"title":"BlogResponse"},"BlogReviewCreate":{"properties":{"content":{"type":"string","maxLength":2000,"minLength":1,"title":"Content"},"rating":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Rating"}},"type":"object","required":["content"],"title":"BlogReviewCreate","description":"User review/comment on a blog post"},"BlogReviewResponse":{"properties":{"id":{"type":"string","title":"Id"},"blog_id":{"type":"string","title":"Blog Id"},"user_id":{"type":"string","title":"User Id"},"user_name":{"type":"string","title":"User Name"},"user_role":{"type":"string","title":"User Role"},"content":{"type":"string","title":"Content"},"rating":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rating"},"created_at":{"type":"string","title":"Created At"},"is_edited":{"type":"boolean","title":"Is Edited","default":false}},"type":"object","required":["id","blog_id","user_id","user_name","user_role","content","rating","created_at"],"title":"BlogReviewResponse"},"BlogUpdate":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"excerpt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excerpt"},"meta_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Title"},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"featured_image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Featured Image"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},"type":"object","title":"BlogUpdate"},"Body_address_correction_api_corrections__correction_id__address_post":{"properties":{"notes":{"type":"string","title":"Notes"}},"type":"object","required":["notes"],"title":"Body_address_correction_api_corrections__correction_id__address_post"},"Body_apply_tool_financing_api_partners_tools_apply_financing_post":{"properties":{"tool_id":{"type":"string","title":"Tool Id"},"emi_months":{"type":"integer","title":"Emi Months","default":3}},"type":"object","required":["tool_id"],"title":"Body_apply_tool_financing_api_partners_tools_apply_financing_post"},"Body_auto_trigger_retraining_api_lie_training_auto_trigger_post":{"properties":{"partner_id":{"type":"string","title":"Partner Id"},"trigger_type":{"type":"string","title":"Trigger Type"},"category":{"type":"string","title":"Category","default":""},"booking_id":{"type":"string","title":"Booking Id","default":""}},"type":"object","required":["partner_id","trigger_type"],"title":"Body_auto_trigger_retraining_api_lie_training_auto_trigger_post"},"Body_cancel_booking_api_marketplace_bookings__booking_id__cancel_post":{"properties":{"reason":{"type":"string","title":"Reason","default":""}},"type":"object","title":"Body_cancel_booking_api_marketplace_bookings__booking_id__cancel_post"},"Body_checkout_job_api_partners_jobs__booking_id__checkout_post":{"properties":{"completion_notes":{"type":"string","title":"Completion Notes","default":""},"materials_used":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Materials Used","default":[]},"sop_checklist":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Sop Checklist","default":[]}},"type":"object","title":"Body_checkout_job_api_partners_jobs__booking_id__checkout_post"},"Body_claim_warranty_api_lie_warranty__booking_id__claim_post":{"properties":{"issue":{"type":"string","title":"Issue"}},"type":"object","required":["issue"],"title":"Body_claim_warranty_api_lie_warranty__booking_id__claim_post"},"Body_complete_forced_reset_api_auth_complete_forced_reset_post":{"properties":{"email":{"type":"string","title":"Email"},"new_password":{"type":"string","title":"New Password"}},"type":"object","required":["email","new_password"],"title":"Body_complete_forced_reset_api_auth_complete_forced_reset_post"},"Body_complete_retraining_api_lie_training__retraining_id__complete_post":{"properties":{"score":{"type":"integer","title":"Score","default":80}},"type":"object","title":"Body_complete_retraining_api_lie_training__retraining_id__complete_post"},"Body_create_booking_api_marketplace_book_post":{"properties":{"service_id":{"type":"string","title":"Service Id"},"category_id":{"type":"string","title":"Category Id"},"scheduled_date":{"type":"string","title":"Scheduled Date"},"scheduled_time":{"type":"string","title":"Scheduled Time"},"address":{"type":"string","title":"Address"},"city":{"type":"string","title":"City","default":""},"pincode":{"type":"string","title":"Pincode","default":""},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"quantity":{"type":"integer","title":"Quantity","default":1}},"type":"object","required":["service_id","category_id","scheduled_date","scheduled_time","address"],"title":"Body_create_booking_api_marketplace_book_post"},"Body_create_correction_request_api_super_admin_corrections_request_post":{"properties":{"entity_type":{"type":"string","title":"Entity Type"},"entity_id":{"type":"string","title":"Entity Id"},"reason":{"type":"string","title":"Reason"},"priority":{"type":"string","title":"Priority","default":"normal"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["entity_type","entity_id","reason"],"title":"Body_create_correction_request_api_super_admin_corrections_request_post"},"Body_create_escalation_api_lie_escalation__booking_id__post":{"properties":{"reason":{"type":"string","title":"Reason"},"level":{"type":"string","title":"Level","default":"L1"}},"type":"object","required":["reason"],"title":"Body_create_escalation_api_lie_escalation__booking_id__post"},"Body_dispatcher_reassign_api_admin_bookings__booking_id__reassign_post":{"properties":{"partner_id":{"type":"string","title":"Partner Id"}},"type":"object","required":["partner_id"],"title":"Body_dispatcher_reassign_api_admin_bookings__booking_id__reassign_post"},"Body_fulfillment_gate_check_api_lie_fulfillment_check_post":{"properties":{"category_id":{"type":"string","title":"Category Id"},"city":{"type":"string","title":"City","default":""},"scheduled_date":{"type":"string","title":"Scheduled Date"},"scheduled_time":{"type":"string","title":"Scheduled Time"}},"type":"object","required":["category_id","scheduled_date","scheduled_time"],"title":"Body_fulfillment_gate_check_api_lie_fulfillment_check_post"},"Body_initiate_marketplace_payment_api_marketplace_payment_initiate_post":{"properties":{"booking_id":{"type":"string","title":"Booking Id"}},"type":"object","required":["booking_id"],"title":"Body_initiate_marketplace_payment_api_marketplace_payment_initiate_post"},"Body_iot_one_tap_approve_api_marketplace_iot_approve_post":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"service_id":{"type":"string","title":"Service Id"},"category_id":{"type":"string","title":"Category Id"},"address":{"type":"string","title":"Address","default":""}},"type":"object","required":["asset_id","service_id","category_id"],"title":"Body_iot_one_tap_approve_api_marketplace_iot_approve_post"},"Body_iot_suggest_service_api_marketplace_iot_suggest_post":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"anomaly_type":{"type":"string","title":"Anomaly Type"},"severity":{"type":"string","title":"Severity","default":"medium"}},"type":"object","required":["asset_id","anomaly_type"],"title":"Body_iot_suggest_service_api_marketplace_iot_suggest_post"},"Body_iot_to_marketplace_bridge_api_lifecycle_iot_to_booking_post":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"anomaly_type":{"type":"string","title":"Anomaly Type"},"severity":{"type":"string","title":"Severity","default":"medium"},"sensor_data":{"additionalProperties":true,"type":"object","title":"Sensor Data","default":{}}},"type":"object","required":["asset_id","anomaly_type"],"title":"Body_iot_to_marketplace_bridge_api_lifecycle_iot_to_booking_post"},"Body_log_security_event_api_security_log_event_post":{"properties":{"event_type":{"type":"string","title":"Event Type"},"details":{"type":"string","title":"Details","default":""},"severity":{"type":"string","title":"Severity","default":"info"}},"type":"object","required":["event_type"],"title":"Body_log_security_event_api_security_log_event_post"},"Body_marketplace_payment_failure_api_marketplace_payment_failure_post":{"properties":{"txnid":{"type":"string","title":"Txnid","default":""},"email":{"type":"string","title":"Email","default":""},"status":{"type":"string","title":"Status","default":""},"udf1":{"type":"string","title":"Udf1","default":""},"error_Message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message","default":""}},"type":"object","title":"Body_marketplace_payment_failure_api_marketplace_payment_failure_post"},"Body_marketplace_payment_success_api_marketplace_payment_success_post":{"properties":{"mihpayid":{"type":"string","title":"Mihpayid","default":""},"status":{"type":"string","title":"Status","default":""},"txnid":{"type":"string","title":"Txnid","default":""},"amount":{"type":"string","title":"Amount","default":""},"productinfo":{"type":"string","title":"Productinfo","default":""},"firstname":{"type":"string","title":"Firstname","default":""},"email":{"type":"string","title":"Email","default":""},"phone":{"type":"string","title":"Phone","default":""},"hash":{"type":"string","title":"Hash","default":""},"udf1":{"type":"string","title":"Udf1","default":""},"error_Message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message","default":""}},"type":"object","title":"Body_marketplace_payment_success_api_marketplace_payment_success_post"},"Body_notify_super_admin_api_alerts_notify_super_admin_post":{"properties":{"event_type":{"type":"string","title":"Event Type"},"message":{"type":"string","title":"Message"},"user_id":{"type":"string","title":"User Id"},"additional_data":{"additionalProperties":true,"type":"object","title":"Additional Data","default":{}}},"type":"object","required":["event_type","message"],"title":"Body_notify_super_admin_api_alerts_notify_super_admin_post"},"Body_rate_booking_api_marketplace_bookings__booking_id__rate_post":{"properties":{"rating":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Rating"},"review":{"type":"string","title":"Review","default":""}},"type":"object","required":["rating"],"title":"Body_rate_booking_api_marketplace_bookings__booking_id__rate_post"},"Body_rate_customer_api_partners_jobs__booking_id__rate_customer_post":{"properties":{"rating":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Rating"},"review":{"type":"string","title":"Review","default":""}},"type":"object","required":["rating"],"title":"Body_rate_customer_api_partners_jobs__booking_id__rate_customer_post"},"Body_register_partner_api_partners_register_post":{"properties":{"full_name":{"type":"string","title":"Full Name"},"phone":{"type":"string","title":"Phone"},"email":{"type":"string","title":"Email","default":""},"city":{"type":"string","title":"City"},"pincode":{"type":"string","title":"Pincode","default":""},"skills":{"items":{"type":"string"},"type":"array","title":"Skills"},"experience_years":{"type":"integer","title":"Experience Years","default":0},"id_type":{"type":"string","title":"Id Type","default":"aadhaar"},"id_number":{"type":"string","title":"Id Number","default":""}},"type":"object","required":["full_name","phone","city","skills"],"title":"Body_register_partner_api_partners_register_post"},"Body_register_push_token_api_push_register_token_post":{"properties":{"token":{"type":"string","title":"Token"},"platform":{"type":"string","title":"Platform","default":"web"},"device_info":{"type":"string","title":"Device Info","default":""}},"type":"object","required":["token"],"title":"Body_register_push_token_api_push_register_token_post"},"Body_reject_access_request_api_super_user_access_requests__request_id__reject_post":{"properties":{"reason":{"type":"string","title":"Reason"}},"type":"object","required":["reason"],"title":"Body_reject_access_request_api_super_user_access_requests__request_id__reject_post"},"Body_reject_partner_full_api_admin_partners__partner_id__reject_partner_post":{"properties":{"reason":{"type":"string","title":"Reason"}},"type":"object","required":["reason"],"title":"Body_reject_partner_full_api_admin_partners__partner_id__reject_partner_post"},"Body_report_damage_incident_api_lie_incident__booking_id__post":{"properties":{"description":{"type":"string","title":"Description"},"damage_photos":{"items":{"type":"string"},"type":"array","title":"Damage Photos","default":[]},"estimated_damage_cost":{"type":"number","title":"Estimated Damage Cost","default":0}},"type":"object","required":["description"],"title":"Body_report_damage_incident_api_lie_incident__booking_id__post"},"Body_resolve_grievance_api_admin_grievances__grievance_id__resolve_patch":{"properties":{"resolution":{"type":"string","title":"Resolution"}},"type":"object","required":["resolution"],"title":"Body_resolve_grievance_api_admin_grievances__grievance_id__resolve_patch"},"Body_review_document_api_admin_partners__partner_id__documents__doc_id__review_patch":{"properties":{"action":{"type":"string","title":"Action"},"notes":{"type":"string","title":"Notes","default":""}},"type":"object","required":["action"],"title":"Body_review_document_api_admin_partners__partner_id__documents__doc_id__review_patch"},"Body_review_incident_api_lie_incident__incident_id__review_patch":{"properties":{"finding":{"type":"string","title":"Finding"},"damage_validated":{"type":"boolean","title":"Damage Validated","default":false},"initiate_insurance":{"type":"boolean","title":"Initiate Insurance","default":false}},"type":"object","required":["finding"],"title":"Body_review_incident_api_lie_incident__incident_id__review_patch"},"Body_submit_grievance_api_grievances_submit_post":{"properties":{"subject":{"type":"string","title":"Subject"},"description":{"type":"string","title":"Description"},"booking_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Booking Id"},"priority":{"type":"string","title":"Priority","default":"normal"}},"type":"object","required":["subject","description"],"title":"Body_submit_grievance_api_grievances_submit_post"},"Body_submit_pre_job_diagnostic_api_lie_diagnostic__booking_id__post":{"properties":{"symptoms":{"items":{"type":"string"},"type":"array","title":"Symptoms"},"readings":{"additionalProperties":true,"type":"object","title":"Readings","default":{}},"diagnostic_photos":{"items":{"type":"string"},"type":"array","title":"Diagnostic Photos","default":[]},"diagnosis_summary":{"type":"string","title":"Diagnosis Summary","default":""},"parts_recommended":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Parts Recommended","default":[]}},"type":"object","required":["symptoms"],"title":"Body_submit_pre_job_diagnostic_api_lie_diagnostic__booking_id__post"},"Body_subscribe_insurance_api_partners_insurance_subscribe_post":{"properties":{"plan_id":{"type":"string","title":"Plan Id"}},"type":"object","required":["plan_id"],"title":"Body_subscribe_insurance_api_partners_insurance_subscribe_post"},"Body_supervisor_approve_diagnostic_api_lie_diagnostic__diagnostic_id__supervisor_approve_patch":{"properties":{"approved":{"type":"boolean","title":"Approved"},"notes":{"type":"string","title":"Notes","default":""}},"type":"object","required":["approved"],"title":"Body_supervisor_approve_diagnostic_api_lie_diagnostic__diagnostic_id__supervisor_approve_patch"},"Body_toggle_availability_api_partners_availability_patch":{"properties":{"is_available":{"type":"boolean","title":"Is Available"}},"type":"object","required":["is_available"],"title":"Body_toggle_availability_api_partners_availability_patch"},"Body_trigger_booking_confirmed_api_push_trigger_booking_confirmed_post":{"properties":{"booking_id":{"type":"string","title":"Booking Id"}},"type":"object","required":["booking_id"],"title":"Body_trigger_booking_confirmed_api_push_trigger_booking_confirmed_post"},"Body_trigger_escalation_notification_api_push_trigger_escalation_post":{"properties":{"booking_id":{"type":"string","title":"Booking Id"},"level":{"type":"string","title":"Level","default":"L1"},"message":{"type":"string","title":"Message","default":""}},"type":"object","required":["booking_id"],"title":"Body_trigger_escalation_notification_api_push_trigger_escalation_post"},"Body_trigger_partner_assigned_api_push_trigger_partner_assigned_post":{"properties":{"booking_id":{"type":"string","title":"Booking Id"}},"type":"object","required":["booking_id"],"title":"Body_trigger_partner_assigned_api_push_trigger_partner_assigned_post"},"Body_trigger_partner_en_route_api_push_trigger_partner_en_route_post":{"properties":{"booking_id":{"type":"string","title":"Booking Id"}},"type":"object","required":["booking_id"],"title":"Body_trigger_partner_en_route_api_push_trigger_partner_en_route_post"},"Body_trigger_service_complete_api_push_trigger_service_complete_post":{"properties":{"booking_id":{"type":"string","title":"Booking Id"}},"type":"object","required":["booking_id"],"title":"Body_trigger_service_complete_api_push_trigger_service_complete_post"},"Body_unregister_push_token_api_push_unregister_token_delete":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"Body_unregister_push_token_api_push_unregister_token_delete"},"Body_update_background_check_api_partners__partner_id__background_check_update_patch":{"properties":{"check_type":{"type":"string","title":"Check Type"},"status":{"type":"string","title":"Status"},"result":{"type":"string","title":"Result","default":""}},"type":"object","required":["check_type","status"],"title":"Body_update_background_check_api_partners__partner_id__background_check_update_patch"},"Body_update_experiment_status_api_admin_ab_tests__experiment_id__status_put":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"Body_update_experiment_status_api_admin_ab_tests__experiment_id__status_put"},"Body_update_partner_location_api_gps_partner_update_post":{"properties":{"latitude":{"type":"number","title":"Latitude"},"longitude":{"type":"number","title":"Longitude"},"accuracy":{"type":"number","title":"Accuracy","default":0}},"type":"object","required":["latitude","longitude"],"title":"Body_update_partner_location_api_gps_partner_update_post"},"Body_update_partner_location_api_partners_location_update_post":{"properties":{"lat":{"type":"number","title":"Lat"},"lng":{"type":"number","title":"Lng"},"accuracy":{"type":"number","title":"Accuracy","default":0},"booking_id":{"type":"string","title":"Booking Id","default":""}},"type":"object","required":["lat","lng"],"title":"Body_update_partner_location_api_partners_location_update_post"},"Body_upload_blog_image_api_blog_upload_image_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_blog_image_api_blog_upload_image_post"},"Body_upload_document_api_v2_property_suite_documents_upload_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"entity_type":{"type":"string","title":"Entity Type"},"entity_id":{"type":"string","title":"Entity Id"},"document_type":{"type":"string","title":"Document Type"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["file","entity_type","entity_id","document_type"],"title":"Body_upload_document_api_v2_property_suite_documents_upload_post"},"Body_upload_partner_document_api_partners_documents_upload_post":{"properties":{"doc_type":{"type":"string","title":"Doc Type"},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["doc_type","file"],"title":"Body_upload_partner_document_api_partners_documents_upload_post"},"Body_upload_photo_api_community_photos_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"purpose":{"type":"string","title":"Purpose","default":"ticket"}},"type":"object","required":["file"],"title":"Body_upload_photo_api_community_photos_post"},"Body_upload_tenant_logo_api_tenants_current_logo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_tenant_logo_api_tenants_current_logo_post"},"Body_verify_acceptance_otp_api_lifecycle_verify_acceptance_otp__booking_id__post":{"properties":{"otp":{"type":"string","title":"Otp"}},"type":"object","required":["otp"],"title":"Body_verify_acceptance_otp_api_lifecycle_verify_acceptance_otp__booking_id__post"},"Body_verify_correction_api_super_admin_corrections__correction_id__verify_post":{"properties":{"approved":{"type":"boolean","title":"Approved"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["approved"],"title":"Body_verify_correction_api_super_admin_corrections__correction_id__verify_post"},"Budget":{"properties":{"name":{"type":"string","title":"Name"},"fiscal_year":{"type":"string","title":"Fiscal Year"},"department":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Department","default":""},"cost_centre":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cost Centre","default":""},"site_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Id","default":""},"planned_amount":{"type":"number","title":"Planned Amount"},"category":{"type":"string","title":"Category","default":"maintenance"}},"type":"object","required":["name","fiscal_year","planned_amount"],"title":"Budget"},"BudgetLineCreate":{"properties":{"project_id":{"type":"string","title":"Project Id"},"category":{"type":"string","title":"Category","default":"materials"},"description":{"type":"string","title":"Description"},"planned_amount":{"type":"number","title":"Planned Amount","default":0},"actual_amount":{"type":"number","title":"Actual Amount","default":0}},"type":"object","required":["project_id","description"],"title":"BudgetLineCreate"},"BudgetUpdate":{"properties":{"planned_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Planned Amount"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","title":"BudgetUpdate"},"BuildingCreate":{"properties":{"property_id":{"type":"string","title":"Property Id"},"name":{"type":"string","title":"Name"},"floors":{"type":"integer","title":"Floors","default":1},"total_units":{"type":"integer","title":"Total Units","default":0},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["property_id","name"],"title":"BuildingCreate"},"BulkBlogImportRequest":{"properties":{"blogs":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Blogs","description":"List of blog objects to import"},"overwrite_existing":{"type":"boolean","title":"Overwrite Existing","description":"Overwrite blogs with same slug","default":false}},"type":"object","required":["blogs"],"title":"BulkBlogImportRequest"},"BulkStatusUpdate":{"properties":{"asset_ids":{"items":{"type":"string"},"type":"array","title":"Asset Ids"},"status":{"type":"string","title":"Status"}},"type":"object","required":["asset_ids","status"],"title":"BulkStatusUpdate"},"CMSSAlternative":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"vendor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"features":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Features","default":[]},"pricing_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pricing Model"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["name"],"title":"CMSSAlternative"},"CalibrationResult":{"properties":{"instrument_id":{"type":"string","title":"Instrument Id"},"result":{"type":"string","title":"Result","default":"pass"},"measured_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Measured Value"},"standard_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Standard Value"},"deviation":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Deviation"},"technician_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Technician Id"},"certificate_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certificate Url"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes","default":""},"vendor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Name","default":""}},"type":"object","required":["instrument_id"],"title":"CalibrationResult"},"ChangePasswordRequest":{"properties":{"current_password":{"type":"string","title":"Current Password"},"new_password":{"type":"string","title":"New Password"},"confirm_password":{"type":"string","title":"Confirm Password"}},"type":"object","required":["current_password","new_password","confirm_password"],"title":"ChangePasswordRequest"},"ChargeType":{"type":"string","enum":["repair","maintenance","damage","utility","common_area","other"],"title":"ChargeType"},"ChecklistTemplateCreate":{"properties":{"name":{"type":"string","title":"Name"},"category":{"type":"string","title":"Category"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"}},"type":"object","required":["name","category","items"],"title":"ChecklistTemplateCreate"},"ChecklistTemplateResponse":{"properties":{"id":{"type":"string","title":"Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"name":{"type":"string","title":"Name"},"category":{"type":"string","title":"Category"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","tenant_id","name","category","items","created_at"],"title":"ChecklistTemplateResponse"},"CodeBody":{"properties":{"code":{"type":"string","title":"Code"}},"type":"object","required":["code"],"title":"CodeBody"},"CommunicationCreate":{"properties":{"tenant_id":{"type":"string","title":"Tenant Id"},"communication_type":{"$ref":"#/components/schemas/CommunicationType"},"subject":{"type":"string","title":"Subject"},"message":{"type":"string","title":"Message"},"channel":{"type":"string","title":"Channel","default":"email"}},"type":"object","required":["tenant_id","communication_type","subject","message"],"title":"CommunicationCreate"},"CommunicationType":{"type":"string","enum":["rent_reminder","maintenance_update","lease_renewal","complaint","general","notice"],"title":"CommunicationType"},"CompleteBody":{"properties":{"completed_on":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed On"},"certificate_no":{"type":"string","title":"Certificate No","default":""},"valid_until":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid Until"},"notes":{"type":"string","title":"Notes","default":""}},"type":"object","title":"CompleteBody"},"ConditionScoreCreate":{"properties":{"inspection_id":{"type":"string","title":"Inspection Id"},"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id"},"asset_name":{"type":"string","title":"Asset Name","default":""},"overall_score":{"type":"number","title":"Overall Score","default":5.0},"structural_score":{"type":"number","title":"Structural Score","default":5.0},"operational_score":{"type":"number","title":"Operational Score","default":5.0},"cosmetic_score":{"type":"number","title":"Cosmetic Score","default":5.0},"safety_score":{"type":"number","title":"Safety Score","default":5.0},"defects_found":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Defects Found","default":[]},"recommendations":{"items":{"type":"string"},"type":"array","title":"Recommendations","default":[]},"estimated_repair_cost":{"type":"number","title":"Estimated Repair Cost","default":0}},"type":"object","required":["inspection_id"],"title":"ConditionScoreCreate"},"CostEntry":{"properties":{"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id"},"work_order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Work Order Id"},"cost_type":{"type":"string","title":"Cost Type"},"amount":{"type":"number","title":"Amount"},"description":{"type":"string","title":"Description"},"vendor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Id"},"po_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Po Number"},"cost_centre":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cost Centre","default":""},"department":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Department","default":""},"site_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Id","default":""}},"type":"object","required":["cost_type","amount","description"],"title":"CostEntry"},"CustomDashboard":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","default":""},"widgets":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Widgets","default":[]},"is_default":{"type":"boolean","title":"Is Default","default":false},"role_access":{"items":{"type":"string"},"type":"array","title":"Role Access","default":[]}},"type":"object","required":["name"],"title":"CustomDashboard"},"DashboardMetrics":{"properties":{"total_assets":{"type":"integer","title":"Total Assets"},"total_work_orders":{"type":"integer","title":"Total Work Orders"},"active_work_orders":{"type":"integer","title":"Active Work Orders"},"critical_alerts":{"type":"integer","title":"Critical Alerts"},"assets_by_status":{"additionalProperties":{"type":"integer"},"type":"object","title":"Assets By Status"},"work_orders_by_status":{"additionalProperties":{"type":"integer"},"type":"object","title":"Work Orders By Status"},"work_orders_by_type":{"additionalProperties":{"type":"integer"},"type":"object","title":"Work Orders By Type"},"avg_health_score":{"type":"number","title":"Avg Health Score"},"pm_compliance_rate":{"type":"number","title":"Pm Compliance Rate"},"mttr_hours":{"type":"number","title":"Mttr Hours"},"total_sites":{"type":"integer","title":"Total Sites"},"total_facilities":{"type":"integer","title":"Total Facilities"}},"type":"object","required":["total_assets","total_work_orders","active_work_orders","critical_alerts","assets_by_status","work_orders_by_status","work_orders_by_type","avg_health_score","pm_compliance_rate","mttr_hours","total_sites","total_facilities"],"title":"DashboardMetrics"},"DefectCreate":{"properties":{"inspection_id":{"type":"string","title":"Inspection Id"},"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id"},"asset_name":{"type":"string","title":"Asset Name","default":""},"defect_type":{"type":"string","title":"Defect Type","default":"corrosion"},"severity":{"type":"string","title":"Severity","default":"medium"},"description":{"type":"string","title":"Description","default":""},"location_on_asset":{"type":"string","title":"Location On Asset","default":""},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"recommended_action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recommended Action","default":""}},"type":"object","required":["inspection_id"],"title":"DefectCreate"},"DeleteUserRequest":{"properties":{"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","default":"Removed by Admin"},"permanent":{"type":"boolean","title":"Permanent","default":false}},"type":"object","title":"DeleteUserRequest"},"DigestPreferencesUpdate":{"properties":{"digest_frequency":{"type":"string","pattern":"^(daily|weekly|monthly|none)$","title":"Digest Frequency"}},"type":"object","required":["digest_frequency"],"title":"DigestPreferencesUpdate"},"DisputeCreate":{"properties":{"charge_id":{"type":"string","title":"Charge Id"},"reason":{"type":"string","title":"Reason"},"supporting_documents":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Supporting Documents"},"requested_resolution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Resolution"}},"type":"object","required":["charge_id","reason"],"title":"DisputeCreate"},"DisputeResolution":{"properties":{"resolution":{"type":"string","title":"Resolution"},"adjusted_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Adjusted Amount"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["resolution"],"title":"DisputeResolution"},"DisputeStatus":{"type":"string","enum":["open","under_review","resolved","rejected","escalated"],"title":"DisputeStatus"},"DocumentUpdate":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"department":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Department"},"expiry_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiry Date"},"access_roles":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Access Roles"}},"type":"object","title":"DocumentUpdate"},"DocumentUpload":{"properties":{"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","default":""},"document_type":{"type":"string","title":"Document Type","default":"general"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category","default":""},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","default":[]},"linked_asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linked Asset Id"},"linked_work_order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linked Work Order Id"},"department":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Department","default":""},"expiry_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiry Date"},"requires_approval":{"type":"boolean","title":"Requires Approval","default":false},"access_roles":{"items":{"type":"string"},"type":"array","title":"Access Roles","default":[]}},"type":"object","required":["title"],"title":"DocumentUpload"},"EmergentSessionRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["session_id"],"title":"EmergentSessionRequest"},"EvaluationCreate":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"building_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Building Type"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization"},"alternatives":{"items":{"$ref":"#/components/schemas/CMSSAlternative"},"type":"array","title":"Alternatives"},"criteria_weights":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Criteria Weights"}},"type":"object","required":["name","alternatives"],"title":"EvaluationCreate"},"FMEAEntry":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"asset_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Name","default":""},"failure_mode":{"type":"string","title":"Failure Mode"},"effect":{"type":"string","title":"Effect"},"cause":{"type":"string","title":"Cause"},"severity":{"type":"integer","title":"Severity","default":1},"occurrence":{"type":"integer","title":"Occurrence","default":1},"detection":{"type":"integer","title":"Detection","default":1},"recommended_action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recommended Action","default":""},"responsible":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Responsible","default":""}},"type":"object","required":["asset_id","failure_mode","effect","cause"],"title":"FMEAEntry"},"FacilityCreate":{"properties":{"site_id":{"type":"string","title":"Site Id"},"name":{"type":"string","title":"Name"},"code":{"type":"string","title":"Code"},"type":{"type":"string","title":"Type","default":"general"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"manager_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manager Id"},"manager_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manager Name"},"manager_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manager Email"},"manager_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manager Phone"}},"type":"object","required":["site_id","name","code"],"title":"FacilityCreate"},"FacilityResponse":{"properties":{"id":{"type":"string","title":"Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"site_id":{"type":"string","title":"Site Id"},"site_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Name"},"name":{"type":"string","title":"Name"},"code":{"type":"string","title":"Code"},"type":{"type":"string","title":"Type"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"manager_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manager Id"},"manager_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manager Name"},"manager_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manager Email"},"manager_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manager Phone"},"is_active":{"type":"boolean","title":"Is Active","default":true},"assets_count":{"type":"integer","title":"Assets Count","default":0},"tenant_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant Name"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","tenant_id","site_id","name","code","type","created_at"],"title":"FacilityResponse"},"FailureCodeCreate":{"properties":{"code":{"type":"string","title":"Code"},"name":{"type":"string","title":"Name"},"category":{"type":"string","title":"Category","default":"mechanical"},"asset_class":{"type":"string","title":"Asset Class","default":""},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","default":""},"recommended_action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recommended Action","default":""}},"type":"object","required":["code","name"],"title":"FailureCodeCreate"},"FailureRecordCreate":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"asset_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Name","default":""},"failure_code":{"type":"string","title":"Failure Code"},"work_order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Work Order Id"},"failure_date":{"type":"string","title":"Failure Date"},"root_cause":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Root Cause","default":""},"corrective_action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Corrective Action","default":""},"downtime_hours":{"type":"number","title":"Downtime Hours","default":0},"repair_hours":{"type":"number","title":"Repair Hours","default":0},"parts_cost":{"type":"number","title":"Parts Cost","default":0},"labor_cost":{"type":"number","title":"Labor Cost","default":0}},"type":"object","required":["asset_id","failure_code","failure_date"],"title":"FailureRecordCreate"},"FeatureFlagUpdate":{"properties":{"is_enabled":{"type":"boolean","title":"Is Enabled"}},"type":"object","required":["is_enabled"],"title":"FeatureFlagUpdate"},"FeedbackCreate":{"properties":{"category":{"type":"string","title":"Category","default":"general"},"rating":{"type":"integer","title":"Rating","default":5},"message":{"type":"string","title":"Message"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","required":["message"],"title":"FeedbackCreate"},"FeedbackResponse":{"properties":{"id":{"type":"string","title":"Id"},"category":{"type":"string","title":"Category"},"rating":{"type":"integer","title":"Rating"},"message":{"type":"string","title":"Message"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"user_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Name"},"tenant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant Id"},"status":{"type":"string","title":"Status","default":"new"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","category","rating","message","created_at"],"title":"FeedbackResponse"},"FeedbackSubmit":{"properties":{"rating":{"type":"integer","title":"Rating"},"comments":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comments","default":""}},"type":"object","required":["rating"],"title":"FeedbackSubmit"},"FloorPlanCreate":{"properties":{"name":{"type":"string","title":"Name"},"site_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Id"},"facility_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Facility Id"},"building":{"type":"string","title":"Building","default":""},"floor":{"type":"string","title":"Floor","default":""},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","default":""},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"svg_data":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Svg Data"},"width":{"type":"number","title":"Width","default":0},"height":{"type":"number","title":"Height","default":0}},"type":"object","required":["name"],"title":"FloorPlanCreate"},"ForcePasswordResetRequest":{"properties":{"user_id":{"type":"string","title":"User Id"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["user_id"],"title":"ForcePasswordResetRequest"},"ForgotPasswordRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"ForgotPasswordRequest"},"GateCheckBody":{"properties":{"vendor_id":{"type":"string","title":"Vendor Id"},"priority":{"type":"string","title":"Priority","default":"medium"}},"type":"object","required":["vendor_id"],"title":"GateCheckBody"},"GoalCreate":{"properties":{"name":{"type":"string","title":"Name"},"category":{"type":"string","title":"Category","default":"carbon_reduction"},"target_value":{"type":"number","title":"Target Value"},"unit":{"type":"string","title":"Unit","default":"%"},"deadline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deadline"},"baseline_value":{"type":"number","title":"Baseline Value","default":0},"current_value":{"type":"number","title":"Current Value","default":0}},"type":"object","required":["name","target_value"],"title":"GoalCreate"},"GoodsReceipt":{"properties":{"po_id":{"type":"string","title":"Po Id"},"items_received":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items Received","default":[]},"delivery_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Note","default":""},"received_by_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Received By Notes","default":""}},"type":"object","required":["po_id"],"title":"GoodsReceipt"},"GoogleAuthRequest":{"properties":{"redirect_uri":{"type":"string","title":"Redirect Uri"}},"type":"object","required":["redirect_uri"],"title":"GoogleAuthRequest"},"GoogleCallbackRequest":{"properties":{"code":{"type":"string","title":"Code"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"redirect_uri":{"type":"string","title":"Redirect Uri"}},"type":"object","required":["code","redirect_uri"],"title":"GoogleCallbackRequest"},"GrnCreate":{"properties":{"po_id":{"type":"string","title":"Po Id"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"},"delivery_note_no":{"type":"string","title":"Delivery Note No","default":""},"notes":{"type":"string","title":"Notes","default":""}},"type":"object","required":["po_id","items"],"title":"GrnCreate"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IncidentBody":{"properties":{"title":{"type":"string","title":"Title"},"severity":{"type":"string","title":"Severity","default":"minor"},"components":{"items":{"type":"string"},"type":"array","title":"Components","default":[]},"message":{"type":"string","title":"Message","default":""}},"type":"object","required":["title"],"title":"IncidentBody"},"IncidentCreate":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"incident_type":{"type":"string","title":"Incident Type","default":"near_miss"},"severity":{"type":"string","title":"Severity","default":"low"},"location":{"type":"string","title":"Location","default":""},"involved_persons":{"items":{"type":"string"},"type":"array","title":"Involved Persons","default":[]},"immediate_actions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Immediate Actions","default":""},"root_cause":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Root Cause","default":""}},"type":"object","required":["title","description"],"title":"IncidentCreate"},"IncidentUpdate":{"properties":{"message":{"type":"string","title":"Message","default":""},"resolve":{"type":"boolean","title":"Resolve","default":false}},"type":"object","title":"IncidentUpdate"},"InspectionCondition":{"type":"string","enum":["pass","fail","na","needs_attention"],"title":"InspectionCondition"},"InspectionItemCreate":{"properties":{"item_name":{"type":"string","title":"Item Name"},"location":{"type":"string","title":"Location"},"condition":{"$ref":"#/components/schemas/InspectionCondition","default":"na"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"photo_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Photo Urls","default":[]}},"type":"object","required":["item_name","location"],"title":"InspectionItemCreate"},"InspectionStatus":{"type":"string","enum":["scheduled","in_progress","completed","cancelled"],"title":"InspectionStatus"},"InstrumentCreate":{"properties":{"name":{"type":"string","title":"Name"},"serial_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serial Number","default":""},"instrument_type":{"type":"string","title":"Instrument Type","default":"gauge"},"manufacturer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manufacturer","default":""},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model","default":""},"location":{"type":"string","title":"Location","default":""},"department":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Department","default":""},"calibration_frequency_days":{"type":"integer","title":"Calibration Frequency Days","default":365},"tolerance_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tolerance Min"},"tolerance_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tolerance Max"},"traceability_standard":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Traceability Standard","default":""},"last_calibration_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Calibration Date"},"next_calibration_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Calibration Date"}},"type":"object","required":["name"],"title":"InstrumentCreate"},"IntegrationCreate":{"properties":{"name":{"type":"string","title":"Name"},"integration_type":{"type":"string","title":"Integration Type","default":"rest_api"},"config":{"additionalProperties":true,"type":"object","title":"Config","default":{}},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","default":""}},"type":"object","required":["name"],"title":"IntegrationCreate"},"InvoiceCreate":{"properties":{"po_id":{"type":"string","title":"Po Id"},"vendor_invoice_no":{"type":"string","title":"Vendor Invoice No"},"invoice_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Date"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"},"tax_amount":{"type":"number","title":"Tax Amount","default":0},"total_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Amount"}},"type":"object","required":["po_id","vendor_invoice_no","items"],"title":"InvoiceCreate"},"InvoiceDecision":{"properties":{"action":{"type":"string","title":"Action"},"override_reason":{"type":"string","title":"Override Reason","default":""}},"type":"object","required":["action"],"title":"InvoiceDecision"},"InvoiceStatus":{"type":"string","enum":["pending","paid","partial","overdue","waived","cancelled"],"title":"InvoiceStatus"},"IoTReadingCreate":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"metric":{"type":"string","title":"Metric"},"value":{"type":"number","title":"Value"},"threshold":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Threshold"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"type":"object","required":["asset_id","metric","value"],"title":"IoTReadingCreate"},"IoTReadingResponse":{"properties":{"id":{"type":"string","title":"Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"asset_id":{"type":"string","title":"Asset Id"},"metric":{"type":"string","title":"Metric"},"value":{"type":"number","title":"Value"},"threshold":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Threshold"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"timestamp":{"type":"string","title":"Timestamp"}},"type":"object","required":["id","tenant_id","asset_id","metric","value","timestamp"],"title":"IoTReadingResponse"},"JournalEntryCreate":{"properties":{"entry_date":{"type":"string","title":"Entry Date"},"reference":{"type":"string","title":"Reference"},"description":{"type":"string","title":"Description"},"property_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Id"},"lines":{"items":{"$ref":"#/components/schemas/JournalEntryLineCreate"},"type":"array","title":"Lines"}},"type":"object","required":["entry_date","reference","description","lines"],"title":"JournalEntryCreate"},"JournalEntryLineCreate":{"properties":{"account_id":{"type":"string","title":"Account Id"},"debit_amount":{"type":"number","title":"Debit Amount","default":0},"credit_amount":{"type":"number","title":"Credit Amount","default":0},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["account_id"],"title":"JournalEntryLineCreate"},"KPITarget":{"properties":{"kpi_name":{"type":"string","title":"Kpi Name"},"target_value":{"type":"number","title":"Target Value"},"unit":{"type":"string","title":"Unit","default":"%"},"period":{"type":"string","title":"Period","default":"monthly"},"alert_threshold":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alert Threshold"}},"type":"object","required":["kpi_name","target_value"],"title":"KPITarget"},"LOTOProcedure":{"properties":{"name":{"type":"string","title":"Name"},"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id"},"steps":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Steps","default":[]},"energy_sources":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Energy Sources","default":[]},"verification_method":{"type":"string","title":"Verification Method","default":""}},"type":"object","required":["name"],"title":"LOTOProcedure"},"LaborEntryCreate":{"properties":{"work_order_id":{"type":"string","title":"Work Order Id"},"hours":{"type":"number","title":"Hours"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"labor_type":{"type":"string","title":"Labor Type","default":"regular"}},"type":"object","required":["work_order_id","hours"],"title":"LaborEntryCreate"},"LaborEntryResponse":{"properties":{"id":{"type":"string","title":"Id"},"work_order_id":{"type":"string","title":"Work Order Id"},"user_id":{"type":"string","title":"User Id"},"user_name":{"type":"string","title":"User Name"},"hours":{"type":"number","title":"Hours"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"labor_type":{"type":"string","title":"Labor Type"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","work_order_id","user_id","user_name","hours","labor_type","created_at"],"title":"LaborEntryResponse"},"LeaseCreate":{"properties":{"unit_id":{"type":"string","title":"Unit Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"start_date":{"type":"string","title":"Start Date"},"end_date":{"type":"string","title":"End Date"},"monthly_rent":{"type":"number","title":"Monthly Rent"},"security_deposit":{"type":"number","title":"Security Deposit"},"lease_type":{"$ref":"#/components/schemas/LeaseType"},"rent_due_day":{"type":"integer","title":"Rent Due Day","default":1},"late_fee_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Late Fee Amount"},"late_fee_percentage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Late Fee Percentage"},"grace_period_days":{"type":"integer","title":"Grace Period Days","default":5},"terms_and_conditions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terms And Conditions"},"special_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Special Terms"}},"type":"object","required":["unit_id","tenant_id","start_date","end_date","monthly_rent","security_deposit","lease_type"],"title":"LeaseCreate"},"LeaseStatus":{"type":"string","enum":["active","expired","terminated","renewed","pending"],"title":"LeaseStatus"},"LeaseType":{"type":"string","enum":["fixed","month_to_month","yearly"],"title":"LeaseType"},"LeaseUpdate":{"properties":{"end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"},"monthly_rent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly Rent"},"lease_status":{"anyOf":[{"$ref":"#/components/schemas/LeaseStatus"},{"type":"null"}]},"late_fee_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Late Fee Amount"},"late_fee_percentage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Late Fee Percentage"},"grace_period_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Grace Period Days"},"terms_and_conditions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terms And Conditions"},"special_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Special Terms"}},"type":"object","title":"LeaseUpdate"},"LifecycleUpdate":{"properties":{"parent_asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Asset Id"},"clear_parent":{"type":"boolean","title":"Clear Parent","default":false},"purchase_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Purchase Cost"},"expected_life_years":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Expected Life Years"},"salvage_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Salvage Value"},"amc_annual_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amc Annual Cost"},"replacement_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Replacement Cost"},"bom":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Bom"}},"type":"object","title":"LifecycleUpdate"},"LocationCreate":{"properties":{"entity_type":{"type":"string","title":"Entity Type","default":"asset"},"entity_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Id"},"entity_name":{"type":"string","title":"Entity Name","default":""},"latitude":{"type":"number","title":"Latitude","default":0.0},"longitude":{"type":"number","title":"Longitude","default":0.0},"altitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Altitude"},"floor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Floor"},"zone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zone"},"building":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Building"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","default":[]}},"type":"object","title":"LocationCreate"},"MaintenanceChargeCreate":{"properties":{"tenant_id":{"type":"string","title":"Tenant Id"},"unit_id":{"type":"string","title":"Unit Id"},"work_order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Work Order Id"},"charge_type":{"$ref":"#/components/schemas/ChargeType","default":"maintenance"},"description":{"type":"string","title":"Description"},"amount":{"type":"number","title":"Amount"},"due_date":{"type":"string","title":"Due Date"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"breakdown":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Breakdown"}},"type":"object","required":["tenant_id","unit_id","description","amount","due_date"],"title":"MaintenanceChargeCreate"},"MaintenanceChargeStatus":{"type":"string","enum":["pending","notified","paid","partial","disputed","waived","cancelled"],"title":"MaintenanceChargeStatus"},"MarkupCreate":{"properties":{"document_id":{"type":"string","title":"Document Id"},"page_number":{"type":"integer","title":"Page Number","default":1},"markup_type":{"type":"string","title":"Markup Type","default":"comment"},"content":{"type":"string","title":"Content"},"position_x":{"type":"number","title":"Position X","default":0},"position_y":{"type":"number","title":"Position Y","default":0}},"type":"object","required":["document_id","content"],"title":"MarkupCreate"},"MaterialCostApprovalRequest":{"properties":{"action":{"type":"string","title":"Action"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"adjusted_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Adjusted Cost"},"query_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Message"}},"type":"object","required":["action"],"title":"MaterialCostApprovalRequest","description":"Super User approval/rejection of material costs"},"MaterialCostEntryCreate":{"properties":{"work_order_id":{"type":"string","title":"Work Order Id"},"material_name":{"type":"string","title":"Material Name"},"material_category":{"type":"string","title":"Material Category"},"material_subcategory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Material Subcategory"},"quantity":{"type":"number","title":"Quantity"},"unit":{"type":"string","title":"Unit"},"unit_cost":{"type":"number","title":"Unit Cost"},"receipt_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Url"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"source":{"type":"string","title":"Source","default":"actual"}},"type":"object","required":["work_order_id","material_name","material_category","quantity","unit","unit_cost"],"title":"MaterialCostEntryCreate","description":"Material cost entry by Technician/Vendor during work execution"},"MaterialCostEntryResponse":{"properties":{"id":{"type":"string","title":"Id"},"work_order_id":{"type":"string","title":"Work Order Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"material_name":{"type":"string","title":"Material Name"},"material_category":{"type":"string","title":"Material Category"},"material_subcategory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Material Subcategory"},"quantity":{"type":"number","title":"Quantity"},"unit":{"type":"string","title":"Unit"},"unit_cost":{"type":"number","title":"Unit Cost"},"line_total":{"type":"number","title":"Line Total"},"receipt_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Url"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"source":{"type":"string","title":"Source"},"entered_by_id":{"type":"string","title":"Entered By Id"},"entered_by_name":{"type":"string","title":"Entered By Name"},"entered_by_role":{"type":"string","title":"Entered By Role"},"entered_at":{"type":"string","title":"Entered At"},"approval_status":{"type":"string","title":"Approval Status","default":"pending"},"approved_by_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved By Id"},"approved_by_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved By Name"},"approved_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved At"},"approval_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approval Notes"},"query_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Message"}},"type":"object","required":["id","work_order_id","tenant_id","material_name","material_category","quantity","unit","unit_cost","line_total","source","entered_by_id","entered_by_name","entered_by_role","entered_at"],"title":"MaterialCostEntryResponse"},"MaterialCostReassignRequest":{"properties":{"reassign_to_user_id":{"type":"string","title":"Reassign To User Id"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["reassign_to_user_id"],"title":"MaterialCostReassignRequest","description":"Reassign material cost entry to another user"},"MeterCreate":{"properties":{"name":{"type":"string","title":"Name"},"meter_type":{"type":"string","title":"Meter Type","default":"electricity"},"site_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Id"},"facility_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Facility Id"},"unit":{"type":"string","title":"Unit","default":"kWh"},"location":{"type":"string","title":"Location","default":""},"serial_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serial Number","default":""}},"type":"object","required":["name"],"title":"MeterCreate"},"MicrosoftAuthRequest":{"properties":{"redirect_uri":{"type":"string","title":"Redirect Uri"}},"type":"object","required":["redirect_uri"],"title":"MicrosoftAuthRequest"},"MicrosoftCallbackRequest":{"properties":{"code":{"type":"string","title":"Code"},"redirect_uri":{"type":"string","title":"Redirect Uri"}},"type":"object","required":["code","redirect_uri"],"title":"MicrosoftCallbackRequest"},"MilestoneCreate":{"properties":{"project_id":{"type":"string","title":"Project Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","default":""},"due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due Date"},"deliverables":{"items":{"type":"string"},"type":"array","title":"Deliverables","default":[]}},"type":"object","required":["project_id","name"],"title":"MilestoneCreate"},"MobileOTPRequest":{"properties":{"phone":{"type":"string","title":"Phone"}},"type":"object","required":["phone"],"title":"MobileOTPRequest"},"MobileOTPVerify":{"properties":{"phone":{"type":"string","title":"Phone"},"otp":{"type":"string","title":"Otp"}},"type":"object","required":["phone","otp"],"title":"MobileOTPVerify"},"NewsletterSubscriber":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firstname"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","default":"website"}},"type":"object","required":["email"],"title":"NewsletterSubscriber"},"NotificationResponse":{"properties":{"id":{"type":"string","title":"Id"},"user_id":{"type":"string","title":"User Id"},"tenant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","default":""},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","default":""},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","default":"system"},"priority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Priority","default":"medium"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata","default":{}},"is_read":{"type":"boolean","title":"Is Read","default":false},"created_at":{"type":"string","title":"Created At"},"read_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Read At"}},"type":"object","required":["id","user_id","created_at"],"title":"NotificationResponse"},"OccupancyStatus":{"type":"string","enum":["vacant","occupied","under_maintenance","reserved"],"title":"OccupancyStatus"},"PMCompletionRequest":{"properties":{"completion_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completion Notes"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"actual_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Actual Cost","default":0.0},"actual_charge_asset_repair":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Actual Charge Asset Repair","default":0.0},"actual_charge_electrical":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Actual Charge Electrical","default":0.0},"actual_charge_hvac":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Actual Charge Hvac","default":0.0},"actual_charge_other":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Actual Charge Other","default":0.0},"consumables":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Consumables","default":[]},"consumables_used":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Consumables Used","default":[]},"labor_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Labor Hours","default":0.0},"labor_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Labor Cost","default":0.0},"labor_details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Labor Details"}},"type":"object","title":"PMCompletionRequest"},"PMScheduleCreate":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"frequency_type":{"type":"string","title":"Frequency Type","default":"days"},"frequency_value":{"type":"integer","title":"Frequency Value"},"checklist_template_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checklist Template Id"},"maintenance_type":{"type":"string","title":"Maintenance Type","default":"scheduled"},"estimated_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimated Cost","default":0.0},"charge_asset_repair":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Charge Asset Repair","default":0.0},"charge_electrical":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Charge Electrical","default":0.0},"charge_hvac":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Charge Hvac","default":0.0},"charge_other":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Charge Other","default":0.0},"total_estimated_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Estimated Cost","default":0.0}},"type":"object","required":["asset_id","title","description","frequency_value"],"title":"PMScheduleCreate"},"PMScheduleResponse":{"properties":{"id":{"type":"string","title":"Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"site_id":{"type":"string","title":"Site Id"},"facility_id":{"type":"string","title":"Facility Id"},"asset_id":{"type":"string","title":"Asset Id"},"asset_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Name"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"frequency_type":{"type":"string","title":"Frequency Type"},"frequency_value":{"type":"integer","title":"Frequency Value"},"next_due_date":{"type":"string","title":"Next Due Date"},"last_completed":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Completed"},"checklist_template_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checklist Template Id"},"is_active":{"type":"boolean","title":"Is Active","default":true},"status":{"type":"string","title":"Status","default":"scheduled"},"created_at":{"type":"string","title":"Created At"},"maintenance_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Maintenance Type","default":"scheduled"},"estimated_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimated Cost","default":0.0},"actual_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Actual Cost","default":0.0},"charge_asset_repair":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Charge Asset Repair","default":0.0},"charge_electrical":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Charge Electrical","default":0.0},"charge_hvac":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Charge Hvac","default":0.0},"charge_other":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Charge Other","default":0.0},"total_estimated_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Estimated Cost","default":0.0},"total_actual_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Actual Cost","default":0.0},"completion_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completion Notes"},"asset_warranty_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Warranty Status"},"asset_purchase_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Purchase Date"},"asset_commissioning_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Commissioning Date"}},"type":"object","required":["id","tenant_id","site_id","facility_id","asset_id","title","description","frequency_type","frequency_value","next_due_date","created_at"],"title":"PMScheduleResponse"},"PMTemplateCreate":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","default":""},"frequency":{"type":"string","title":"Frequency","default":"monthly"},"task_list":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Task List","default":[]},"applicable_asset_classes":{"items":{"type":"string"},"type":"array","title":"Applicable Asset Classes","default":[]},"estimated_hours":{"type":"number","title":"Estimated Hours","default":0}},"type":"object","required":["name"],"title":"PMTemplateCreate"},"PMUpdateRequest":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"frequency_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Frequency Type"},"frequency_value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Frequency Value"},"next_due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Due Date"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","title":"PMUpdateRequest"},"PartCreate":{"properties":{"name":{"type":"string","title":"Name"},"part_number":{"type":"string","title":"Part Number"},"category":{"type":"string","title":"Category"},"facility_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Facility Id"},"quantity":{"type":"integer","title":"Quantity"},"min_quantity":{"type":"integer","title":"Min Quantity"},"max_quantity":{"type":"integer","title":"Max Quantity"},"unit_cost":{"type":"number","title":"Unit Cost"},"vendor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Id"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"}},"type":"object","required":["name","part_number","category","quantity","min_quantity","max_quantity","unit_cost"],"title":"PartCreate"},"PartResponse":{"properties":{"id":{"type":"string","title":"Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"facility_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Facility Id"},"name":{"type":"string","title":"Name"},"part_number":{"type":"string","title":"Part Number"},"category":{"type":"string","title":"Category"},"quantity":{"type":"integer","title":"Quantity"},"min_quantity":{"type":"integer","title":"Min Quantity"},"max_quantity":{"type":"integer","title":"Max Quantity"},"unit_cost":{"type":"number","title":"Unit Cost"},"vendor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Id"},"vendor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Name"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","tenant_id","name","part_number","category","quantity","min_quantity","max_quantity","unit_cost","status","created_at"],"title":"PartResponse"},"PaymentCreate":{"properties":{"invoice_id":{"type":"string","title":"Invoice Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"amount":{"type":"number","title":"Amount"},"payment_date":{"type":"string","title":"Payment Date"},"payment_mode":{"$ref":"#/components/schemas/PaymentMode"},"reference_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Number"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["invoice_id","tenant_id","amount","payment_date","payment_mode"],"title":"PaymentCreate"},"PaymentInitiateRequest":{"properties":{"charge_id":{"type":"string","title":"Charge Id"},"return_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Return Url"},"cancel_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Url"}},"type":"object","required":["charge_id"],"title":"PaymentInitiateRequest"},"PaymentMode":{"type":"string","enum":["cash","bank_transfer","online","cheque","upi","card"],"title":"PaymentMode"},"PermitCreate":{"properties":{"title":{"type":"string","title":"Title"},"work_order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Work Order Id"},"permit_type":{"type":"string","title":"Permit Type","default":"hot_work"},"location":{"type":"string","title":"Location","default":""},"hazards":{"items":{"type":"string"},"type":"array","title":"Hazards","default":[]},"precautions":{"items":{"type":"string"},"type":"array","title":"Precautions","default":[]},"start_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Time"},"isolation_points":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Isolation Points","default":[]},"required_ppe":{"items":{"type":"string"},"type":"array","title":"Required Ppe","default":[]}},"type":"object","required":["title"],"title":"PermitCreate"},"PlaybookSubscriber":{"properties":{"firstName":{"type":"string","title":"Firstname"},"email":{"type":"string","format":"email","title":"Email"},"jobTitle":{"type":"string","title":"Jobtitle"},"companyType":{"type":"string","title":"Companytype"}},"type":"object","required":["firstName","email","jobTitle","companyType"],"title":"PlaybookSubscriber"},"PollCreate":{"properties":{"blog_id":{"type":"string","title":"Blog Id"},"question":{"type":"string","maxLength":500,"minLength":5,"title":"Question"},"options":{"items":{"type":"string"},"type":"array","maxItems":6,"minItems":2,"title":"Options"}},"type":"object","required":["blog_id","question","options"],"title":"PollCreate"},"PollResponse":{"properties":{"id":{"type":"string","title":"Id"},"blog_id":{"type":"string","title":"Blog Id"},"question":{"type":"string","title":"Question"},"options":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Options"},"total_votes":{"type":"integer","title":"Total Votes"},"created_at":{"type":"string","title":"Created At"},"created_by":{"type":"string","title":"Created By"}},"type":"object","required":["id","blog_id","question","options","total_votes","created_at","created_by"],"title":"PollResponse"},"PollVote":{"properties":{"option_index":{"type":"integer","title":"Option Index"}},"type":"object","required":["option_index"],"title":"PollVote"},"PopBody":{"properties":{"vendor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Id"},"technician_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Technician Email"},"force":{"type":"boolean","title":"Force","default":false}},"type":"object","title":"PopBody"},"ProjectCreate":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","default":""},"site_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Id"},"project_type":{"type":"string","title":"Project Type","default":"new_installation"},"priority":{"type":"string","title":"Priority","default":"medium"},"budget":{"type":"number","title":"Budget","default":0},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"},"target_end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target End Date"},"project_manager":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Manager","default":""},"linked_asset_ids":{"items":{"type":"string"},"type":"array","title":"Linked Asset Ids","default":[]},"linked_facility_ids":{"items":{"type":"string"},"type":"array","title":"Linked Facility Ids","default":[]}},"type":"object","required":["name"],"title":"ProjectCreate"},"PropertyCreate":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"address":{"type":"string","title":"Address"},"city":{"type":"string","title":"City"},"state":{"type":"string","title":"State"},"postal_code":{"type":"string","title":"Postal Code"},"country":{"type":"string","title":"Country","default":"India"},"property_type":{"$ref":"#/components/schemas/PropertyType"},"owner_entity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Entity"},"portfolio_group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Portfolio Group"},"total_units":{"type":"integer","title":"Total Units","default":0},"total_area_sqft":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Area Sqft"},"year_built":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year Built"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["name","address","city","state","postal_code","property_type"],"title":"PropertyCreate"},"PropertyType":{"type":"string","enum":["residential","commercial","industrial","mixed_use","senior_housing","affordable_housing","hoa_condo"],"title":"PropertyType"},"PropertyUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"property_type":{"anyOf":[{"$ref":"#/components/schemas/PropertyType"},{"type":"null"}]},"owner_entity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Entity"},"portfolio_group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Portfolio Group"},"total_units":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Units"},"total_area_sqft":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Area Sqft"},"year_built":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year Built"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"is_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Archived"}},"type":"object","title":"PropertyUpdate"},"PurchaseOrderCreate":{"properties":{"requisition_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requisition Id"},"vendor_id":{"type":"string","title":"Vendor Id"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items","default":[]},"shipping_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shipping Address","default":""},"payment_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Terms","default":"net_30"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes","default":""},"expected_delivery":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Delivery"}},"type":"object","required":["vendor_id"],"title":"PurchaseOrderCreate"},"QuickCompareRequest":{"properties":{"alternatives":{"items":{"type":"string"},"type":"array","title":"Alternatives"},"building_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Building Type"},"priority_criteria":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Priority Criteria"}},"type":"object","required":["alternatives"],"title":"QuickCompareRequest","description":"Request body for quick CMMS comparison"},"QuoteBody":{"properties":{"vendor_id":{"type":"string","title":"Vendor Id"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"},"lead_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Lead Days"},"notes":{"type":"string","title":"Notes","default":""}},"type":"object","required":["vendor_id","items"],"title":"QuoteBody"},"ReadingCreate":{"properties":{"meter_id":{"type":"string","title":"Meter Id"},"value":{"type":"number","title":"Value"},"reading_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reading Date"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes","default":""}},"type":"object","required":["meter_id","value"],"title":"ReadingCreate"},"RefreshTokenRequest":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"RefreshTokenRequest"},"ReportScheduleCreate":{"properties":{"report_type":{"type":"string","title":"Report Type","default":"Daily"},"frequency":{"type":"string","title":"Frequency","default":"daily"},"recipients":{"items":{"type":"string"},"type":"array","title":"Recipients"},"report_time":{"type":"string","title":"Report Time","default":"08:00"},"include_executive_format":{"type":"boolean","title":"Include Executive Format","default":false}},"type":"object","required":["recipients"],"title":"ReportScheduleCreate"},"ReportScheduleResponse":{"properties":{"id":{"type":"string","title":"Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"report_type":{"type":"string","title":"Report Type"},"frequency":{"type":"string","title":"Frequency"},"recipients":{"items":{"type":"string"},"type":"array","title":"Recipients"},"report_time":{"type":"string","title":"Report Time"},"include_executive_format":{"type":"boolean","title":"Include Executive Format","default":false},"is_active":{"type":"boolean","title":"Is Active","default":true},"next_run":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Run"},"last_run":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Run"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","tenant_id","report_type","frequency","recipients","report_time","created_at"],"title":"ReportScheduleResponse"},"RequestUpdate":{"properties":{"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"assigned_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned To"},"assigned_team":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned Team"},"resolution_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolution Notes"},"priority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Priority"}},"type":"object","title":"RequestUpdate"},"RequisitionCreate":{"properties":{"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","default":""},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items","default":[]},"priority":{"type":"string","title":"Priority","default":"normal"},"department":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Department","default":""},"site_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Id","default":""},"required_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Required By"},"linked_work_order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linked Work Order Id"}},"type":"object","required":["title"],"title":"RequisitionCreate"},"ResetPasswordRequest":{"properties":{"token":{"type":"string","title":"Token"},"new_password":{"type":"string","title":"New Password"}},"type":"object","required":["token","new_password"],"title":"ResetPasswordRequest"},"RevisionCreate":{"properties":{"document_id":{"type":"string","title":"Document Id"},"revision_notes":{"type":"string","title":"Revision Notes"},"changes_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Changes Summary","default":""}},"type":"object","required":["document_id","revision_notes"],"title":"RevisionCreate"},"RfqCreate":{"properties":{"title":{"type":"string","title":"Title"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"},"vendor_ids":{"items":{"type":"string"},"type":"array","title":"Vendor Ids","default":[]},"requisition_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requisition Id"},"due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due Date"},"notes":{"type":"string","title":"Notes","default":""}},"type":"object","required":["title","items"],"title":"RfqCreate"},"SafetyChecklist":{"properties":{"name":{"type":"string","title":"Name"},"work_order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Work Order Id"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items","default":[]}},"type":"object","required":["name"],"title":"SafetyChecklist"},"SaveComparisonRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"first_name":{"type":"string","title":"First Name"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"job_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Title"},"comparison_results":{"additionalProperties":true,"type":"object","title":"Comparison Results"},"subscribe_newsletter":{"type":"boolean","title":"Subscribe Newsletter","default":true}},"type":"object","required":["email","first_name","comparison_results"],"title":"SaveComparisonRequest","description":"Request to save CMMS comparison results"},"ScheduledReport":{"properties":{"name":{"type":"string","title":"Name"},"report_type":{"type":"string","title":"Report Type","default":"operations"},"frequency":{"type":"string","title":"Frequency","default":"weekly"},"recipients":{"items":{"type":"string"},"type":"array","title":"Recipients","default":[]},"filters":{"additionalProperties":true,"type":"object","title":"Filters","default":{}}},"type":"object","required":["name"],"title":"ScheduledReport"},"SendNoticeBody":{"properties":{"user_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Email"},"dry_run":{"type":"boolean","title":"Dry Run","default":false}},"type":"object","title":"SendNoticeBody"},"ServiceRequestCreate":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"category":{"type":"string","title":"Category","default":"general"},"priority":{"type":"string","title":"Priority","default":"medium"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location","default":""},"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id"},"floor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Floor","default":""},"building":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Building","default":""},"requestor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requestor Name","default":""},"requestor_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requestor Email","default":""},"requestor_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requestor Phone","default":""},"photo_urls":{"items":{"type":"string"},"type":"array","title":"Photo Urls","default":[]},"preferred_schedule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preferred Schedule"}},"type":"object","required":["title","description"],"title":"ServiceRequestCreate"},"SetPasswordRequest":{"properties":{"user_id":{"type":"string","title":"User Id"},"new_password":{"type":"string","title":"New Password"}},"type":"object","required":["user_id","new_password"],"title":"SetPasswordRequest"},"ShiftCreate":{"properties":{"technician_id":{"type":"string","title":"Technician Id"},"shift_date":{"type":"string","title":"Shift Date"},"start_time":{"type":"string","title":"Start Time"},"end_time":{"type":"string","title":"End Time"},"shift_type":{"type":"string","title":"Shift Type","default":"regular"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes","default":""}},"type":"object","required":["technician_id","shift_date","start_time","end_time"],"title":"ShiftCreate"},"SiteResponse":{"properties":{"id":{"type":"string","title":"Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"name":{"type":"string","title":"Name"},"code":{"type":"string","title":"Code"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Longitude"},"timezone":{"type":"string","title":"Timezone","default":"UTC"},"is_active":{"type":"boolean","title":"Is Active","default":true},"facilities_count":{"type":"integer","title":"Facilities Count","default":0},"assets_count":{"type":"integer","title":"Assets Count","default":0},"tenant_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant Name"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","tenant_id","name","code","created_at"],"title":"SiteResponse"},"StockTransfer":{"properties":{"from_site_id":{"type":"string","title":"From Site Id"},"to_site_id":{"type":"string","title":"To Site Id"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items","default":[]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes","default":""}},"type":"object","required":["from_site_id","to_site_id"],"title":"StockTransfer"},"SubscriptionBody":{"properties":{"url":{"type":"string","title":"Url"},"events":{"items":{"type":"string"},"type":"array","title":"Events"},"description":{"type":"string","title":"Description","default":""}},"type":"object","required":["url","events"],"title":"SubscriptionBody"},"SuperUserAccessRequest":{"properties":{"requester_position":{"type":"string","title":"Requester Position"},"requester_email":{"type":"string","title":"Requester Email"},"reason":{"type":"string","title":"Reason"},"full_name":{"type":"string","title":"Full Name"}},"type":"object","required":["requester_position","requester_email","reason","full_name"],"title":"SuperUserAccessRequest","description":"Request for Super User access from organization Admin"},"TaskComplete":{"properties":{"outcome":{"type":"string","title":"Outcome"},"gps":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Gps"},"photos":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Photos"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["outcome"],"title":"TaskComplete"},"TaskUpdate":{"properties":{"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"assigned_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned To"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","title":"TaskUpdate"},"TechnicianCreate":{"properties":{"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"full_name":{"type":"string","title":"Full Name"},"employee_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Employee Id","default":""},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","default":""},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","default":""},"trade":{"type":"string","title":"Trade","default":"general"},"skills":{"items":{"type":"string"},"type":"array","title":"Skills","default":[]},"certifications":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Certifications","default":[]},"hourly_rate":{"type":"number","title":"Hourly Rate","default":0},"employment_type":{"type":"string","title":"Employment Type","default":"full_time"},"department":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Department","default":""},"site_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Id","default":""},"supervisor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Supervisor Id"},"shift_pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shift Pattern","default":"day"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes","default":""}},"type":"object","required":["full_name"],"title":"TechnicianCreate"},"TenantPolicyBody":{"properties":{"require_mfa":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Mfa"},"ip_allowlist":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Ip Allowlist"}},"type":"object","title":"TenantPolicyBody"},"TenantResponse":{"properties":{"id":{"type":"string","title":"Id"},"unit_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Id"},"unit_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unit Number"},"name":{"type":"string","title":"Name"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain","default":""},"contact_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Email","default":""},"contact_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Phone"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"company_registration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Registration"},"tax_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tax Id"},"industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry"},"company_size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Size"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url"},"billing_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Email"},"technical_contact":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Technical Contact"},"technical_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Technical Email"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"subscription":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Subscription"},"max_users":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Users","default":5},"current_user_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current User Count","default":0},"is_active":{"type":"boolean","title":"Is Active","default":true},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","name","created_at"],"title":"TenantResponse"},"TenantStatus":{"type":"string","enum":["active","past","prospective","evicted"],"title":"TenantStatus"},"TimeEntry":{"properties":{"technician_id":{"type":"string","title":"Technician Id"},"work_order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Work Order Id"},"hours_worked":{"type":"number","title":"Hours Worked"},"work_date":{"type":"string","title":"Work Date"},"entry_type":{"type":"string","title":"Entry Type","default":"regular"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","default":""}},"type":"object","required":["technician_id","hours_worked","work_date"],"title":"TimeEntry"},"Token":{"properties":{"access_token":{"type":"string","title":"Access Token"},"refresh_token":{"type":"string","title":"Refresh Token"},"token_type":{"type":"string","title":"Token Type"},"user":{"$ref":"#/components/schemas/UserResponse"}},"type":"object","required":["access_token","refresh_token","token_type","user"],"title":"Token"},"TrainingRecord":{"properties":{"technician_id":{"type":"string","title":"Technician Id"},"course_name":{"type":"string","title":"Course Name"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider","default":""},"completion_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completion Date"},"expiry_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiry Date"},"certificate_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certificate Url"},"status":{"type":"string","title":"Status","default":"completed"}},"type":"object","required":["technician_id","course_name"],"title":"TrainingRecord"},"TwoFAVerifyRequest":{"properties":{"two_fa_token":{"type":"string","title":"Two Fa Token"},"otp":{"type":"string","title":"Otp"}},"type":"object","required":["two_fa_token","otp"],"title":"TwoFAVerifyRequest"},"UnitCreate":{"properties":{"property_id":{"type":"string","title":"Property Id"},"building_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Building Id"},"floor_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Floor Number"},"unit_number":{"type":"string","title":"Unit Number"},"unit_type":{"type":"string","title":"Unit Type"},"square_footage":{"type":"number","title":"Square Footage"},"bedrooms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bedrooms"},"bathrooms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bathrooms"},"rent_amount":{"type":"number","title":"Rent Amount"},"deposit_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Deposit Amount"},"occupancy_status":{"$ref":"#/components/schemas/OccupancyStatus","default":"vacant"},"amenities":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Amenities","default":[]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["property_id","unit_number","unit_type","square_footage","rent_amount"],"title":"UnitCreate"},"UnitUpdate":{"properties":{"unit_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Number"},"unit_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Type"},"square_footage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Square Footage"},"bedrooms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bedrooms"},"bathrooms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bathrooms"},"rent_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rent Amount"},"deposit_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Deposit Amount"},"occupancy_status":{"anyOf":[{"$ref":"#/components/schemas/OccupancyStatus"},{"type":"null"}]},"amenities":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Amenities"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"UnitUpdate"},"UnlockApprovalRequest":{"properties":{"approved":{"type":"boolean","title":"Approved"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["approved"],"title":"UnlockApprovalRequest"},"UnlockRequestCreate":{"properties":{"reason":{"type":"string","title":"Reason"}},"type":"object","required":["reason"],"title":"UnlockRequestCreate"},"UserCreate":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"},"full_name":{"type":"string","title":"Full Name"},"role":{"type":"string","title":"Role","default":"technician"},"tenant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant Id"},"site_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Site Ids","default":[]},"facility_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Facility Ids","default":[]},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"industry_sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry Sector"}},"type":"object","required":["email","password","full_name"],"title":"UserCreate"},"UserLogin":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"UserLogin"},"UserPermissionUpdate":{"properties":{"requires_permission":{"type":"boolean","title":"Requires Permission","default":false},"permission_start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Permission Start Date"},"permission_end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Permission End Date"},"elevated_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Elevated Role"},"permission_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Permission Notes"}},"type":"object","title":"UserPermissionUpdate"},"UserResponse":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"},"full_name":{"type":"string","title":"Full Name"},"role":{"type":"string","title":"Role"},"tenant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant Id"},"site_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Site Ids","default":[]},"facility_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Facility Ids","default":[]},"is_active":{"type":"boolean","title":"Is Active","default":true},"can_access_app":{"type":"boolean","title":"Can Access App","default":true},"force_password_reset":{"type":"boolean","title":"Force Password Reset","default":false},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"two_factor_enabled":{"type":"boolean","title":"Two Factor Enabled","default":false},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","email","full_name","role","created_at"],"title":"UserResponse"},"UserUpdate":{"properties":{"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"site_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Site Ids"},"facility_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Facility Ids"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"can_access_app":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Can Access App"},"force_password_reset":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Force Password Reset"}},"type":"object","title":"UserUpdate"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VendorResponse":{"properties":{"id":{"type":"string","title":"Id"},"tenant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant Id"},"unit_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Id"},"name":{"type":"string","title":"Name"},"contact_person":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Person"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"alternate_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alternate Phone"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"specialization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Specialization"},"gst_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gst Number"},"pan_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pan Number"},"bank_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Name"},"bank_account":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Account"},"ifsc_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ifsc Code"},"payment_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Terms"},"rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"service_areas":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Service Areas"},"is_active":{"type":"boolean","title":"Is Active","default":true},"is_deleted":{"type":"boolean","title":"Is Deleted","default":false},"created_at":{"type":"string","title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By"},"history":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"History"}},"type":"object","required":["id","name","created_at"],"title":"VendorResponse"},"VendorUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"contact_person":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Person"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"alternate_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alternate Phone"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"specialization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Specialization"},"gst_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gst Number"},"pan_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pan Number"},"bank_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Name"},"bank_account":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Account"},"ifsc_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ifsc Code"},"payment_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Terms"},"rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"service_areas":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Service Areas"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"VendorUpdate"},"VerificationRequestCreate":{"properties":{"vendor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Id"},"full_name":{"type":"string","title":"Full Name"},"dob":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dob"},"pan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pan"},"aadhaar_last4":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aadhaar Last4"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"address":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Address"},"employment_history":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Employment History"},"references":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"References"},"no_criminal_record":{"type":"boolean","title":"No Criminal Record","default":false},"certifications":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Certifications"},"requested_checks":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Requested Checks"}},"type":"object","required":["full_name"],"title":"VerificationRequestCreate"},"VerifyBody":{"properties":{"two_fa_token":{"type":"string","title":"Two Fa Token"},"code":{"type":"string","title":"Code"}},"type":"object","required":["two_fa_token","code"],"title":"VerifyBody"},"VerifyResetTokenRequest":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"VerifyResetTokenRequest"},"WaterQualityReadingCreate":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"site_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Id"},"facility_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Facility Id"},"location_description":{"type":"string","title":"Location Description"},"ph_level":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ph Level"},"turbidity_ntu":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Turbidity Ntu"},"tds_ppm":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tds Ppm"},"chlorine_ppm":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Chlorine Ppm"},"lead_ppb":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lead Ppb"},"bacteria_cfu":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bacteria Cfu"},"temperature_celsius":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature Celsius"},"odor_detected":{"type":"boolean","title":"Odor Detected","default":false},"color_abnormal":{"type":"boolean","title":"Color Abnormal","default":false},"pipe_material":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pipe Material"},"pipe_age_years":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pipe Age Years"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"tested_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tested By"}},"type":"object","required":["asset_id","location_description"],"title":"WaterQualityReadingCreate"},"WaterQualityResponse":{"properties":{"id":{"type":"string","title":"Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id"},"asset_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Name"},"site_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Id"},"site_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Name"},"facility_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Facility Id"},"facility_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Facility Name"},"location_description":{"type":"string","title":"Location Description"},"ph_level":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ph Level"},"ph_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ph Status"},"turbidity_ntu":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Turbidity Ntu"},"turbidity_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turbidity Status"},"tds_ppm":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tds Ppm"},"tds_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tds Status"},"chlorine_ppm":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Chlorine Ppm"},"chlorine_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chlorine Status"},"lead_ppb":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lead Ppb"},"lead_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lead Status"},"bacteria_cfu":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bacteria Cfu"},"bacteria_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bacteria Status"},"temperature_celsius":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature Celsius"},"odor_detected":{"type":"boolean","title":"Odor Detected","default":false},"color_abnormal":{"type":"boolean","title":"Color Abnormal","default":false},"pipe_material":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pipe Material"},"pipe_age_years":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pipe Age Years"},"overall_quality_score":{"type":"number","title":"Overall Quality Score","default":100.0},"quality_grade":{"type":"string","title":"Quality Grade","default":"A"},"health_risk_level":{"type":"string","title":"Health Risk Level","default":"low"},"recommendations":{"items":{"type":"string"},"type":"array","title":"Recommendations","default":[]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"tested_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tested By"},"tested_at":{"type":"string","title":"Tested At"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","tenant_id","location_description","tested_at","created_at"],"title":"WaterQualityResponse"},"WebhookCreate":{"properties":{"name":{"type":"string","title":"Name"},"url":{"type":"string","title":"Url"},"events":{"items":{"type":"string"},"type":"array","title":"Events","default":[]},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"},"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","required":["name","url"],"title":"WebhookCreate"},"WorkHistoryCreate":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"work_type":{"type":"string","title":"Work Type"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"completion_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completion Notes"},"consumables":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Consumables","default":[]},"labor_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Labor Hours","default":0.0},"labor_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Labor Cost","default":0.0},"labor_details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Labor Details"},"parts_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Parts Cost","default":0.0},"total_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Cost","default":0.0},"charge_breakdown":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Charge Breakdown","default":{}}},"type":"object","required":["asset_id","work_type","title"],"title":"WorkHistoryCreate"},"WorkHistoryResponse":{"properties":{"id":{"type":"string","title":"Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"asset_id":{"type":"string","title":"Asset Id"},"asset_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Name"},"work_type":{"type":"string","title":"Work Type"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"completion_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completion Notes"},"consumables":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Consumables","default":[]},"labor_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Labor Hours","default":0.0},"labor_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Labor Cost","default":0.0},"labor_details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Labor Details"},"parts_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Parts Cost","default":0.0},"total_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Cost","default":0.0},"charge_breakdown":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Charge Breakdown","default":{}},"completed_by":{"type":"string","title":"Completed By"},"completed_by_id":{"type":"string","title":"Completed By Id"},"completed_at":{"type":"string","title":"Completed At"},"is_locked":{"type":"boolean","title":"Is Locked","default":true},"locked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locked At"},"locked_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locked By"},"unlock_requested":{"type":"boolean","title":"Unlock Requested","default":false},"unlock_request_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unlock Request Reason"},"unlock_request_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unlock Request By"},"unlock_request_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unlock Request At"},"last_modified_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Modified By"},"last_modified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Modified At"},"modification_history":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Modification History","default":[]},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","tenant_id","asset_id","work_type","title","completed_by","completed_by_id","completed_at","created_at"],"title":"WorkHistoryResponse"},"WorkOrderCloseRequest":{"properties":{"failure_mode":{"type":"string","title":"Failure Mode"},"root_cause":{"type":"string","title":"Root Cause"},"resolution":{"type":"string","title":"Resolution"},"actual_completion_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actual Completion Time"},"completion_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completion Notes"},"labor_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Labor Cost"},"parts_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Parts Cost"}},"type":"object","required":["failure_mode","root_cause","resolution"],"title":"WorkOrderCloseRequest","description":"Field-first closure — mandatory WHAT, WHY, WHO, WHEN"},"WorkOrderCompletionCreate":{"properties":{"work_order_id":{"type":"string","title":"Work Order Id"},"resolution":{"type":"string","title":"Resolution"},"completion_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completion Notes"},"labor_hours":{"type":"number","title":"Labor Hours"},"labor_details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Labor Details"},"labor_rate_per_hour":{"type":"number","title":"Labor Rate Per Hour","default":0.0},"contractor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contractor Name"},"contractor_work_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contractor Work Description"},"contractor_cost":{"type":"number","title":"Contractor Cost","default":0.0},"contractor_invoice_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contractor Invoice Url"},"equipment_health_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Equipment Health Score"},"equipment_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Equipment Notes"},"completion_photos":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Completion Photos"},"before_photos":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Before Photos"},"quality_checklist_completed":{"type":"boolean","title":"Quality Checklist Completed","default":false},"technician_signature":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Technician Signature"}},"type":"object","required":["work_order_id","resolution","labor_hours"],"title":"WorkOrderCompletionCreate","description":"Complete work order with material costs - by Technician/Vendor"},"WorkOrderCreate":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"type":{"type":"string","title":"Type","default":"reactive"},"priority":{"type":"string","title":"Priority","default":"medium"},"assigned_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned To"},"sla_hours":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sla Hours"},"vendor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Id"},"vendor_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Notes"},"override_trust_gate":{"type":"boolean","title":"Override Trust Gate","default":false}},"type":"object","required":["asset_id","title","description"],"title":"WorkOrderCreate"},"WorkOrderResponse":{"properties":{"id":{"type":"string","title":"Id"},"tenant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant Id"},"site_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Id"},"facility_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Facility Id"},"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id"},"asset_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Name"},"facility_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Facility Name"},"site_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Name"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","default":"reactive"},"priority":{"type":"string","title":"Priority"},"status":{"type":"string","title":"Status"},"assigned_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned To"},"assigned_to_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned To Name"},"vendor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Id"},"vendor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Name"},"vendor_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Notes"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"resolution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolution"},"failure_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Mode"},"failure_mode_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Mode Label"},"root_cause":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Root Cause"},"root_cause_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Root Cause Label"},"completed_by_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed By Id"},"completed_by_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed By Name"},"completion_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completion Notes"},"actual_completion_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actual Completion Time"},"sla_hours":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sla Hours"},"sla_deadline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sla Deadline"},"source":{"type":"string","title":"Source","default":"manual"},"tenant_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant Name"},"trust_gate":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trust Gate"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["id","title","priority","status","created_at"],"title":"WorkOrderResponse"},"WorkOrderUpdate":{"properties":{"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"assigned_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned To"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"resolution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolution"},"vendor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Id"},"vendor_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Notes"},"failure_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Mode"},"root_cause":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Root Cause"},"override_trust_gate":{"type":"boolean","title":"Override Trust Gate","default":false}},"type":"object","title":"WorkOrderUpdate"},"ZoneCreate":{"properties":{"name":{"type":"string","title":"Name"},"zone_type":{"type":"string","title":"Zone Type","default":"operational"},"site_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Id"},"facility_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Facility Id"},"boundary_coords":{"items":{"additionalProperties":{"type":"number"},"type":"object"},"type":"array","title":"Boundary Coords","default":[]},"color":{"type":"string","title":"Color","default":"#3b82f6"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","default":""}},"type":"object","required":["name"],"title":"ZoneCreate"},"models__schemas__SiteCreate":{"properties":{"name":{"type":"string","title":"Name"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Longitude"},"timezone":{"type":"string","title":"Timezone","default":"UTC"}},"type":"object","required":["name"],"title":"SiteCreate"},"models__schemas__TenantCreate":{"properties":{"name":{"type":"string","title":"Name"},"domain":{"type":"string","title":"Domain"},"contact_email":{"type":"string","format":"email","title":"Contact Email"},"contact_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Phone"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"}},"type":"object","required":["name","domain","contact_email"],"title":"TenantCreate"},"models__schemas__TenantUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"contact_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Email"},"contact_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Phone"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"company_registration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Registration"},"tax_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tax Id"},"industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry"},"company_size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Size"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url"},"billing_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Email"},"technical_contact":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Technical Contact"},"technical_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Technical Email"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"}},"type":"object","title":"TenantUpdate"},"models__schemas__VendorCreate":{"properties":{"name":{"type":"string","title":"Name"},"contact_person":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Person"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"alternate_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alternate Phone"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"specialization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Specialization"},"gst_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gst Number"},"pan_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pan Number"},"bank_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Name"},"bank_account":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Account"},"ifsc_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ifsc Code"},"payment_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Terms"},"rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"service_areas":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Service Areas"}},"type":"object","required":["name"],"title":"VendorCreate"},"services__ai_inspection_service__InspectionCreate":{"properties":{"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id"},"asset_name":{"type":"string","title":"Asset Name","default":""},"facility_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Facility Id"},"inspection_type":{"type":"string","title":"Inspection Type","default":"routine"},"location":{"type":"string","title":"Location","default":""},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes","default":""},"photo_urls":{"items":{"type":"string"},"type":"array","title":"Photo Urls","default":[]},"checklist_items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Checklist Items","default":[]}},"type":"object","title":"InspectionCreate"},"services__multisite_service__SiteCreate":{"properties":{"name":{"type":"string","title":"Name"},"code":{"type":"string","title":"Code"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region","default":""},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City","default":""},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address","default":""},"contact_person":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Person","default":""},"contact_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Email","default":""},"contact_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Phone","default":""},"parent_site_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Site Id"},"site_type":{"type":"string","title":"Site Type","default":"facility"}},"type":"object","required":["name","code"],"title":"SiteCreate"},"services__procurement_service__VendorCreate":{"properties":{"name":{"type":"string","title":"Name"},"contact_person":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Person","default":""},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","default":""},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","default":""},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address","default":""},"category":{"type":"string","title":"Category","default":"general"},"payment_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Terms","default":"net_30"},"tax_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tax Id","default":""},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes","default":""}},"type":"object","required":["name"],"title":"VendorCreate"},"services__property_suite_service__InspectionCreate":{"properties":{"property_id":{"type":"string","title":"Property Id"},"unit_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Id"},"inspection_type":{"type":"string","title":"Inspection Type"},"scheduled_date":{"type":"string","title":"Scheduled Date"},"assigned_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned To"},"checklist_items":{"items":{"$ref":"#/components/schemas/InspectionItemCreate"},"type":"array","title":"Checklist Items","default":[]}},"type":"object","required":["property_id","inspection_type","scheduled_date"],"title":"InspectionCreate"},"services__property_suite_service__TenantCreate":{"properties":{"full_name":{"type":"string","title":"Full Name"},"email":{"type":"string","title":"Email"},"phone":{"type":"string","title":"Phone"},"id_type":{"type":"string","title":"Id Type"},"id_number":{"type":"string","title":"Id Number"},"emergency_contact_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Emergency Contact Name"},"emergency_contact_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Emergency Contact Phone"},"date_of_birth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Of Birth"},"occupation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Occupation"},"employer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Employer"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["full_name","email","phone","id_type","id_number"],"title":"TenantCreate"},"services__property_suite_service__TenantUpdate":{"properties":{"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"emergency_contact_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Emergency Contact Name"},"emergency_contact_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Emergency Contact Phone"},"occupation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Occupation"},"employer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Employer"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"status":{"anyOf":[{"$ref":"#/components/schemas/TenantStatus"},{"type":"null"}]}},"type":"object","title":"TenantUpdate"},"services__property_suite_service__VendorCreate":{"properties":{"vendor_name":{"type":"string","title":"Vendor Name"},"trade_specialty":{"type":"string","title":"Trade Specialty"},"contact_person":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Person"},"phone":{"type":"string","title":"Phone"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"license_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"License Number"},"insurance_expiry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Insurance Expiry"},"is_preferred":{"type":"boolean","title":"Is Preferred","default":false},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["vendor_name","trade_specialty","phone"],"title":"VendorCreate"}}}}