Creates a maintenance schedule for the path asset ID in the authenticated tenant. The request body is validated with createMaintenanceScheduleSchema; schedule_type and frequency are required, while start_date is optional in the current shared date schema and the service falls back to now when absent. The service inserts asset_id from the path, tenant from context, timestamps, and a calculated next_maintenance value. It does not verify asset existence, does not set created_by, and publishes no event.
Content type: application/json · schema AssetMaintenanceScheduleCreateRequest
preventiveinspectioncalibrationreplacementdailyweeklymonthlyquarterlyyearlycustomSuccess response 201 · schema AssetMaintenanceScheduleResponse
true