Examples

Complete example files for fictional publishers. Every file validates against the 1.0 schemas. Fetch the raw files from /examples/1.0/.

index-hosted.json – Index file with a narrower license (CC-BY-NC-ND-4.0) that points to a feed file hosted by the publisher's property management system.Raw
{
  "$schema": "https://ledigt.org/schema/1.0/index.schema.json",
  "ledigt": "1.0",
  "publisher": {
    "name": "Exempel Bostäder AB",
    "orgNumber": "556000-0001",
    "website": "https://exempel-bostader.se",
    "email": "uthyrning@exempel-bostader.se",
    "phone": "+4640123400"
  },
  "license": "CC-BY-NC-ND-4.0",
  "feeds": [
    { "category": "residential", "url": "https://flode.exempel-system.se/exempel-bostader/bostad.json", "count": 12, "updated": "2026-11-27T06:00:00+01:00" }
  ]
}
index.json – Index file of a publisher that points to one feed.Raw
{
  "$schema": "https://ledigt.org/schema/1.0/index.schema.json",
  "ledigt": "1.0",
  "publisher": {
    "name": "Exempel Fastigheter AB",
    "orgNumber": "556000-0000",
    "website": "https://exempel-fastigheter.se",
    "email": "uthyrning@exempel-fastigheter.se",
    "phone": "+4640123456",
    "logo": "https://exempel-fastigheter.se/images/logo.png"
  },
  "license": "CC-BY-4.0",
  "registry": true,
  "feeds": [
    { "category": "residential", "url": "https://exempel-fastigheter.se/ledigt/bostad.json", "count": 3, "updated": "2026-11-06T08:00:00+01:00" }
  ]
}
residential.json – Residential feed with an available listing, a reserved one, one with rent on request and a let one (tombstone).Raw
{
  "$schema": "https://ledigt.org/schema/1.0/feed.schema.json",
  "ledigt": "1.0",
  "category": "residential",
  "generated": "2026-11-06T08:00:00+01:00",
  "listings": [
    {
      "id": "lgh-1104",
      "status": "available",
      "published": "2026-11-02",
      "updated": "2026-11-06T07:45:00+01:00",
      "url": "https://exempel-fastigheter.se/lagenhet/1104",
      "applyUrl": "https://exempel-fastigheter.se/lagenhet/1104#ansok",
      "applicationMethod": "selection",
      "applicationDeadline": "2026-11-20",
      "title": "Bright 2-room apartment facing the park",
      "description": "Bright two-room apartment with a glazed balcony facing the park.\nNew kitchen with induction hob and dishwasher. Fully tiled bathroom with washing machine and tumble dryer.",
      "address": { "street": "Parkgatan 12", "postalCode": "214 22", "city": "Malmö", "district": "Möllevången", "country": "SE" },
      "geo": { "lat": 55.5918, "lon": 13.0072 },
      "area": 64,
      "rent": {
        "amount": 10170,
        "currency": "SEK",
        "period": "month",
        "vat": false,
        "utilities": {
          "heating": "included",
          "hotWater": "metered",
          "coldWater": "included",
          "electricity": "separate",
          "internet": "included",
          "waste": "included"
        },
        "extraCosts": [
          { "item": "parking", "amount": 650, "period": "month", "mandatory": false },
          { "item": "hotWater", "amount": 250, "period": "month", "mandatory": true, "estimate": true }
        ]
      },
      "availableFrom": "2026-12-01",
      "building": { "name": "Kv. Parken 3", "yearBuilt": 1931, "energyClass": "D", "elevator": true },
      "media": [
        { "url": "https://exempel-fastigheter.se/images/1104-vardagsrum.jpg", "type": "photo", "caption": "Living room with two windows facing the park", "width": 2400, "height": 1600 },
        { "url": "https://exempel-fastigheter.se/images/1104-kok.jpg", "type": "photo", "caption": "Kitchen with induction hob and dishwasher", "width": 2400, "height": 1600 },
        { "url": "https://exempel-fastigheter.se/images/1104-plan.png", "type": "floorplan", "caption": "Floor plan, 2 rooms, 64 m²" },
        { "url": "https://tours.example.com/1104", "type": "tour360", "caption": "Virtual tour" }
      ],
      "contact": { "name": "Uthyrningen", "email": "uthyrning@exempel-fastigheter.se", "phone": "+4640123456" },
      "viewing": { "date": "2026-11-12T17:00:00+01:00", "required": false, "virtual": false },
      "residential": {
        "rooms": 2,
        "floor": 3,
        "floorsInBuilding": 5,
        "contractType": "firstHand",
        "housingType": "regular",
        "requirements": { "incomeMultiple": 3, "incomeTypes": ["employment", "pension"], "noPaymentRemarks": true },
        "furnished": false,
        "petsAllowed": true,
        "smokingAllowed": false,
        "accessible": false,
        "features": ["balcony", "elevator", "dishwasher", "washingMachine", "tumbleDryer", "securityDoor"],
        "featureNotes": { "balcony": "Glazed, facing south-west" }
      }
    },
    {
      "id": "lgh-2201",
      "status": "reserved",
      "published": "2026-10-20",
      "updated": "2026-11-04",
      "url": "https://exempel-fastigheter.se/lagenhet/2201",
      "applicationMethod": "firstCome",
      "title": "Furnished 1.5-room student apartment",
      "address": { "street": "Skolgatan 4", "city": "Lund" },
      "area": 31,
      "rent": { "amount": 5900, "utilities": { "heating": "included", "electricity": "flatRate", "internet": "included" } },
      "residential": {
        "rooms": 1.5,
        "floor": 0,
        "floorLabel": "Ground floor",
        "contractType": "shortTerm",
        "contractEnd": "2027-06-30",
        "housingType": "student",
        "furnished": true
      }
    },
    {
      "id": "lgh-3302",
      "status": "available",
      "published": "2026-11-05",
      "updated": "2026-11-05T14:30:00+01:00",
      "url": "https://exempel-fastigheter.se/lagenhet/3302",
      "applicationMethod": "contact",
      "title": "3-room apartment in a new building, ready in spring 2027",
      "description": "The building is under construction and the rent is not set yet.\nContact us and we will tell you more.",
      "address": { "street": "Hyllie allé 30", "postalCode": "215 32", "city": "Malmö", "district": "Hyllie", "country": "SE" },
      "geo": { "lat": 55.5632, "lon": 12.9760 },
      "area": 76,
      "rent": { "onRequest": true, "utilities": { "heating": "included", "electricity": "separate" } },
      "availableFrom": "2027-04-01",
      "building": { "name": "Kv. Allén 2", "yearBuilt": 2027, "energyClass": "B", "elevator": true },
      "media": [
        { "url": "https://exempel-fastigheter.se/images/3302-plan.pdf", "type": "floorplan", "caption": "Floor plan, 3 rooms, 76 m²" }
      ],
      "contact": { "name": "Uthyrningen nyproduktion", "email": "nyproduktion@exempel-fastigheter.se", "phone": "+4640123456" },
      "residential": {
        "rooms": 3,
        "floor": 4,
        "floorsInBuilding": 6,
        "contractType": "firstHand",
        "features": ["balcony", "elevator", "dishwasher", "parkingAvailable"],
        "featureNotes": { "parkingAvailable": "Garage under the building" }
      }
    },
    {
      "id": "lgh-0907",
      "status": "let",
      "updated": "2026-11-03T10:12:00+01:00"
    }
  ]
}
small-landlord.json – Index file of a small publisher with the listings inline.Raw
{
  "$schema": "https://ledigt.org/schema/1.0/index.schema.json",
  "ledigt": "1.0",
  "publisher": { "name": "Familjen Exempelsson", "website": "https://exempelsson.se", "email": "hyra@exempelsson.se" },
  "license": "CC-BY-4.0",
  "listings": [
    {
      "id": "1",
      "status": "available",
      "updated": "2026-11-06",
      "url": "https://exempelsson.se/#lagenhet",
      "title": "3 rooms in a small apartment building",
      "address": { "street": "Byvägen 3", "city": "Höör" },
      "area": 78,
      "rent": { "amount": 8400, "utilities": { "heating": "included", "electricity": "separate" } },
      "availableFrom": "2027-01-01",
      "residential": { "rooms": 3, "contractType": "firstHand", "petsAllowed": true }
    }
  ]
}