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

{
    "url": "https://api.hel.fi/kore/v1/school_building/157-10/?format=api",
    "id": "157-10",
    "building": {
        "url": "https://api.hel.fi/kore/v1/building/10/?format=api",
        "id": 10,
        "neighborhood": "Taka-Töölö",
        "addresses": [
            {
                "id": 10,
                "location": {
                    "coordinates": [
                        24.9153517,
                        60.1848618
                    ],
                    "type": "Point"
                },
                "street_name_fi": "Mechelininkatu 46 B",
                "street_name_sv": "Mechelingatan 46 B",
                "zip_code": "00250",
                "municipality_fi": "Helsinki",
                "municipality_sv": "Helsingfors",
                "begin_day": null,
                "begin_month": null,
                "begin_year": 1953,
                "end_day": null,
                "end_month": null,
                "end_year": null,
                "comment": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "construction_year": 1965,
        "architect": null,
        "architect_firm": null,
        "property_number": null,
        "sliced": false,
        "comment": "Sophie Mannerheimin koulun pääkoulu",
        "reference": null,
        "approx": false,
        "owners": [
            {
                "id": 8,
                "owner": {
                    "id": 1,
                    "type": "kunta",
                    "name": "Helsingin kaupunki"
                },
                "begin_day": null,
                "begin_month": null,
                "begin_year": 1965,
                "end_day": null,
                "end_month": null,
                "end_year": null,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "photos": []
    },
    "photos": [],
    "school": {
        "url": "https://api.hel.fi/kore/v1/school/157/?format=api",
        "id": 157,
        "names": [
            {
                "id": 126,
                "official_name": "Sophie Mannerheimin koulu",
                "other_names": null,
                "begin_day": 1,
                "begin_month": 8,
                "begin_year": 2011,
                "end_day": null,
                "end_month": null,
                "end_year": null,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "languages": [
            {
                "id": 133,
                "language": "suomi",
                "begin_year": 2011,
                "end_year": null,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "types": [
            {
                "id": 359,
                "type": {
                    "id": 24,
                    "name": "sairaalakoulu",
                    "description": "Sairaalakoulussa annetaan lapsille ja nuorille opetusta sairaalassa oloa vaativien hoitojaksojen ajan. Useimmiten sairaalakoulun oppilaina ollaan lyhyitä aikoja, mutta tarpeen vaatiessa sairaalakoulussa voi suorittaa koko oppivelvollisuuden."
                },
                "begin_day": 1,
                "begin_month": 8,
                "begin_year": 2011,
                "end_day": null,
                "end_month": null,
                "end_year": null,
                "reference": null,
                "approx_begin": false,
                "approx_end": false,
                "main_school": 157
            }
        ],
        "fields": [],
        "genders": [
            {
                "id": 21,
                "gender": "tyttö- ja poikakoulu",
                "begin_day": 1,
                "begin_month": 8,
                "begin_year": 2011,
                "end_day": null,
                "end_month": null,
                "end_year": null,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "grade_counts": [
            {
                "id": 722,
                "number": 9,
                "begin_day": null,
                "begin_month": null,
                "begin_year": 2011,
                "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/157-10/?format=api",
                "id": "157-10",
                "building": {
                    "url": "https://api.hel.fi/kore/v1/building/10/?format=api",
                    "id": 10,
                    "neighborhood": "Taka-Töölö",
                    "addresses": [
                        {
                            "id": 10,
                            "location": {
                                "coordinates": [
                                    24.9153517,
                                    60.1848618
                                ],
                                "type": "Point"
                            },
                            "street_name_fi": "Mechelininkatu 46 B",
                            "street_name_sv": "Mechelingatan 46 B",
                            "zip_code": "00250",
                            "municipality_fi": "Helsinki",
                            "municipality_sv": "Helsingfors",
                            "begin_day": null,
                            "begin_month": null,
                            "begin_year": 1953,
                            "end_day": null,
                            "end_month": null,
                            "end_year": null,
                            "comment": null,
                            "approx_begin": false,
                            "approx_end": false
                        }
                    ],
                    "construction_year": 1965,
                    "architect": null,
                    "architect_firm": null,
                    "property_number": null,
                    "sliced": false,
                    "comment": "Sophie Mannerheimin koulun pääkoulu",
                    "reference": null,
                    "approx": false,
                    "owners": [
                        {
                            "id": 8,
                            "owner": {
                                "id": 1,
                                "type": "kunta",
                                "name": "Helsingin kaupunki"
                            },
                            "begin_day": null,
                            "begin_month": null,
                            "begin_year": 1965,
                            "end_day": null,
                            "end_month": null,
                            "end_year": null,
                            "reference": null,
                            "approx_begin": false,
                            "approx_end": false
                        }
                    ],
                    "photos": []
                },
                "photos": [],
                "approx_begin": false,
                "approx_end": false,
                "begin_day": 1,
                "begin_month": 8,
                "begin_year": 2011,
                "end_day": null,
                "end_month": null,
                "end_year": null,
                "ownership": true,
                "reference": null
            }
        ],
        "owners": [
            {
                "id": 213,
                "owner": {
                    "id": 1,
                    "type": "kunta",
                    "name": "Helsingin kaupunki"
                },
                "begin_day": null,
                "begin_month": null,
                "begin_year": 2011,
                "end_day": null,
                "end_month": null,
                "end_year": null,
                "reference": null,
                "approx_begin": false,
                "approx_end": false
            }
        ],
        "founders": [
            {
                "id": 157,
                "founder": {
                    "id": 1,
                    "type": "kunta",
                    "name": "Helsingin kaupunki"
                },
                "reference": null
            }
        ],
        "principals": [],
        "special_features": "Sairaalakoulu",
        "wartime_school": false,
        "nicknames": null,
        "checked": false,
        "archives": [
            {
                "url": null,
                "data_type": {
                    "id": 1,
                    "name": "arkistoaineisto"
                },
                "location": "Koulu",
                "begin_year": 2011,
                "end_year": null,
                "arkiston_nimi": "Sophie Mannerheimin koulu",
                "school": 157,
                "name": 126
            }
        ],
        "lifecycle_event": [
            {
                "description": "koulun perustaminen",
                "day": 1,
                "month": 8,
                "year": 2011,
                "decisionmaker": null,
                "additional_info": null
            }
        ],
        "continuum_active": [],
        "continuum_target": [
            {
                "active_school": {
                    "url": "https://api.hel.fi/kore/v1/school/9/?format=api",
                    "id": 9,
                    "names": [
                        {
                            "id": 1,
                            "official_name": "Auroran sairaalakoulu",
                            "other_names": null,
                            "begin_day": null,
                            "begin_month": null,
                            "begin_year": 1985,
                            "end_day": 31,
                            "end_month": 7,
                            "end_year": 2011,
                            "reference": null,
                            "approx_begin": false,
                            "approx_end": false
                        }
                    ]
                },
                "description": "joins",
                "target_school": "https://api.hel.fi/kore/v1/school/157/?format=api",
                "day": 1,
                "month": 8,
                "year": 2011,
                "reference": null
            },
            {
                "active_school": {
                    "url": "https://api.hel.fi/kore/v1/school/26/?format=api",
                    "id": 26,
                    "names": [
                        {
                            "id": 4,
                            "official_name": "Haartmanin sairaalakoulu",
                            "other_names": null,
                            "begin_day": null,
                            "begin_month": null,
                            "begin_year": 1985,
                            "end_day": 31,
                            "end_month": 7,
                            "end_year": 2011,
                            "reference": null,
                            "approx_begin": false,
                            "approx_end": false
                        }
                    ]
                },
                "description": "joins",
                "target_school": "https://api.hel.fi/kore/v1/school/157/?format=api",
                "day": 1,
                "month": 8,
                "year": 2011,
                "reference": null
            },
            {
                "active_school": {
                    "url": "https://api.hel.fi/kore/v1/school/356/?format=api",
                    "id": 356,
                    "names": [
                        {
                            "id": 518,
                            "official_name": "Lastenlinnan sairaalakoulu",
                            "other_names": null,
                            "begin_day": null,
                            "begin_month": null,
                            "begin_year": 1985,
                            "end_day": 31,
                            "end_month": 7,
                            "end_year": 2011,
                            "reference": null,
                            "approx_begin": false,
                            "approx_end": false
                        },
                        {
                            "id": 956,
                            "official_name": "Lastenlinnan sairaalan yksityinen koulu",
                            "other_names": null,
                            "begin_day": null,
                            "begin_month": null,
                            "begin_year": null,
                            "end_day": null,
                            "end_month": null,
                            "end_year": 1985,
                            "reference": null,
                            "approx_begin": false,
                            "approx_end": false
                        }
                    ]
                },
                "description": "joins",
                "target_school": "https://api.hel.fi/kore/v1/school/157/?format=api",
                "day": 1,
                "month": 8,
                "year": 2011,
                "reference": null
            }
        ]
    },
    "approx_begin": false,
    "approx_end": false,
    "begin_day": 1,
    "begin_month": 8,
    "begin_year": 2011,
    "end_day": null,
    "end_month": null,
    "end_year": null,
    "ownership": true,
    "reference": null
}