Dev Host
Simulates the Uhuu editor sending postMessage to the dialog iframe.
Handshake payload (JSON)
{ "type": "handshake", "eventData": { "schemaKey": "standard/real-estate/0.1.0", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Real Estate Listing", "type": "object", "properties": { "name": { "type": "string", "description": "Listing or property name" }, "description": { "type": "string", "description": "Full description / marketing copy" }, "listingType": { "type": "string", "enum": [ "forSale", "forLease", "forSaleOrLease", "sold", "leased" ] }, "listingStatus": { "type": "string", "enum": [ "active", "pending", "sold", "leased", "off_market" ] }, "askingPrice": { "type": "number", "description": "Asking price in USD" }, "pricePerSqft": { "type": "number", "description": "Price per square foot" }, "capRate": { "type": "number", "description": "Cap rate as a decimal (e.g. 0.065 for 6.5%)" }, "noi": { "type": "number", "description": "Net operating income in USD" }, "address": { "type": "object", "properties": { "streetAddress": { "type": "string" }, "addressLocality": { "type": "string", "description": "City" }, "addressRegion": { "type": "string", "description": "State or province" }, "postalCode": { "type": "string" }, "addressCountry": { "type": "string" } } }, "property": { "type": "object", "properties": { "propertyCategory": { "type": "string", "enum": [ "commercial", "residential", "industrial", "land", "mixed_use" ] }, "propertySubType": { "type": "string", "description": "e.g. office, retail, multifamily, warehouse, hotel" }, "buildingSizeSquareFeet": { "type": "number" }, "landSizeAcres": { "type": "number" }, "landSizeSquareFeet": { "type": "number" }, "numberOfStories": { "type": "integer" }, "yearBuilt": { "type": "integer" }, "yearRenovated": { "type": "integer" }, "numberOfUnits": { "type": "integer" }, "numberOfBuildings": { "type": "integer" }, "parkingSpaces": { "type": "integer" }, "parkingRatio": { "type": "string", "description": "e.g. 4.00/1,000 SF" }, "zoning": { "type": "string" }, "assessorParcelNumber": { "type": "string" }, "ceilingHeightFeet": { "type": "string" }, "occupancyRate": { "type": "number", "description": "Occupancy 0-1" }, "clearHeight": { "type": "string" }, "dockDoors": { "type": "integer" }, "gradeLevel": { "type": "integer" }, "hvac": { "type": "string" }, "electrical": { "type": "string" }, "power": { "type": "string" }, "sprinklers": { "type": "boolean" }, "fiber": { "type": "boolean" } } }, "tenants": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "suite": { "type": "string" }, "leasedSqft": { "type": "number" }, "leaseExpiry": { "type": "string", "format": "date" }, "leaseType": { "type": "string" }, "annualRent": { "type": "number" } } } }, "highlights": { "type": "array", "items": { "type": "string" }, "description": "Investment or property highlight bullet points" }, "contacts": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "title": { "type": "string" }, "phone": { "type": "string" }, "email": { "type": "string" }, "company": { "type": "string" } } } }, "listingOffice": { "type": "object", "properties": { "name": { "type": "string" }, "licenseNumber": { "type": "string" } } }, "attachments": { "type": "array", "items": { "type": "object", "properties": { "assetId": { "type": "string" }, "filename": { "type": "string" }, "mimeType": { "type": "string" }, "url": { "type": "string" }, "usage": { "type": "string" }, "outputPath": { "type": "string" }, "role": { "type": "string" }, "metadata": { "type": "object" } } } }, "images": { "type": "array", "items": { "type": "object", "properties": { "contentUrl": { "type": "string" }, "thumbnailUrl": { "type": "string" }, "title": { "type": "string" }, "order": { "type": "number" } } } }, "floorPlans": { "type": "array", "items": { "type": "object", "properties": { "contentUrl": { "type": "string" }, "thumbnailUrl": { "type": "string" }, "title": { "type": "string" }, "order": { "type": "number" } } } } } }, "payload": { "listingType": "forSale", "listingStatus": "active", "name": "Modern 3-Bedroom Apartment in Midtown", "address": { "@type": "PostalAddress", "streetAddress": "123 Park Avenue", "addressLocality": "New York", "addressRegion": "NY", "addressCountry": "US", "postalCode": "10022" }, "property": { "propertyCategory": "residential", "propertySubType": "apartment" } }, "documentId": "dev-doc-001", "draftSessionId": "dev-draft-001", "templateId": "dev-tpl-001", "locale": "en", "capabilities": { "canSaveRecord": true, "canReopenSession": false } } }
Send Handshake
Reset
Messages
Clear
No messages yet
Dialog iframe
/dialog
Tip: also try
/dialog?dev=1
(embedded dev mode) or
/dialog?standalone=1
(standalone with schema picker)