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

{
    "url": "https://api.hel.fi/kore/v1/school_building/195-1/?format=api",
    "id": "195-1",
    "building": {
        "url": "https://api.hel.fi/kore/v1/building/1/?format=api",
        "id": 1,
        "neighborhood": "Käpylä",
        "addresses": [
            {
                "id": 1,
                "location": {
                    "coordinates": [
                        24.9460372,
                        60.2102334
                    ],
                    "type": "Point"
                },
                "street_name_fi": "Mäkelänkatu 93",
                "street_name_sv": "Backasgatan 93",
                "zip_code": "00610",
                "municipality_fi": "Helsinki",
                "municipality_sv": "Helsingfors",
                "begin_day": null,
                "begin_month": null,
                "begin_year": 1928,
                "end_day": null,
                "end_month": null,
                "end_year": null,
                "comment": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "construction_year": 1955,
        "architect": "Martti Melakari",
        "architect_firm": "Rakennushallitus",
        "property_number": null,
        "sliced": false,
        "comment": "Hykkylä",
        "reference": "Opintiellä",
        "approx": false,
        "owners": [
            {
                "id": 1,
                "owner": {
                    "id": 3,
                    "type": "valtio",
                    "name": "Suomen valtio"
                },
                "begin_day": null,
                "begin_month": null,
                "begin_year": 1955,
                "end_day": 31,
                "end_month": 7,
                "end_year": 1977,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "photos": [
            {
                "id": 199,
                "url": "https://hkm.finna.fi/Cover/Show?id=hkm.HKMS000005%3A0000050s&w=1200&h=1200",
                "is_front": true
            },
            {
                "id": 73,
                "url": "https://hkm.finna.fi/Cover/Show?id=hkm.HKMS000005%3A0000050s&w=1200&h=1200",
                "is_front": true
            }
        ]
    },
    "photos": [],
    "school": {
        "url": "https://api.hel.fi/kore/v1/school/195/?format=api",
        "id": 195,
        "names": [
            {
                "id": 208,
                "official_name": "Hykkylän yläasteen koulu",
                "other_names": null,
                "begin_day": 1,
                "begin_month": 8,
                "begin_year": 1977,
                "end_day": 31,
                "end_month": 7,
                "end_year": 1989,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            },
            {
                "id": 209,
                "official_name": "Käpylän yläasteen koulu",
                "other_names": null,
                "begin_day": 1,
                "begin_month": 8,
                "begin_year": 1989,
                "end_day": 31,
                "end_month": 7,
                "end_year": 2006,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "languages": [
            {
                "id": 165,
                "language": "suomi",
                "begin_year": 1977,
                "end_year": 2006,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "types": [
            {
                "id": 438,
                "type": {
                    "id": 9,
                    "name": "yläaste",
                    "description": "1977-1999, Peruskoulun 7-9 luokka. Peruskoulu-uudistuksessa keskikoulut ja kansalaiskoulut muutettiin peruskoulun yläasteiksi.  Vuodesta 1999 lähtien virallinen termi on yläkoulu, mutta myös muotoa peruskoulun yläasteen koulu käytetään."
                },
                "begin_day": 1,
                "begin_month": 8,
                "begin_year": 1977,
                "end_day": 31,
                "end_month": 7,
                "end_year": 2006,
                "reference": null,
                "approx_begin": false,
                "approx_end": false,
                "main_school": 195
            }
        ],
        "fields": [],
        "genders": [
            {
                "id": 17,
                "gender": "tyttö- ja poikakoulu",
                "begin_day": 1,
                "begin_month": 8,
                "begin_year": 1977,
                "end_day": 31,
                "end_month": 7,
                "end_year": 2006,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "grade_counts": [
            {
                "id": 17,
                "number": 3,
                "begin_day": 1,
                "begin_month": 8,
                "begin_year": 1977,
                "end_day": 31,
                "end_month": 7,
                "end_year": 2006,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "buildings": [
            {
                "url": "https://api.hel.fi/kore/v1/school_building/195-1/?format=api",
                "id": "195-1",
                "building": {
                    "url": "https://api.hel.fi/kore/v1/building/1/?format=api",
                    "id": 1,
                    "neighborhood": "Käpylä",
                    "addresses": [
                        {
                            "id": 1,
                            "location": {
                                "coordinates": [
                                    24.9460372,
                                    60.2102334
                                ],
                                "type": "Point"
                            },
                            "street_name_fi": "Mäkelänkatu 93",
                            "street_name_sv": "Backasgatan 93",
                            "zip_code": "00610",
                            "municipality_fi": "Helsinki",
                            "municipality_sv": "Helsingfors",
                            "begin_day": null,
                            "begin_month": null,
                            "begin_year": 1928,
                            "end_day": null,
                            "end_month": null,
                            "end_year": null,
                            "comment": null,
                            "approx_begin": false,
                            "approx_end": false
                        }
                    ],
                    "construction_year": 1955,
                    "architect": "Martti Melakari",
                    "architect_firm": "Rakennushallitus",
                    "property_number": null,
                    "sliced": false,
                    "comment": "Hykkylä",
                    "reference": "Opintiellä",
                    "approx": false,
                    "owners": [
                        {
                            "id": 1,
                            "owner": {
                                "id": 3,
                                "type": "valtio",
                                "name": "Suomen valtio"
                            },
                            "begin_day": null,
                            "begin_month": null,
                            "begin_year": 1955,
                            "end_day": 31,
                            "end_month": 7,
                            "end_year": 1977,
                            "reference": null,
                            "approx_begin": false,
                            "approx_end": false
                        }
                    ],
                    "photos": [
                        {
                            "id": 199,
                            "url": "https://hkm.finna.fi/Cover/Show?id=hkm.HKMS000005%3A0000050s&w=1200&h=1200",
                            "is_front": true
                        },
                        {
                            "id": 73,
                            "url": "https://hkm.finna.fi/Cover/Show?id=hkm.HKMS000005%3A0000050s&w=1200&h=1200",
                            "is_front": true
                        }
                    ]
                },
                "photos": [],
                "approx_begin": false,
                "approx_end": false,
                "begin_day": 1,
                "begin_month": 8,
                "begin_year": 1977,
                "end_day": 31,
                "end_month": 7,
                "end_year": 2006,
                "ownership": true,
                "reference": null
            },
            {
                "url": "https://api.hel.fi/kore/v1/school_building/195-206/?format=api",
                "id": "195-206",
                "building": {
                    "url": "https://api.hel.fi/kore/v1/building/206/?format=api",
                    "id": 206,
                    "neighborhood": "Käpylä",
                    "addresses": [
                        {
                            "id": 205,
                            "location": {
                                "coordinates": [
                                    24.9563588,
                                    60.2198857
                                ],
                                "type": "Point"
                            },
                            "street_name_fi": "Onnentie 18",
                            "street_name_sv": "Lyckovägen 18",
                            "zip_code": "00600",
                            "municipality_fi": "Helsinki",
                            "municipality_sv": "Helsingfors",
                            "begin_day": null,
                            "begin_month": null,
                            "begin_year": 1923,
                            "end_day": null,
                            "end_month": null,
                            "end_year": null,
                            "comment": null,
                            "approx_begin": false,
                            "approx_end": false
                        }
                    ],
                    "construction_year": 1942,
                    "architect": "Uno Moberg",
                    "architect_firm": null,
                    "property_number": null,
                    "sliced": false,
                    "comment": "Käpylän yhteiskoulu",
                    "reference": null,
                    "approx": false,
                    "owners": [
                        {
                            "id": 186,
                            "owner": {
                                "id": 1,
                                "type": "kunta",
                                "name": "Helsingin kaupunki"
                            },
                            "begin_day": 1,
                            "begin_month": 8,
                            "begin_year": 1977,
                            "end_day": null,
                            "end_month": null,
                            "end_year": null,
                            "reference": null,
                            "approx_begin": false,
                            "approx_end": false
                        },
                        {
                            "id": 187,
                            "owner": {
                                "id": 8,
                                "type": "osakeyhtiö",
                                "name": "Käpylän yhteiskoulun talo o.y."
                            },
                            "begin_day": null,
                            "begin_month": null,
                            "begin_year": 1942,
                            "end_day": 31,
                            "end_month": 7,
                            "end_year": 1977,
                            "reference": null,
                            "approx_begin": false,
                            "approx_end": false
                        }
                    ],
                    "photos": []
                },
                "photos": [],
                "approx_begin": false,
                "approx_end": false,
                "begin_day": 1,
                "begin_month": 8,
                "begin_year": 1977,
                "end_day": 31,
                "end_month": 7,
                "end_year": 1979,
                "ownership": true,
                "reference": null
            }
        ],
        "owners": [
            {
                "id": 261,
                "owner": {
                    "id": 1,
                    "type": "kunta",
                    "name": "Helsingin kaupunki"
                },
                "begin_day": 1,
                "begin_month": 8,
                "begin_year": 1977,
                "end_day": 31,
                "end_month": 7,
                "end_year": 2006,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "founders": [
            {
                "id": 196,
                "founder": {
                    "id": 1,
                    "type": "kunta",
                    "name": "Helsingin kaupunki"
                },
                "reference": null
            }
        ],
        "principals": [],
        "special_features": null,
        "wartime_school": false,
        "nicknames": null,
        "checked": true,
        "archives": [
            {
                "url": null,
                "data_type": {
                    "id": 1,
                    "name": "arkistoaineisto"
                },
                "location": "Koulu",
                "begin_year": 1977,
                "end_year": 2006,
                "arkiston_nimi": "Käpylän yläasteen koulu",
                "school": 195,
                "name": 255
            }
        ],
        "lifecycle_event": [
            {
                "description": "koulun yhdistäminen toiseen kouluun",
                "day": 31,
                "month": 7,
                "year": 2006,
                "decisionmaker": null,
                "additional_info": null
            },
            {
                "description": "koulun perustaminen",
                "day": 1,
                "month": 8,
                "year": 1977,
                "decisionmaker": null,
                "additional_info": null
            }
        ],
        "continuum_active": [
            {
                "active_school": "https://api.hel.fi/kore/v1/school/195/?format=api",
                "description": "joins",
                "target_school": {
                    "url": "https://api.hel.fi/kore/v1/school/83/?format=api",
                    "id": 83,
                    "names": [
                        {
                            "id": 147,
                            "official_name": "Käpylän peruskoulu",
                            "other_names": null,
                            "begin_day": 1,
                            "begin_month": 8,
                            "begin_year": 2006,
                            "end_day": null,
                            "end_month": null,
                            "end_year": null,
                            "reference": "Kvsto 22.6.2005",
                            "approx_begin": false,
                            "approx_end": false
                        }
                    ]
                },
                "day": 1,
                "month": 8,
                "year": 2006,
                "reference": "Kvsto 22.6.2005"
            }
        ],
        "continuum_target": [
            {
                "active_school": {
                    "url": "https://api.hel.fi/kore/v1/school/194/?format=api",
                    "id": 194,
                    "names": [
                        {
                            "id": 198,
                            "official_name": "Viipurin reaalikoulu",
                            "other_names": null,
                            "begin_day": 1,
                            "begin_month": 9,
                            "begin_year": 1874,
                            "end_day": null,
                            "end_month": null,
                            "end_year": 1884,
                            "reference": null,
                            "approx_begin": false,
                            "approx_end": false
                        },
                        {
                            "id": 199,
                            "official_name": "Viipurin alkeiskoulu",
                            "other_names": null,
                            "begin_day": null,
                            "begin_month": null,
                            "begin_year": 1884,
                            "end_day": 31,
                            "end_month": 8,
                            "end_year": 1891,
                            "reference": "Asetus 28/23.8.1883",
                            "approx_begin": false,
                            "approx_end": false
                        },
                        {
                            "id": 200,
                            "official_name": "Viipurin suomalainen realilyseo",
                            "other_names": null,
                            "begin_day": 1,
                            "begin_month": 9,
                            "begin_year": 1891,
                            "end_day": 10,
                            "end_month": 9,
                            "end_year": 1914,
                            "reference": null,
                            "approx_begin": false,
                            "approx_end": false
                        },
                        {
                            "id": 201,
                            "official_name": "Viipurin suomalainen lyseo",
                            "other_names": null,
                            "begin_day": 11,
                            "begin_month": 9,
                            "begin_year": 1914,
                            "end_day": 31,
                            "end_month": 8,
                            "end_year": 1930,
                            "reference": null,
                            "approx_begin": false,
                            "approx_end": false
                        },
                        {
                            "id": 202,
                            "official_name": "Viipurin kaksoislyseo",
                            "other_names": null,
                            "begin_day": 1,
                            "begin_month": 9,
                            "begin_year": 1930,
                            "end_day": null,
                            "end_month": null,
                            "end_year": 1940,
                            "reference": "SäädK 123/1930",
                            "approx_begin": false,
                            "approx_end": false
                        },
                        {
                            "id": 203,
                            "official_name": "Viipurin kaksoisyhteislyseo",
                            "other_names": null,
                            "begin_day": null,
                            "begin_month": null,
                            "begin_year": 1940,
                            "end_day": null,
                            "end_month": null,
                            "end_year": 1942,
                            "reference": "SäädK 396/1940",
                            "approx_begin": false,
                            "approx_end": false
                        },
                        {
                            "id": 204,
                            "official_name": "Viipurin kaksoislyseo",
                            "other_names": null,
                            "begin_day": null,
                            "begin_month": null,
                            "begin_year": 1942,
                            "end_day": 31,
                            "end_month": 10,
                            "end_year": 1944,
                            "reference": null,
                            "approx_begin": false,
                            "approx_end": false
                        },
                        {
                            "id": 205,
                            "official_name": "Viipurin kaksoisyhteislyseo",
                            "other_names": null,
                            "begin_day": 1,
                            "begin_month": 11,
                            "begin_year": 1944,
                            "end_day": 5,
                            "end_month": 4,
                            "end_year": 1945,
                            "reference": "SäädK 747/1944",
                            "approx_begin": false,
                            "approx_end": false
                        },
                        {
                            "id": 206,
                            "official_name": "Helsingin kaksoisyhteislyseo",
                            "other_names": null,
                            "begin_day": 6,
                            "begin_month": 4,
                            "begin_year": 1945,
                            "end_day": 31,
                            "end_month": 7,
                            "end_year": 1977,
                            "reference": "SäädK 312/1945",
                            "approx_begin": false,
                            "approx_end": false
                        }
                    ]
                },
                "description": "separates from",
                "target_school": "https://api.hel.fi/kore/v1/school/195/?format=api",
                "day": 1,
                "month": 8,
                "year": 1977,
                "reference": null
            },
            {
                "active_school": {
                    "url": "https://api.hel.fi/kore/v1/school/239/?format=api",
                    "id": 239,
                    "names": [
                        {
                            "id": 255,
                            "official_name": "Käpylän yläasteen koulu",
                            "other_names": null,
                            "begin_day": 1,
                            "begin_month": 8,
                            "begin_year": 1979,
                            "end_day": 31,
                            "end_month": 7,
                            "end_year": 1987,
                            "reference": null,
                            "approx_begin": false,
                            "approx_end": false
                        }
                    ]
                },
                "description": "joins",
                "target_school": "https://api.hel.fi/kore/v1/school/195/?format=api",
                "day": 1,
                "month": 8,
                "year": 1987,
                "reference": null
            }
        ]
    },
    "approx_begin": false,
    "approx_end": false,
    "begin_day": 1,
    "begin_month": 8,
    "begin_year": 1977,
    "end_day": 31,
    "end_month": 7,
    "end_year": 2006,
    "ownership": true,
    "reference": null
}