{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Location", "title": "Location", "type": "object", "properties": { "id": { "type": "integer", "description": "Unique ID of the location." }, "name": { "type": "string", "description": "Name of the location." }, "address": { "type": "object", "description": "Address of the location.", "properties": { "line1": { "type": "string", "description": "Address line 1." }, "line2": { "type": "string", "description": "Address line 2." }, "city": { "type": "string", "description": "City." }, "state": { "type": "string", "description": "State or province." }, "country": { "type": "string", "description": "Country." }, "zip_code": { "type": "string", "description": "Postal or ZIP code." } } }, "contact": { "type": "object", "description": "Contact information.", "properties": { "name": { "type": "string", "description": "Contact name." }, "phone": { "type": "string", "description": "Contact phone." }, "email": { "type": "string", "format": "email", "description": "Contact email." } } }, "created_at": { "type": "string", "format": "date-time", "description": "Timestamp when created." }, "updated_at": { "type": "string", "format": "date-time", "description": "Timestamp when last updated." } } }