You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: api
- Set 'original_source_identifier' to: https://myrealtyapi.com/property/listing/XYZ789
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: api
Original Source Identifier: https://myrealtyapi.com/property/listing/XYZ789

Raw Property Data Snippet:
{"listingId": "XYZ789", "status": "Active", "price": 350000.00, "currency": "USD", "address": {"street": "123 Oak Ave", "city": "Springfield", "state": "IL", "zip": "62704"}, "details": {"beds": 3, "baths": 2.5, "sqft": 1850, "type": "Single Family", "yearBuilt": 1998}, "publicDescription": "Beautiful 3 bed, 2.5 bath home in a quiet neighborhood. Updated kitchen, large backyard. Close to parks and schools.", "listingDate": "2024-03-15T10:00:00Z", "agentInfo": {"agentName": "Jane Doe", "brokerage": "Premier Properties", "phone": "555-123-4567"}, "photos": ["https://myrealtyapi.com/img/XYZ789_1.jpg", "https://myrealtyapi.com/img/XYZ789_2.jpg"]}


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: file
- Set 'original_source_identifier' to: listings_q1_2024.csv-row-102
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: file
Original Source Identifier: listings_q1_2024.csv-row-102

Raw Property Data Snippet:
{"Street Address": "456 Elm St", "City": "Anytown", "State": "NY", "Zip": "12345", "Bedrooms": "4", "Bathrooms": "3.5", "Sq Ft": "2500", "Sale Price": "$450,000", "Property Type": "House", "Date Listed": "01/20/2024", "Agent Email": "john.doe@example.com", "Notes": "Spacious family home with finished basement."}


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: scrape
- Set 'original_source_identifier' to: https://www.zillow.com/homedetails/property-id-12345
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: scrape
Original Source Identifier: https://www.zillow.com/homedetails/property-id-12345

Raw Property Data Snippet:
{"address": "789 Pine Lane, Seattle, WA 98101", "bedrooms": "3 bd", "bathrooms": "2 ba", "sqft": "1,500 sqft", "price": "$650,000", "propertyType": "Townhouse", "description": "Charming townhouse in the heart of Seattle. Walkable to shops and restaurants.", "lastSoldDate": "2022-07-01", "zpid": "12345", "photos": ["https://photos.zillowstatic.com/fp/photo1.jpg"]}


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: api
- Set 'original_source_identifier' to: https://realtorapi.example.com/v1/property/98765
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: api
Original Source Identifier: https://realtorapi.example.com/v1/property/98765

Raw Property Data Snippet:
{"propertyId": 98765, "street": "101 Beach Blvd", "city": "Miami", "state": "FL", "zipCode": "33101", "beds": 1, "baths": 1.0, "squareFeet": 750, "listPrice": 450000, "listingDate": "2024-03-20", "propertyDesc": "Oceanfront condo with stunning views.", "propertyPhotos": ["https://cdn.realtorapi.example.com/photo1.jpg"], "agentContact": {"name": "Bob Johnson", "email": "bob.johnson@example.com"}}

Oceanfront condo with stunning views.


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: file
- Set 'original_source_identifier' to: apartments_nyc.json-record-7
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: file
Original Source Identifier: apartments_nyc.json-record-7

Raw Property Data Snippet:
{"id": "apt-nyc-007", "addr": "Unit 4B, 200 Main St", "borough": "Manhattan", "zip": "10001", "beds_count": 2, "baths_count": 1, "rent": 3500, "avail_date": "2024-05-01", "details": "Spacious 2 bedroom apartment with updated kitchen in great location.", "contact_phone": "212-555-1212"}


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: scrape
- Set 'original_source_identifier' to: https://www.redfin.com/CA/Los-Angeles/address-11111/home/9876543
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: scrape
Original Source Identifier: https://www.redfin.com/CA/Los-Angeles/address-11111/home/9876543

Raw Property Data Snippet:
{"streetLine": "111 Main St", "city": "Los Angeles", "state": "CA", "zip": "90001", "beds": 4, "baths": "2.5", "sqFt": 2200, "lotSqFt": 7500, "yearBuilt": 1965, "price": 950000, "listingAgent": {"name": "Agent A", "office": "Redfin"}, "descriptionText": "Beautiful single-family home with large yard.", "listingURL": "https://www.redfin.com/CA/Los-Angeles/address-11111/home/9876543", "photos": ["https://ssl.cdn.redfin.com/photo/abc.jpg"]}


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: api
- Set 'original_source_identifier' to: https://api.example.com/commercial/unit/C-15
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: api
Original Source Identifier: https://api.example.com/commercial/unit/C-15

Raw Property Data Snippet:
{"unit_id": "C-15", "building_address": "500 Commerce Way", "building_city": "Dallas", "building_state": "TX", "building_zip": "75201", "unit_size_sqft": 1200, "lease_rate_psf_yr": 25.00, "lease_type": "NNN", "available_from": "2024-06-01", "contact_person": "Agent B", "contact_office": "Commercial Realty"}


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: file
- Set 'original_source_identifier' to: vacancies.xlsx-row-25
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: file
Original Source Identifier: vacancies.xlsx-row-25

Raw Property Data Snippet:
{"Property Address": "Unit 3A, 700 Bay St", "City": "Toronto", "Province": "ON", "Postal Code": "M5G 1Z6", "Beds": 1, "Baths": 1, "Area (sqft)": 650, "Monthly Rent": 2200, "Building Type": "Apartment", "Contact Person": "C. Smith", "Contact Number": "416-555-7890"}


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: scrape
- Set 'original_source_identifier' to: https://www.propertyfinder.ae/en/buy/villa-dubai-palm-jumeirah-emerald-palace-gardens-villa-123456
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: scrape
Original Source Identifier: https://www.propertyfinder.ae/en/buy/villa-dubai-palm-jumeirah-emerald-palace-gardens-villa-123456

Raw Property Data Snippet:
{"prop_id": "123456", "location_text": "Palm Jumeirah, Dubai", "bedrooms_count": 5, "bathrooms_count": 6, "area_sqm": 800, "price_aed": 35000000, "property_type_en": "Villa", "description_en": "Ultra-luxury villa with private beach access.", "agent_name": "Luxury Homes Real Estate", "contact_phone": "+971 4 XXX XXXX", "images": ["https://img.propertyfinder.ae/photo/xyz.jpg"]}


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: api
- Set 'original_source_identifier' to: https://buildernewsapi.com/project/new-condos-phase2
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null", "string"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: api
Original Source Identifier: https://buildernewsapi.com/project/new-condos-phase2

Raw Property Data Snippet:
{"project_name": "Maplewood Condos - Phase 2", "type": "Condominium (New Construction)", "location": {"address": "88 Maplewood Ave", "city": "Vancouver", "province": "BC", "postal_code": "V6T 1Z4", "country": "Canada"}, "units_available": [{"unit_type": "1 Bed", "sqft": 600, "price_cad": 550000}, {"unit_type": "2 Bed", "sqft": 850, "price_cad": 750000}], "completion_date": "2025-Fall", "developer": "Green Homes Inc.", "contact_email": "sales@greenhomes.ca", "marketing_images": ["https://buildernewsapi.com/img/maplewood_rendering.jpg"]}

Maplewood Condos - Phase 2. New construction condominium units available. Unit types include 1 bed (600 sqft) starting at $550,000 CAD and 2 bed (850 sqft) starting at $750,000 CAD. Estimated completion Fall 2025.


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: file
- Set 'original_source_identifier' to: raw_data_feed_20240325.xml-record-412
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}, "xml_data": true}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: file
Original Source Identifier: raw_data_feed_20240325.xml-record-412

Raw Property Data Snippet:
{"Property": {"ID": "MLS112233", "Address": "321 River Rd, Austin, TX 78701", "Bedrooms": "3", "Bathrooms": "2", "SqFt": "1950", "ListPrice": "525000", "Status": "Sale", "ListingAgent": {"Name": "Cathy Jones", "Brokerage": "Austin Realty"}, "Description": "Riverside property with great views.", "PhotoURLs": ["http://images.example.com/mls112233_photo1.jpg"]}}

Riverside property with great views.

Riverside property with great views.


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: scrape
- Set 'original_source_identifier' to: https://www.apartments.com/some-listing-page/pqrstuv/
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: scrape
Original Source Identifier: https://www.apartments.com/some-listing-page/pqrstuv/

Raw Property Data Snippet:
{"building_name": "The Residences at Downtown", "street_address": "10 Peachtree St NW", "city": "Atlanta", "state": "GA", "zip_code": "30303", "unit_details": [{"beds": 1, "baths": 1, "rent_monthly": 1800, "sq_ft": 700}, {"beds": 2, "baths": 2, "rent_monthly": 2500, "sq_ft": 1100}], "amenities": ["Pool", "Gym", "Pet Friendly"], "contact_phone": "404-555-9876", "url": "https://www.apartments.com/some-listing-page/pqrstuv/", "last_updated": "2024-03-24"}

The Residences at Downtown. Units available include 1 bed (700 sqft) for $1800/month and 2 bed (1100 sqft) for $2500/month. Amenities include Pool, Gym, Pet Friendly.


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: api
- Set 'original_source_identifier' to: https://idxfeed.example.net/property/ID-999
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: api
Original Source Identifier: https://idxfeed.example.net/property/ID-999

Raw Property Data Snippet:
{"MLS": "ID-999", "StreetNumber": "876", "StreetName": "Oakwood", "StreetSuffix": "Lane", "City": "Phoenix", "State": "AZ", "PostalCode": "85001", "PropertyType": "RES", "Bedrooms": 5, "Bathrooms": 3, "LivingArea": 2800, "LotSize": 10500, "YearBuilt": 2005, "ListingPrice": 780000, "ListingDate": "2024-03-01", "AgentFirstName": "David", "AgentLastName": "Clark", "OfficeName": "Desert Homes"}


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: file
- Set 'original_source_identifier' to: commercial_properties.csv-row-50
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: file
Original Source Identifier: commercial_properties.csv-row-50

Raw Property Data Snippet:
{"Street Address": "123 Industrial Way", "City": "Houston", "State": "TX", "Zip Code": "77001", "Building Size (sqft)": "15000", "Lot Size (Acres)": "2.5", "Sale Price": "$3,000,000", "Property Type": "Industrial", "Agent Name": "Eve Adams"}


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: scrape
- Set 'original_source_identifier' to: https://www.loopnet.com/Listing/Another-Commercial-Prop/654321/
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: scrape
Original Source Identifier: https://www.loopnet.com/Listing/Another-Commercial-Prop/654321/

Raw Property Data Snippet:
{"listing_id": "654321", "property_address": "4 Privet Drive", "property_city": "Little Whinging", "property_state": "Surrey", "property_country": "UK", "building_size_sqft": 4000, "property_type": "Office", "listing_price": "£1,200,000", "contact_agent_name": "Mr. Dursley", "website": "https://www.loopnet.com/Listing/Another-Commercial-Prop/654321/"}


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: file
- Set 'original_source_identifier' to: land_parcels_export.json-record-15
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not null, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: file
Original Source Identifier: land_parcels_export.json-record-15

Raw Property Data Snippet:
{"parcel_id": "LAND456", "location": {"street": "Vacant Land on Hwy 101", "city": "Coastal Town", "state": "OR", "zip": "97365"}, "acres": 5.2, "zoning": "Agricultural", "asking_price": 150000, "listing_contact": {"name": "Agent F", "phone": "503-555-9999"}}


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: api
- Set 'original_source_identifier' to: https://buildersapi.example.org/properties/project-gamma-unit-701
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: api
Original Source Identifier: https://buildersapi.example.org/properties/project-gamma-unit-701

Raw Property Data Snippet:
{"prop_identifier": "project-gamma-unit-701", "project_name": "The Pinnacle Towers", "unit_number": "701", "building_address": "1 Central Ave", "building_city": "Chicago", "building_state": "IL", "building_zip": "60601", "beds": "2", "baths": "2.5", "area_sqft": 1300, "purchase_price": 680000, "status": "Under Contract", "sales_agent": {"first_name": "Gemma", "last_name": "Stone"}}

Unit 701 in The Pinnacle Towers.


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: scrape
- Set 'original_source_identifier' to: https://www.remax.ca/on/toronto/condo-for-sale/mls-11223344/
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: scrape
Original Source Identifier: https://www.remax.ca/on/toronto/condo-for-sale/mls-11223344/

Raw Property Data Snippet:
{"MLS#": "11223344", "Address": "1 Yonge St, Toronto, ON M5E 1W7", "Bedrooms": "1 + 1", "Bathrooms": "1", "Sqft": "600-699", "ListingPrice": "720,000 CAD", "PropertyType": "Condo Apt", "ListingAgent": "Remax Agent", "AgentPhone": "416-555-1111", "Description": "Downtown living at its finest.", "PhotoLinks": ["https://cdn.remax.ca/photo_xyz.jpg"]}

Downtown living at its finest.

Downtown living at its finest.


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: file
- Set 'original_source_identifier' to: rentals_feed_may_2024.json-record-5
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: file
Original Source Identifier: rentals_feed_may_2024.json-record-5

Raw Property Data Snippet:
{"rental_id": "RENT-XYZ123", "address": {"street": "99 Elm Street", "city": "Boston", "state": "MA", "zip": "02108"}, "bedrooms": 0, "bathrooms": 1, "sqft": 450, "monthly_rent": 2000, "lease_start_date": "2024-06-01", "property_type": "Studio Apartment", "contact": {"email": "rentals@bostonapts.com"}, "description": "Cozy studio in Beacon Hill. Heat and hot water included.", "images": ["file:///local/path/to/img1.jpg", "file:///local/path/to/img2.jpg"]}


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: api
- Set 'original_source_identifier' to: https://api.rentalsource.co/property/unit-5b-building-7
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: api
Original Source Identifier: https://api.rentalsource.co/property/unit-5b-building-7

Raw Property Data Snippet:
{"unit_code": "UNIT-5B-B7", "building_address": "400 Garden Lane", "building_city": "Portland", "building_state": "OR", "building_zip": "97201", "type": "Apartment", "bedrooms": 1, "bathrooms": 1, "size_sqft": 680, "monthly_rent": 1650, "date_available": "2024-05-15", "contact": {"email": "leasing@rentalsource.co"}}


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: file
- Set 'original_source_identifier' to: development_land_export.json-record-5
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: file
Original Source Identifier: development_land_export.json-record-5

Raw Property Data Snippet:
{"site_id": "DEVLAND005", "location": {"street": "Future Parkway", "city": "Growthville", "state": "NC", "zip": "27513"}, "size_acres": 10.5, "zoning": "Mixed-Use Development", "list_price": 1200000, "contact": {"name": "Agent K", "brokerage": "Development Land Co."}}


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: scrape
- Set 'original_source_identifier' to: https://www.rightmove.co.uk/properties/property-87654321
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: scrape
Original Source Identifier: https://www.rightmove.co.uk/properties/property-87654321

Raw Property Data Snippet:
{"rightmove_id": "87654321", "address": {"street": "1 The Crescent", "town": "Bath", "county": "Somerset", "postcode": "BA1 2NB"}, "bedrooms": "4", "bathrooms": "3", "property_type": "Semi-Detached", "price": "£750,000", "agent": {"name": "Bath Estates", "telephone": "01225 789012"}, "key_features": ["Garden", "Parking"], "url": "https://www.rightmove.co.uk/properties/property-87654321"}


You are a data mapping assistant. Your task is to map the provided 'Raw Property Data Snippet' to the 'CanonicalRecord Schema Definition'.

RULES:
- Your entire response must be ONLY the mapped JSON object string, conforming strictly to the CanonicalRecord schema.
- Do NOT include any explanatory text before or after the JSON object.
- Set 'original_source_type' to: file
- Set 'original_source_identifier' to: industrial_properties.xlsx-row-12
- Set 'entity_type' to 'RealEstateListing'.
- For the 'raw_source_data' field in the output, include the exact 'Raw Property Data Snippet' you were given.
- Perform necessary data transformations (e.g., string prices to numbers, parse dates, extract address components).
- If information for a canonical field is not present, use `null` or omit optional fields as per the schema.

CanonicalRecord Schema Definition:
{"title": "CanonicalRecord", "type": "object", "properties": {"canonical_record_id": {"type": "string", "description": "Unique identifier for this canonical record.", "examples": ["cre-SOME_UUID"]}, "original_source_identifier": {"type": "string", "description": "Identifier of the original source (e.g., URL, filename + row index)."}, "original_source_type": {"type": "string", "enum": ["api", "file", "scrape"], "description": "Type of the original source adapter ('api', 'file', 'scrape')."}, "entity_type": {"type": "string", "enum": ["RealEstateListing", "NewsArticle", "Other"], "default": "Other", "description": "Classification of the source entity."}, "mapping_model_version": {"type": ["string", "null"], "description": "Version identifier of the ML model used for mapping."}, "mapping_timestamp": {"type": "string", "format": "date-time", "description": "Timestamp (UTC) when the mapping was performed."}, "address": {"title": "Address", "type": ["object", "null"], "properties": {"street_address": {"type": ["string", "null"]}, "city": {"type": ["string", "null"]}, "state_province": {"type": ["string", "null"]}, "postal_code": {"type": ["string", "null"]}, "country": {"type": ["string", "null"], "default": "USA"}}}, "features": {"title": "Features", "type": ["object", "null"], "properties": {"bedrooms": {"type": ["integer", "null"]}, "bathrooms": {"type": ["number", "null"]}, "area_sqft": {"type": ["number", "null"], "description": "Area in square feet."}, "lot_size_sqft": {"type": ["number", "null"], "description": "Lot size in square feet."}, "year_built": {"type": ["integer", "null"]}, "property_type": {"type": ["string", "null"]}, "has_pool": {"type": ["boolean", "null"]}, "has_garage": {"type": ["boolean", "null"]}, "stories": {"type": ["integer", "null"]}}}, "listing": {"title": "Listing Information", "type": ["object", "null"], "properties": {"price": {"type": ["number", "null"]}, "currency": {"type": ["string", "null", "string"], "default": "USD"}, "listing_status": {"type": ["string", "null"]}, "listing_type": {"type": ["string", "null"]}, "listed_date": {"type": ["string", "null", "string"], "format": "date-time"}, "last_updated_date": {"type": ["string", "null", "string"]}, "listing_url": {"type": ["string", "null", "string"]}, "mls_id": {"type": ["string", "null"]}}}, "agent": {"title": "Agent Information", "type": ["object", "null"], "properties": {"name": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "email": {"type": ["string", "null"]}, "brokerage_name": {"type": ["string", "null"]}}}, "description": {"type": ["string", "null"]}, "image_urls": {"type": ["array", "null"], "items": {"type": "string", "format": "uri"}}, "raw_source_data": {"type": ["object", "null"], "description": "Original source data record (JSON representation)."}}, "required": ["original_source_identifier", "original_source_type", "entity_type"]}

Original Source Type: file
Original Source Identifier: industrial_properties.xlsx-row-12

Raw Property Data Snippet:
{"Ref ID": "IND-XL-R12", "Location": "700 Warehouse Rd, Chicago, IL 60608", "Property Type": "Warehouse", "Size (sq ft)": 25000, "Sale Price USD": 2800000, "Year Built": 1995, "Contact Person": "Agent L", "Contact Phone": "312-555-2468"}