{"version":1,"type":"Settlement","data_version":"20261118T180351Z","registry_version":"20261118T115632Z","publisher":{"name":"Britain in Data","url":"https://britainindata.co.uk","@note":"Compiler and publisher of this representation; statistics originate with the cited source publishers."},"id":"S19002362","code_system":"NRS","name":"Mayfield","alternative_names":[],"place_class":"Village","geography_type":"locality","geography_definition":"NRS Localities 2020","nation":"Scotland","canonical_url":"https://britainindata.co.uk/place/mayfield","machine_url":"https://britainindata.co.uk/data/v1/places/mayfield.json","local_authorities":[{"id":"S12000019","code_system":"GSS","name":"Midlothian","canonical_url":"https://britainindata.co.uk/area/midlothian","machine_url":"https://britainindata.co.uk/data/v1/geographies/midlothian.json","share_of_place":1,"method":"NRS council areas + grid-sample n=128","primary":true}],"location":{"lat":55.871138,"lon":-3.053689},"note":"A settlement is not its local authority: statistics below describe the settlement boundary only.","population":{"value":13690,"unit":"people","period":"2020","basis":"NRS mid-2020 population estimate","value_type":"estimated"},"statistics":{"basis":"NRS mid-2020 population estimate (Settlements and Localities, 2020 boundaries); not a census count","median_age":null,"age":{"bands":["0-4","5-9","10-15","16-19","20-24","25-29","30-34","35-39","40-44","45-49","50-54","55-59","60-64","65-69","70-74","75-79","80-84","85-89","90 & over"],"f":[431,474,497,262,359,450,458,473,430,448,550,525,469,378,360,258,180,89,51],"m":[451,442,530,335,373,392,425,395,380,416,435,483,438,311,289,224,134,64,31],"all":[882,916,1027,597,732,842,883,868,810,864,985,1008,907,689,649,482,314,153,82]},"broad_ages":{"labels":["Under 16","16-64","65 and over"],"all":[2825,8496,2369],"f":[1402,4424,1316],"m":[1423,4072,1053]},"tenure":null,"accommodation":null,"qualifications":null,"employment":null,"industry":null,"occupation":null,"health":null,"suppressed_values":"null = withheld by the publisher (disclosure control)"},"source":{"id":"nrs-settlements-localities-2020","dataset":"Population estimates for settlements and localities in Scotland, mid-2020","publisher":"National Records of Scotland","source_url":"https://www.nrscotland.gov.uk/publications/population-estimates-for-settlements-and-localities-in-scotland-mid-2020/","licence":{"name":"Open Government Licence v3.0","url":"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/"}},"names_source":{"dataset":"OS Open Names","publisher":"Ordnance Survey","source_url":"https://www.ordnancesurvey.co.uk/products/os-open-names"}}