{"openapi":"3.0.0","info":{"title":"Buildum Construction Sites API","version":"1.0.0","description":"API for managing construction sites, zones, buildings, and related entities"},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ConstructionSite":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the construction site"},"organizationUuid":{"type":"string","format":"uuid","description":"UUID of the organization that owns this site"},"name":{"type":"string","description":"Name of the construction site"},"code":{"type":"string","description":"Optional code or identifier for the site"},"address":{"type":"string","description":"Street address of the site"},"city":{"type":"string","description":"City where the site is located"},"postalCode":{"type":"string","description":"Postal code of the site location"},"country":{"type":"string","description":"Country where the site is located"},"latitude":{"type":"number","format":"float","description":"Latitude coordinate of the site"},"longitude":{"type":"number","format":"float","description":"Longitude coordinate of the site"},"elevation":{"type":"number","format":"float","description":"Elevation of the site in meters"},"coverPhotoUrl":{"type":"string","description":"URL to the site cover photo"},"layoutMapUrl":{"type":"string","description":"URL to the site layout map"},"projectLeaderUuid":{"type":"string","format":"uuid","description":"UUID of the project leader"},"siteManagerUuid":{"type":"string","format":"uuid","description":"UUID of the site manager"},"notes":{"type":"string","description":"Additional notes about the site"},"status":{"type":"string","enum":["active","completed","cancelled"],"description":"Current status of the construction site"},"boxType":{"type":"string","description":"Type of construction box/container"},"operatingCalendarJson":{"type":"object","description":"Operating calendar configuration"},"warehouseProfileJson":{"type":"object","description":"Warehouse profile configuration"},"createdAt":{"type":"string","format":"date-time","description":"Timestamp when the site was created"},"updatedAt":{"type":"string","format":"date-time","description":"Timestamp when the site was last updated"}},"required":["id","organizationUuid","name","status"]},"ConstructionSiteCreate":{"type":"object","properties":{"organizationUuid":{"type":"string","format":"uuid","description":"UUID of the organization that owns this site"},"name":{"type":"string","description":"Name of the construction site"},"code":{"type":"string","description":"Optional code or identifier for the site"},"address":{"type":"string","description":"Street address of the site"},"city":{"type":"string","description":"City where the site is located"},"postalCode":{"type":"string","description":"Postal code of the site location"},"country":{"type":"string","description":"Country where the site is located"},"latitude":{"type":"number","format":"float","description":"Latitude coordinate of the site"},"longitude":{"type":"number","format":"float","description":"Longitude coordinate of the site"},"elevation":{"type":"number","format":"float","description":"Elevation of the site in meters"},"coverPhotoUrl":{"type":"string","description":"URL to the site cover photo"},"layoutMapUrl":{"type":"string","description":"URL to the site layout map"},"projectLeaderUuid":{"type":"string","format":"uuid","description":"UUID of the project leader"},"siteManagerUuid":{"type":"string","format":"uuid","description":"UUID of the site manager"},"notes":{"type":"string","description":"Additional notes about the site"},"status":{"type":"string","enum":["active","completed","cancelled"],"description":"Current status of the construction site"},"boxType":{"type":"string","description":"Type of construction box/container"},"operatingCalendarJson":{"type":"object","description":"Operating calendar configuration"},"warehouseProfileJson":{"type":"object","description":"Warehouse profile configuration"}},"required":["organizationUuid","name"]},"Error":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}}}}},"paths":{},"tags":[],"servers":[{"url":"https://flowos.scrumdesk.com/api/construction-sites","description":"Production (third parties — use in Postman)"},{"url":"http://localhost:3006/api/construction-sites","description":"Local module backend (direct on module port)"}]}