GET /kore/v1/school_building/326-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/326-5/?format=api",
    "id": "326-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/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
            }
        ],
        "languages": [
            {
                "id": 227,
                "language": "suomi",
                "begin_year": 1959,
                "end_year": 1977,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "types": [
            {
                "id": 583,
                "type": {
                    "id": 7,
                    "name": "lyseo",
                    "description": "Yliopistoon johtava yleensä valtion oppikoulu. Lyseo koostui 5. keskikoulu- ja 3. lukioluokasta, tosin tyttölyseoissa oli 6 keskikoululuokkaa.  Nykyään termiä käytetään 1977 peruskoulu-uudistuksessa yläasteiksi ja lukioiksi muutettujen lyseoiden nimissä."
                },
                "begin_day": 20,
                "begin_month": 3,
                "begin_year": 1959,
                "end_day": 31,
                "end_month": 7,
                "end_year": 1977,
                "reference": null,
                "approx_begin": false,
                "approx_end": false,
                "main_school": 326
            }
        ],
        "fields": [],
        "genders": [
            {
                "id": 23,
                "gender": "tyttö- ja poikakoulu",
                "begin_day": 20,
                "begin_month": 3,
                "begin_year": 1959,
                "end_day": 31,
                "end_month": 7,
                "end_year": 1977,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "grade_counts": [
            {
                "id": 23,
                "number": 8,
                "begin_day": 20,
                "begin_month": 3,
                "begin_year": 1959,
                "end_day": 31,
                "end_month": 7,
                "end_year": 1977,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "buildings": [
            {
                "url": "https://api.hel.fi/kore/v1/school_building/326-5/?format=api",
                "id": "326-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": 5,
                "begin_month": 9,
                "begin_year": 1959,
                "end_day": 31,
                "end_month": 7,
                "end_year": 1977,
                "ownership": true,
                "reference": null
            }
        ],
        "owners": [
            {
                "id": 349,
                "owner": {
                    "id": 3,
                    "type": "valtio",
                    "name": "Suomen valtio"
                },
                "begin_day": 20,
                "begin_month": 3,
                "begin_year": 1959,
                "end_day": 31,
                "end_month": 7,
                "end_year": 1977,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "founders": [
            {
                "id": 269,
                "founder": {
                    "id": 3,
                    "type": "valtio",
                    "name": "Suomen valtio"
                },
                "reference": null
            }
        ],
        "principals": [],
        "special_features": "Valtion kokeilukoulu",
        "wartime_school": false,
        "nicknames": null,
        "checked": false,
        "archives": [
            {
                "url": "https://www.finna.fi/Record/narc.VAKKA-115001.KA",
                "data_type": {
                    "id": 1,
                    "name": "arkistoaineisto"
                },
                "location": "Kansallisarkisto",
                "begin_year": 1959,
                "end_year": 1977,
                "arkiston_nimi": "Alppilan yhteislyseon arkisto",
                "school": 326,
                "name": 454
            }
        ],
        "lifecycle_event": [
            {
                "description": "ensimmäiset ylioppilaat",
                "day": null,
                "month": null,
                "year": 1962,
                "decisionmaker": null,
                "additional_info": null
            },
            {
                "description": "koulun lopettaminen",
                "day": 31,
                "month": 7,
                "year": 1977,
                "decisionmaker": null,
                "additional_info": null
            },
            {
                "description": "koulun perustaminen",
                "day": 20,
                "month": 3,
                "year": 1959,
                "decisionmaker": null,
                "additional_info": null
            }
        ],
        "continuum_active": [
            {
                "active_school": "https://api.hel.fi/kore/v1/school/326/?format=api",
                "description": "separates from",
                "target_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
                        }
                    ]
                },
                "day": 1,
                "month": 8,
                "year": 1977,
                "reference": null
            },
            {
                "active_school": "https://api.hel.fi/kore/v1/school/326/?format=api",
                "description": "separates from",
                "target_school": {
                    "url": "https://api.hel.fi/kore/v1/school/5/?format=api",
                    "id": 5,
                    "names": [
                        {
                            "id": 96,
                            "official_name": "Alppilan yläasteen koulu",
                            "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
                        }
                    ]
                },
                "day": 1,
                "month": 8,
                "year": 1977,
                "reference": null
            }
        ],
        "continuum_target": []
    },
    "approx_begin": false,
    "approx_end": false,
    "begin_day": 5,
    "begin_month": 9,
    "begin_year": 1959,
    "end_day": 31,
    "end_month": 7,
    "end_year": 1977,
    "ownership": true,
    "reference": null
}