---
title: "PropertyInput"
url: "https://real-estate-agency.apim.eu/apis/property-management/versions/0192f0a1-654d-4abd-aa88-6716d49df69f/schemas/PropertyInput"
---

> Full API specification: https://real-estate-agency.apim.eu/apis/property-management/versions/0192f0a1-654d-4abd-aa88-6716d49df69f.md

# PropertyInput

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Property Management
  version: 1.0.0
servers:
  - url: https://api.realestateagency.example/v1
    description: Production
  - url: https://sandbox.api.realestateagency.example/v1
    description: Sandbox
components:
  schemas:
    PropertyType:
      type: string
      enum:
        - apartment
        - house
        - land
        - commercial
        - parking
      example: apartment
    Address:
      type: object
      required:
        - postal_code
        - city
      properties:
        street:
          type: string
          example: 148 Elm Street
        postal_code:
          type: string
          pattern: ^[0-9]{5}$
          example: "10001"
        city:
          type: string
          example: Springfield
        country:
          type: string
          default: US
        location_precision:
          type: string
          description: Controls how precisely the address appears in the listing.
          enum:
            - exact
            - street
            - neighborhood
          default: street
    EnergyCertificate:
      type: object
      description: Figures needed to publish a listing.
      properties:
        type:
          type: string
          enum:
            - consumption
            - demand
        final_energy_demand_kwh:
          type: number
          format: float
          example: 118.4
        energy_source:
          type: string
          example: district_heating
        system_year:
          type: integer
          example: 1998
        efficiency_class:
          type: string
          enum:
            - A+
            - A
            - B
            - C
            - D
            - E
            - F
            - G
            - H
        valid_until:
          type: string
          format: date
          example: 2031-04-30
        exemption:
          type: string
          description: Set when no certificate is legally required.
          enum:
            - heritage_protection
            - small_building
    Commission:
      type: object
      properties:
        buyer_percent:
          type: number
          format: float
          example: 3.57
        seller_percent:
          type: number
          format: float
          example: 3.57
        note:
          type: string
          example: includes applicable sales tax
    PropertyInput:
      type: object
      required:
        - type
        - title
        - address
      properties:
        type:
          $ref: "#/components/schemas/PropertyType"
        title:
          type: string
          maxLength: 120
          example: 3-Bedroom Period Home near Riverside Park
        description:
          type: string
          example: Well-maintained period apartment on the second floor with two
            south-facing balconies.
        address:
          $ref: "#/components/schemas/Address"
        living_area_sqm:
          type: number
          format: float
          example: 86.5
        lot_size_sqm:
          type: number
          format: float
          example: 412
        rooms:
          type: number
          format: float
          example: 3
        year_built:
          type: integer
          example: 1908
        floor:
          type: integer
          example: 2
        purchase_price_eur:
          type: integer
          example: 645000
        cold_rent_eur:
          type: integer
          example: 1450
        service_charges_eur:
          type: integer
          example: 280
        available_from:
          type: string
          format: date
          example: 2026-11-01
        energy_certificate:
          $ref: "#/components/schemas/EnergyCertificate"
        commission:
          $ref: "#/components/schemas/Commission"
```
