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

{
    "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
        }
    ],
    "languages": [
        {
            "id": 5,
            "language": "suomi",
            "begin_year": 1977,
            "end_year": null,
            "reference": null,
            "approx_begin": false,
            "approx_end": false
        }
    ],
    "types": [
        {
            "id": 15,
            "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": null,
            "end_month": null,
            "end_year": null,
            "reference": null,
            "approx_begin": false,
            "approx_end": false,
            "main_school": 5
        }
    ],
    "fields": [],
    "genders": [
        {
            "id": 25,
            "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": 25,
            "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/5-5/?format=api",
            "id": "5-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": 7,
            "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": 5,
            "founder": {
                "id": 1,
                "type": "kunta",
                "name": "Helsingin kaupunki"
            },
            "reference": null
        }
    ],
    "principals": [],
    "special_features": null,
    "wartime_school": false,
    "nicknames": null,
    "checked": false,
    "archives": [
        {
            "url": null,
            "data_type": {
                "id": 1,
                "name": "arkistoaineisto"
            },
            "location": "Koulu",
            "begin_year": 1977,
            "end_year": null,
            "arkiston_nimi": "Alppilan yläasteen koulu",
            "school": 5,
            "name": 96
        }
    ],
    "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/5/?format=api",
            "day": 1,
            "month": 8,
            "year": 1977,
            "reference": null
        }
    ]
}