GET /kore/v1/building/9/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 9,
    "neighborhood": "Aurinkolahti",
    "addresses": [
        {
            "id": 9,
            "location": {
                "coordinates": [
                    25.1481461,
                    60.2023979
                ],
                "type": "Point"
            },
            "street_name_fi": "Villiruusunkuja 4",
            "street_name_sv": "Vildrosgränden 4",
            "zip_code": "00990",
            "municipality_fi": "Helsinki",
            "municipality_sv": "Helsingfors",
            "begin_day": null,
            "begin_month": null,
            "begin_year": 1999,
            "end_day": null,
            "end_month": null,
            "end_year": null,
            "comment": null,
            "approx_begin": false,
            "approx_end": false
        }
    ],
    "schools": [
        {
            "url": "https://api.hel.fi/kore/v1/school_building/8-9/?format=api",
            "id": "8-9",
            "photos": [],
            "school": {
                "url": "https://api.hel.fi/kore/v1/school/8/?format=api",
                "id": 8,
                "names": [
                    {
                        "id": 139,
                        "official_name": "Aurinkolahden peruskoulu",
                        "other_names": null,
                        "begin_day": 4,
                        "begin_month": 6,
                        "begin_year": 2001,
                        "end_day": null,
                        "end_month": null,
                        "end_year": null,
                        "reference": "skj 10.10.2000\r\nskj 10.10.2000",
                        "approx_begin": false,
                        "approx_end": false
                    }
                ],
                "languages": [
                    {
                        "id": 8,
                        "language": "suomi",
                        "begin_year": 2002,
                        "end_year": null,
                        "reference": null,
                        "approx_begin": false,
                        "approx_end": false
                    }
                ],
                "types": [
                    {
                        "id": 19,
                        "type": {
                            "id": 10,
                            "name": "peruskoulu",
                            "description": "Yleissivistävää opetusta antava kunnallinen oppivelvollisuuskoulu. Vuoden 1977 uudistuksessa kansakoulut, kansalaiskoulut ja keskikoulut muutettiin ala- ja yläasteesta koostuvaksi peruskouluiksi. 1999 yhtenäinen ala- ja yläkoulusta koostuva peruskoulu."
                        },
                        "begin_day": 1,
                        "begin_month": 8,
                        "begin_year": 2002,
                        "end_day": null,
                        "end_month": null,
                        "end_year": null,
                        "reference": null,
                        "approx_begin": false,
                        "approx_end": false,
                        "main_school": 8
                    }
                ],
                "fields": [],
                "genders": [
                    {
                        "id": 19,
                        "gender": "tyttö- ja poikakoulu",
                        "begin_day": 1,
                        "begin_month": 8,
                        "begin_year": 2002,
                        "end_day": null,
                        "end_month": null,
                        "end_year": null,
                        "reference": null,
                        "approx_begin": false,
                        "approx_end": false
                    }
                ],
                "grade_counts": [
                    {
                        "id": 19,
                        "number": 9,
                        "begin_day": 1,
                        "begin_month": 8,
                        "begin_year": 2002,
                        "end_day": null,
                        "end_month": null,
                        "end_year": null,
                        "reference": null,
                        "approx_begin": false,
                        "approx_end": false
                    }
                ],
                "buildings": [
                    {
                        "url": "https://api.hel.fi/kore/v1/school_building/8-8/?format=api",
                        "id": "8-8",
                        "building": {
                            "url": "https://api.hel.fi/kore/v1/building/8/?format=api",
                            "id": 8,
                            "neighborhood": "Aurinkolahti",
                            "addresses": [
                                {
                                    "id": 8,
                                    "location": {
                                        "coordinates": [
                                            25.1452472,
                                            60.2033525
                                        ],
                                        "type": "Point"
                                    },
                                    "street_name_fi": "Iiluodonpiha 1",
                                    "street_name_sv": "Iglogården 1",
                                    "zip_code": "00990",
                                    "municipality_fi": "Helsinki",
                                    "municipality_sv": "Helsingfors",
                                    "begin_day": null,
                                    "begin_month": null,
                                    "begin_year": 1999,
                                    "end_day": null,
                                    "end_month": null,
                                    "end_year": null,
                                    "comment": null,
                                    "approx_begin": false,
                                    "approx_end": false
                                }
                            ],
                            "construction_year": 2002,
                            "architect": null,
                            "architect_firm": null,
                            "property_number": null,
                            "sliced": false,
                            "comment": "Aurinkolahden peruskoulu, pääkoulu",
                            "reference": null,
                            "approx": false,
                            "owners": [],
                            "photos": []
                        },
                        "photos": [],
                        "approx_begin": false,
                        "approx_end": false,
                        "begin_day": 5,
                        "begin_month": 6,
                        "begin_year": 2002,
                        "end_day": null,
                        "end_month": null,
                        "end_year": null,
                        "ownership": true,
                        "reference": "skj 10.10.2000, aloitus 2002, Aurinkolahden pääkoulu"
                    },
                    {
                        "url": "https://api.hel.fi/kore/v1/school_building/8-9/?format=api",
                        "id": "8-9",
                        "building": {
                            "url": "https://api.hel.fi/kore/v1/building/9/?format=api",
                            "id": 9,
                            "neighborhood": "Aurinkolahti",
                            "addresses": [
                                {
                                    "id": 9,
                                    "location": {
                                        "coordinates": [
                                            25.1481461,
                                            60.2023979
                                        ],
                                        "type": "Point"
                                    },
                                    "street_name_fi": "Villiruusunkuja 4",
                                    "street_name_sv": "Vildrosgränden 4",
                                    "zip_code": "00990",
                                    "municipality_fi": "Helsinki",
                                    "municipality_sv": "Helsingfors",
                                    "begin_day": null,
                                    "begin_month": null,
                                    "begin_year": 1999,
                                    "end_day": null,
                                    "end_month": null,
                                    "end_year": null,
                                    "comment": null,
                                    "approx_begin": false,
                                    "approx_end": false
                                }
                            ],
                            "construction_year": 2001,
                            "architect": null,
                            "architect_firm": null,
                            "property_number": null,
                            "sliced": false,
                            "comment": "Aurinkolahden sivukoulu",
                            "reference": null,
                            "approx": false,
                            "owners": [],
                            "photos": []
                        },
                        "photos": [],
                        "approx_begin": false,
                        "approx_end": false,
                        "begin_day": 4,
                        "begin_month": 6,
                        "begin_year": 2001,
                        "end_day": null,
                        "end_month": null,
                        "end_year": null,
                        "ownership": true,
                        "reference": "skj 10.10.200, aloitus 2001, varmista vielä päivä"
                    },
                    {
                        "url": "https://api.hel.fi/kore/v1/school_building/8-444/?format=api",
                        "id": "8-444",
                        "building": {
                            "url": "https://api.hel.fi/kore/v1/building/444/?format=api",
                            "id": 444,
                            "neighborhood": "Vuosaari",
                            "addresses": [
                                {
                                    "id": 521,
                                    "location": {
                                        "coordinates": [
                                            25.1575162,
                                            60.2048554
                                        ],
                                        "type": "Point"
                                    },
                                    "street_name_fi": "Aurinkotuulenkatu 11",
                                    "street_name_sv": "Solvidsgatan 11",
                                    "zip_code": "00990",
                                    "municipality_fi": "Helsinki",
                                    "municipality_sv": "Helsingfors",
                                    "begin_day": null,
                                    "begin_month": null,
                                    "begin_year": 2002,
                                    "end_day": null,
                                    "end_month": null,
                                    "end_year": null,
                                    "comment": null,
                                    "approx_begin": false,
                                    "approx_end": false
                                }
                            ],
                            "construction_year": null,
                            "architect": null,
                            "architect_firm": null,
                            "property_number": null,
                            "sliced": false,
                            "comment": "Aurinkolahden sivukoulu",
                            "reference": null,
                            "approx": false,
                            "owners": [],
                            "photos": []
                        },
                        "photos": [],
                        "approx_begin": false,
                        "approx_end": false,
                        "begin_day": null,
                        "begin_month": null,
                        "begin_year": 2012,
                        "end_day": null,
                        "end_month": null,
                        "end_year": null,
                        "ownership": true,
                        "reference": null
                    }
                ],
                "owners": [
                    {
                        "id": 12,
                        "owner": {
                            "id": 1,
                            "type": "kunta",
                            "name": "Helsingin kaupunki"
                        },
                        "begin_day": null,
                        "begin_month": null,
                        "begin_year": 2002,
                        "end_day": null,
                        "end_month": null,
                        "end_year": null,
                        "reference": null,
                        "approx_begin": false,
                        "approx_end": false
                    }
                ],
                "founders": [
                    {
                        "id": 8,
                        "founder": {
                            "id": 1,
                            "type": "kunta",
                            "name": "Helsingin kaupunki"
                        },
                        "reference": null
                    }
                ],
                "principals": [],
                "special_features": null,
                "wartime_school": false,
                "nicknames": "Aurinkokoulu",
                "checked": false,
                "archives": [
                    {
                        "url": null,
                        "data_type": {
                            "id": 1,
                            "name": "arkistoaineisto"
                        },
                        "location": "Koulu",
                        "begin_year": 2001,
                        "end_year": null,
                        "arkiston_nimi": "Aurinkolahden peruskoulu",
                        "school": 8,
                        "name": 139
                    }
                ],
                "lifecycle_event": [
                    {
                        "description": "koulun perustaminen",
                        "day": 4,
                        "month": 6,
                        "year": 2001,
                        "decisionmaker": "skj",
                        "additional_info": null
                    },
                    {
                        "description": "koulutoiminan aloittaminen",
                        "day": 1,
                        "month": 8,
                        "year": 2002,
                        "decisionmaker": null,
                        "additional_info": null
                    }
                ],
                "continuum_active": [],
                "continuum_target": []
            },
            "approx_begin": false,
            "approx_end": false,
            "begin_day": 4,
            "begin_month": 6,
            "begin_year": 2001,
            "end_day": null,
            "end_month": null,
            "end_year": null,
            "ownership": true,
            "reference": "skj 10.10.200, aloitus 2001, varmista vielä päivä"
        }
    ],
    "construction_year": 2001,
    "architect": null,
    "architect_firm": null,
    "property_number": null,
    "sliced": false,
    "comment": "Aurinkolahden sivukoulu",
    "reference": null,
    "approx": false
}