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

{
    "url": "https://api.hel.fi/kore/v1/school_building/4-5/?format=api",
    "id": "4-5",
    "building": {
        "url": "https://api.hel.fi/kore/v1/building/5/?format=api",
        "id": 5,
        "neighborhood": "Alppila",
        "addresses": [
            {
                "id": 5,
                "location": {
                    "coordinates": [
                        24.9390006,
                        60.1922167
                    ],
                    "type": "Point"
                },
                "street_name_fi": "Tammisaarenkatu 2",
                "street_name_sv": "Ekenäsgatan 2",
                "zip_code": "00510",
                "municipality_fi": "Helsinki",
                "municipality_sv": "Helsingfors",
                "begin_day": null,
                "begin_month": null,
                "begin_year": 1907,
                "end_day": null,
                "end_month": null,
                "end_year": null,
                "comment": null,
                "approx_begin": false,
                "approx_end": false
            },
            {
                "id": 681,
                "location": {
                    "coordinates": [
                        24.9390006,
                        60.1922167
                    ],
                    "type": "Point"
                },
                "street_name_fi": "Viipurinkatu 21",
                "street_name_sv": "Viborgsgatan 21",
                "zip_code": "00510",
                "municipality_fi": "Helsinki",
                "municipality_sv": "Helsingfors",
                "begin_day": null,
                "begin_month": null,
                "begin_year": 1901,
                "end_day": null,
                "end_month": null,
                "end_year": null,
                "comment": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "construction_year": 1959,
        "architect": "Helmi Pekkala-Väinölä",
        "architect_firm": null,
        "property_number": null,
        "sliced": false,
        "comment": "Alppila, toinen käyntiosoite Viipurinkatu 21 (lukio)",
        "reference": "Opintiellä",
        "approx": false,
        "owners": [
            {
                "id": 4,
                "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": 5,
                "owner": {
                    "id": 3,
                    "type": "valtio",
                    "name": "Suomen valtio"
                },
                "begin_day": null,
                "begin_month": null,
                "begin_year": 1959,
                "end_day": 31,
                "end_month": 7,
                "end_year": 1977,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "photos": []
    },
    "photos": [],
    "school": {
        "url": "https://api.hel.fi/kore/v1/school/4/?format=api",
        "id": 4,
        "names": [
            {
                "id": 108,
                "official_name": "Alppilan lukio",
                "other_names": null,
                "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
            }
        ],
        "languages": [
            {
                "id": 4,
                "language": "suomi",
                "begin_year": 1977,
                "end_year": null,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "types": [
            {
                "id": 14,
                "type": {
                    "id": 11,
                    "name": "lukio",
                    "description": "Peruskoulun jälkeen suoritettava yleissivistävä koulu, jonka päätteeksi suoritetaan valtakunnallinen ylioppilastutkinto. Antaa valmiuden hakea korkeakouluun. Ennen vuotta 1977 lukiolla tarkoitettiin oppikoulun kolmea ylintä luokkaa."
                },
                "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,
                "main_school": 4
            }
        ],
        "fields": [],
        "genders": [
            {
                "id": 24,
                "gender": "tyttö- ja poikakoulu",
                "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
            }
        ],
        "grade_counts": [
            {
                "id": 24,
                "number": 3,
                "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
            }
        ],
        "buildings": [
            {
                "url": "https://api.hel.fi/kore/v1/school_building/4-5/?format=api",
                "id": "4-5",
                "building": {
                    "url": "https://api.hel.fi/kore/v1/building/5/?format=api",
                    "id": 5,
                    "neighborhood": "Alppila",
                    "addresses": [
                        {
                            "id": 5,
                            "location": {
                                "coordinates": [
                                    24.9390006,
                                    60.1922167
                                ],
                                "type": "Point"
                            },
                            "street_name_fi": "Tammisaarenkatu 2",
                            "street_name_sv": "Ekenäsgatan 2",
                            "zip_code": "00510",
                            "municipality_fi": "Helsinki",
                            "municipality_sv": "Helsingfors",
                            "begin_day": null,
                            "begin_month": null,
                            "begin_year": 1907,
                            "end_day": null,
                            "end_month": null,
                            "end_year": null,
                            "comment": null,
                            "approx_begin": false,
                            "approx_end": false
                        },
                        {
                            "id": 681,
                            "location": {
                                "coordinates": [
                                    24.9390006,
                                    60.1922167
                                ],
                                "type": "Point"
                            },
                            "street_name_fi": "Viipurinkatu 21",
                            "street_name_sv": "Viborgsgatan 21",
                            "zip_code": "00510",
                            "municipality_fi": "Helsinki",
                            "municipality_sv": "Helsingfors",
                            "begin_day": null,
                            "begin_month": null,
                            "begin_year": 1901,
                            "end_day": null,
                            "end_month": null,
                            "end_year": null,
                            "comment": null,
                            "approx_begin": false,
                            "approx_end": false
                        }
                    ],
                    "construction_year": 1959,
                    "architect": "Helmi Pekkala-Väinölä",
                    "architect_firm": null,
                    "property_number": null,
                    "sliced": false,
                    "comment": "Alppila, toinen käyntiosoite Viipurinkatu 21 (lukio)",
                    "reference": "Opintiellä",
                    "approx": false,
                    "owners": [
                        {
                            "id": 4,
                            "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": 5,
                            "owner": {
                                "id": 3,
                                "type": "valtio",
                                "name": "Suomen valtio"
                            },
                            "begin_day": null,
                            "begin_month": null,
                            "begin_year": 1959,
                            "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": null,
                "end_month": null,
                "end_year": null,
                "ownership": true,
                "reference": null
            }
        ],
        "owners": [
            {
                "id": 6,
                "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
            }
        ],
        "founders": [
            {
                "id": 4,
                "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": null,
                "arkiston_nimi": "Alppilan lukio",
                "school": 4,
                "name": 108
            }
        ],
        "lifecycle_event": [
            {
                "description": "koulun perustaminen",
                "day": 1,
                "month": 8,
                "year": 1977,
                "decisionmaker": null,
                "additional_info": null
            }
        ],
        "continuum_active": [],
        "continuum_target": [
            {
                "active_school": {
                    "url": "https://api.hel.fi/kore/v1/school/326/?format=api",
                    "id": 326,
                    "names": [
                        {
                            "id": 454,
                            "official_name": "Alppilan yhteislyseo",
                            "other_names": null,
                            "begin_day": 20,
                            "begin_month": 3,
                            "begin_year": 1959,
                            "end_day": 31,
                            "end_month": 7,
                            "end_year": 1977,
                            "reference": "20.3.1959/",
                            "approx_begin": false,
                            "approx_end": false
                        }
                    ]
                },
                "description": "separates from",
                "target_school": "https://api.hel.fi/kore/v1/school/4/?format=api",
                "day": 1,
                "month": 8,
                "year": 1977,
                "reference": null
            }
        ]
    },
    "approx_begin": false,
    "approx_end": false,
    "begin_day": 1,
    "begin_month": 8,
    "begin_year": 1977,
    "end_day": null,
    "end_month": null,
    "end_year": null,
    "ownership": true,
    "reference": null
}