travopti/backend/transformer-test.json

1205 lines
26 KiB
JSON

[
{
"month": 5,
"days": 31,
"climate": [
{
"region_id": 2,
"country_id": 2,
"name": "Melbourne",
"temperature_mean": 12.6,
"temperature_mean_min": 8.3,
"temperature_mean_max": 17,
"percipitation": 35.4,
"raindays": 7.8,
"sunhours": 139
},
{
"region_id": 3,
"country_id": 2,
"name": "Sydney",
"temperature_mean": 16.6,
"temperature_mean_min": 12,
"temperature_mean_max": 21.2,
"percipitation": 59.2,
"raindays": 5.6,
"sunhours": 218.4
},
{
"region_id": 6,
"country_id": 4,
"name": "Sao Paolo",
"temperature_mean": 19,
"temperature_mean_min": 16.1,
"temperature_mean_max": 22.8,
"percipitation": 42.3,
"raindays": 5,
"sunhours": null
},
{
"region_id": 7,
"country_id": 5,
"name": "Toronto",
"temperature_mean": 16.1,
"temperature_mean_min": 10.8,
"temperature_mean_max": 21.5,
"percipitation": 52,
"raindays": 11,
"sunhours": 268
},
{
"region_id": 9,
"country_id": 7,
"name": "Peking",
"temperature_mean": 22.1,
"temperature_mean_min": 15.8,
"temperature_mean_max": 28,
"percipitation": 26.7,
"raindays": 3.3,
"sunhours": 261.5
},
{
"region_id": 10,
"country_id": 7,
"name": "Shanghai",
"temperature_mean": 21.3,
"temperature_mean_min": 17.7,
"temperature_mean_max": 25.5,
"percipitation": 105.9,
"raindays": 8.6,
"sunhours": 165.9
},
{
"region_id": 11,
"country_id": 8,
"name": "Bogota",
"temperature_mean": 14.3,
"temperature_mean_min": 10.5,
"temperature_mean_max": 19.5,
"percipitation": 108,
"raindays": 13.3,
"sunhours": 103.6
},
{
"region_id": 12,
"country_id": 9,
"name": "Kairo",
"temperature_mean": 26.4,
"temperature_mean_min": 20.7,
"temperature_mean_max": 32.5,
"percipitation": 0.1,
"raindays": 0,
"sunhours": null
},
{
"region_id": 13,
"country_id": 10,
"name": "London",
"temperature_mean": 13.9,
"temperature_mean_min": 9.2,
"temperature_mean_max": 18.4,
"percipitation": 47,
"raindays": 8,
"sunhours": 188
},
{
"region_id": 18,
"country_id": 15,
"name": "Reykjavik",
"temperature_mean": 6.8,
"temperature_mean_min": 4.1,
"temperature_mean_max": 10.3,
"percipitation": 53.4,
"raindays": 10.4,
"sunhours": 208.9
},
{
"region_id": 24,
"country_id": 20,
"name": "Kuala Lumpur",
"temperature_mean": 28.7,
"temperature_mean_min": 25.3,
"temperature_mean_max": 33.8,
"percipitation": 301.9,
"raindays": 15.4,
"sunhours": null
}
],
"scores": {
"temperature_mean": [
{
"region_id": 2,
"type": "temperature_mean",
"value": 12.6,
"score": 0
},
{
"region_id": 3,
"type": "temperature_mean",
"value": 16.6,
"score": 2.97
},
{
"region_id": 6,
"type": "temperature_mean",
"value": 19,
"score": 6.09
},
{
"region_id": 7,
"type": "temperature_mean",
"value": 16.1,
"score": 2.32
},
{
"region_id": 9,
"type": "temperature_mean",
"value": 22.1,
"score": 10
},
{
"region_id": 10,
"type": "temperature_mean",
"value": 21.3,
"score": 9.09
},
{
"region_id": 11,
"type": "temperature_mean",
"value": 14.3,
"score": 0
},
{
"region_id": 12,
"type": "temperature_mean",
"value": 26.4,
"score": 5.57
},
{
"region_id": 13,
"type": "temperature_mean",
"value": 13.9,
"score": 0
},
{
"region_id": 18,
"type": "temperature_mean",
"value": 6.8,
"score": 0
},
{
"region_id": 24,
"type": "temperature_mean",
"value": 28.7,
"score": 2.58
}
],
"percipitation": [
{
"region_id": 2,
"type": "percipitation",
"value": 35.4,
"score": 10
},
{
"region_id": 3,
"type": "percipitation",
"value": 59.2,
"score": 10
},
{
"region_id": 6,
"type": "percipitation",
"value": 42.3,
"score": 10
},
{
"region_id": 7,
"type": "percipitation",
"value": 52,
"score": 10
},
{
"region_id": 9,
"type": "percipitation",
"value": 26.7,
"score": 10
},
{
"region_id": 10,
"type": "percipitation",
"value": 105.9,
"score": 9.95
},
{
"region_id": 11,
"type": "percipitation",
"value": 108,
"score": 9.93
},
{
"region_id": 12,
"type": "percipitation",
"value": 0.1,
"score": 10
},
{
"region_id": 13,
"type": "percipitation",
"value": 47,
"score": 10
},
{
"region_id": 18,
"type": "percipitation",
"value": 53.4,
"score": 10
},
{
"region_id": 24,
"type": "percipitation",
"value": 301.9,
"score": 8.14
}
],
"raindays": [
{
"region_id": 2,
"type": "raindays",
"value": 7.8,
"score": 5.78
},
{
"region_id": 3,
"type": "raindays",
"value": 5.6,
"score": 8.22
},
{
"region_id": 6,
"type": "raindays",
"value": 5,
"score": 8.89
},
{
"region_id": 7,
"type": "raindays",
"value": 11,
"score": 2.22
},
{
"region_id": 9,
"type": "raindays",
"value": 3.3,
"score": 10
},
{
"region_id": 10,
"type": "raindays",
"value": 8.6,
"score": 4.89
},
{
"region_id": 11,
"type": "raindays",
"value": 13.3,
"score": 0
},
{
"region_id": 12,
"type": "raindays",
"value": 0,
"score": 8.89
},
{
"region_id": 13,
"type": "raindays",
"value": 8,
"score": 5.56
},
{
"region_id": 18,
"type": "raindays",
"value": 10.4,
"score": 2.89
},
{
"region_id": 24,
"type": "raindays",
"value": 15.4,
"score": 0
}
],
"sunhours": [
{
"region_id": 2,
"type": "sunhours",
"value": 139,
"score": 1.27
},
{
"region_id": 3,
"type": "sunhours",
"value": 218.4,
"score": 7.52
},
{
"region_id": 6,
"type": "sunhours",
"value": null,
"score": null
},
{
"region_id": 7,
"type": "sunhours",
"value": 268,
"score": 10
},
{
"region_id": 9,
"type": "sunhours",
"value": 261.5,
"score": 10
},
{
"region_id": 10,
"type": "sunhours",
"value": 165.9,
"score": 3.39
},
{
"region_id": 11,
"type": "sunhours",
"value": 103.6,
"score": 0
},
{
"region_id": 12,
"type": "sunhours",
"value": null,
"score": null
},
{
"region_id": 13,
"type": "sunhours",
"value": 188,
"score": 5.13
},
{
"region_id": 18,
"type": "sunhours",
"value": 208.9,
"score": 6.77
},
{
"region_id": 24,
"type": "sunhours",
"value": null,
"score": null
}
]
}
},
{
"month": 6,
"days": 30,
"climate": [
{
"region_id": 2,
"country_id": 2,
"name": "Melbourne",
"temperature_mean": 10,
"temperature_mean_min": 6.1,
"temperature_mean_max": 14,
"percipitation": 51.4,
"raindays": 8,
"sunhours": 122.9
},
{
"region_id": 3,
"country_id": 2,
"name": "Sydney",
"temperature_mean": 14.2,
"temperature_mean_min": 10.2,
"temperature_mean_max": 18.3,
"percipitation": 154.7,
"raindays": 9.4,
"sunhours": 160
},
{
"region_id": 6,
"country_id": 4,
"name": "Sao Paolo",
"temperature_mean": 17.5,
"temperature_mean_min": 14.6,
"temperature_mean_max": 21.8,
"percipitation": 48.8,
"raindays": 4.5,
"sunhours": null
},
{
"region_id": 7,
"country_id": 5,
"name": "Toronto",
"temperature_mean": 19.3,
"temperature_mean_min": 15.1,
"temperature_mean_max": 23.8,
"percipitation": 192,
"raindays": 14,
"sunhours": 253
},
{
"region_id": 9,
"country_id": 7,
"name": "Peking",
"temperature_mean": 25.4,
"temperature_mean_min": 20.1,
"temperature_mean_max": 30.9,
"percipitation": 85,
"raindays": 7.9,
"sunhours": 209.2
},
{
"region_id": 10,
"country_id": 7,
"name": "Shanghai",
"temperature_mean": 24.2,
"temperature_mean_min": 21.6,
"temperature_mean_max": 27.5,
"percipitation": 199.4,
"raindays": 10.6,
"sunhours": 94.1
},
{
"region_id": 11,
"country_id": 8,
"name": "Bogota",
"temperature_mean": 14,
"temperature_mean_min": 9.4,
"temperature_mean_max": 18.6,
"percipitation": 57.8,
"raindays": 9.8,
"sunhours": 121.6
},
{
"region_id": 12,
"country_id": 9,
"name": "Kairo",
"temperature_mean": 28.6,
"temperature_mean_min": 23.1,
"temperature_mean_max": 34.6,
"percipitation": 0,
"raindays": 0,
"sunhours": null
},
{
"region_id": 13,
"country_id": 10,
"name": "London",
"temperature_mean": 17,
"temperature_mean_min": 12.2,
"temperature_mean_max": 21.8,
"percipitation": 45.7,
"raindays": 7.6,
"sunhours": 180.8
},
{
"region_id": 18,
"country_id": 15,
"name": "Reykjavik",
"temperature_mean": 10.1,
"temperature_mean_min": 7.6,
"temperature_mean_max": 13.5,
"percipitation": 49.3,
"raindays": 9.8,
"sunhours": 171.3
},
{
"region_id": 24,
"country_id": 20,
"name": "Kuala Lumpur",
"temperature_mean": 29,
"temperature_mean_min": 25.5,
"temperature_mean_max": 33.8,
"percipitation": 137.9,
"raindays": 7.4,
"sunhours": null
}
],
"scores": {
"temperature_mean": [
{
"region_id": 2,
"type": "temperature_mean",
"value": 10,
"score": 0
},
{
"region_id": 3,
"type": "temperature_mean",
"value": 14.2,
"score": 0
},
{
"region_id": 6,
"type": "temperature_mean",
"value": 17.5,
"score": 4.14
},
{
"region_id": 7,
"type": "temperature_mean",
"value": 19.3,
"score": 6.48
},
{
"region_id": 9,
"type": "temperature_mean",
"value": 25.4,
"score": 6.88
},
{
"region_id": 10,
"type": "temperature_mean",
"value": 24.2,
"score": 8.44
},
{
"region_id": 11,
"type": "temperature_mean",
"value": 14,
"score": 0
},
{
"region_id": 12,
"type": "temperature_mean",
"value": 28.6,
"score": 2.71
},
{
"region_id": 13,
"type": "temperature_mean",
"value": 17,
"score": 3.49
},
{
"region_id": 18,
"type": "temperature_mean",
"value": 10.1,
"score": 0
},
{
"region_id": 24,
"type": "temperature_mean",
"value": 29,
"score": 2.19
}
],
"percipitation": [
{
"region_id": 2,
"type": "percipitation",
"value": 51.4,
"score": 10
},
{
"region_id": 3,
"type": "percipitation",
"value": 154.7,
"score": 9.5
},
{
"region_id": 6,
"type": "percipitation",
"value": 48.8,
"score": 10
},
{
"region_id": 7,
"type": "percipitation",
"value": 192,
"score": 9.15
},
{
"region_id": 9,
"type": "percipitation",
"value": 85,
"score": 10
},
{
"region_id": 10,
"type": "percipitation",
"value": 199.4,
"score": 9.09
},
{
"region_id": 11,
"type": "percipitation",
"value": 57.8,
"score": 10
},
{
"region_id": 12,
"type": "percipitation",
"value": 0,
"score": 10
},
{
"region_id": 13,
"type": "percipitation",
"value": 45.7,
"score": 10
},
{
"region_id": 18,
"type": "percipitation",
"value": 49.3,
"score": 10
},
{
"region_id": 24,
"type": "percipitation",
"value": 137.9,
"score": 9.65
}
],
"raindays": [
{
"region_id": 2,
"type": "raindays",
"value": 8,
"score": 5.56
},
{
"region_id": 3,
"type": "raindays",
"value": 9.4,
"score": 4
},
{
"region_id": 6,
"type": "raindays",
"value": 4.5,
"score": 9.44
},
{
"region_id": 7,
"type": "raindays",
"value": 14,
"score": 0
},
{
"region_id": 9,
"type": "raindays",
"value": 7.9,
"score": 5.67
},
{
"region_id": 10,
"type": "raindays",
"value": 10.6,
"score": 2.67
},
{
"region_id": 11,
"type": "raindays",
"value": 9.8,
"score": 3.56
},
{
"region_id": 12,
"type": "raindays",
"value": 0,
"score": 8.89
},
{
"region_id": 13,
"type": "raindays",
"value": 7.6,
"score": 6
},
{
"region_id": 18,
"type": "raindays",
"value": 9.8,
"score": 3.56
},
{
"region_id": 24,
"type": "raindays",
"value": 7.4,
"score": 6.22
}
],
"sunhours": [
{
"region_id": 2,
"type": "sunhours",
"value": 122.9,
"score": 0.01
},
{
"region_id": 3,
"type": "sunhours",
"value": 160,
"score": 2.92
},
{
"region_id": 6,
"type": "sunhours",
"value": null,
"score": null
},
{
"region_id": 7,
"type": "sunhours",
"value": 253,
"score": 10
},
{
"region_id": 9,
"type": "sunhours",
"value": 209.2,
"score": 6.79
},
{
"region_id": 10,
"type": "sunhours",
"value": 94.1,
"score": 0
},
{
"region_id": 11,
"type": "sunhours",
"value": 121.6,
"score": 0
},
{
"region_id": 12,
"type": "sunhours",
"value": null,
"score": null
},
{
"region_id": 13,
"type": "sunhours",
"value": 180.8,
"score": 4.56
},
{
"region_id": 18,
"type": "sunhours",
"value": 171.3,
"score": 3.81
},
{
"region_id": 24,
"type": "sunhours",
"value": null,
"score": null
}
]
}
},
{
"month": 7,
"days": 14,
"climate": [
{
"region_id": 2,
"country_id": 2,
"name": "Melbourne",
"temperature_mean": 9.8,
"temperature_mean_min": 5.9,
"temperature_mean_max": 13.7,
"percipitation": 33.4,
"raindays": 8.7,
"sunhours": 139.3
},
{
"region_id": 3,
"country_id": 2,
"name": "Sydney",
"temperature_mean": 13.6,
"temperature_mean_min": 8.8,
"temperature_mean_max": 18.4,
"percipitation": 68.2,
"raindays": 6.7,
"sunhours": 221
},
{
"region_id": 6,
"country_id": 4,
"name": "Sao Paolo",
"temperature_mean": 18.1,
"temperature_mean_min": 13.6,
"temperature_mean_max": 22.5,
"percipitation": 19.4,
"raindays": 2.8,
"sunhours": null
},
{
"region_id": 7,
"country_id": 5,
"name": "Toronto",
"temperature_mean": 23.6,
"temperature_mean_min": 18.5,
"temperature_mean_max": 28.5,
"percipitation": 90,
"raindays": 7,
"sunhours": 308
},
{
"region_id": 9,
"country_id": 7,
"name": "Peking",
"temperature_mean": 27.7,
"temperature_mean_min": 23.6,
"temperature_mean_max": 32.2,
"percipitation": 199.9,
"raindays": 8.6,
"sunhours": 174.9
},
{
"region_id": 10,
"country_id": 7,
"name": "Shanghai",
"temperature_mean": 29.5,
"temperature_mean_min": 26.5,
"temperature_mean_max": 33.3,
"percipitation": 125.9,
"raindays": 8.2,
"sunhours": 183.6
},
{
"region_id": 11,
"country_id": 8,
"name": "Bogota",
"temperature_mean": 13.7,
"temperature_mean_min": 9.4,
"temperature_mean_max": 18.7,
"percipitation": 55.3,
"raindays": 9.7,
"sunhours": 129.2
},
{
"region_id": 12,
"country_id": 9,
"name": "Kairo",
"temperature_mean": 29.4,
"temperature_mean_min": 24.3,
"temperature_mean_max": 34.9,
"percipitation": 0,
"raindays": 0,
"sunhours": null
},
{
"region_id": 13,
"country_id": 10,
"name": "London",
"temperature_mean": 19.5,
"temperature_mean_min": 14.5,
"temperature_mean_max": 24.4,
"percipitation": 45.3,
"raindays": 7.7,
"sunhours": 204
},
{
"region_id": 18,
"country_id": 15,
"name": "Reykjavik",
"temperature_mean": 11.8,
"temperature_mean_min": 9.3,
"temperature_mean_max": 15.3,
"percipitation": 51,
"raindays": 10.9,
"sunhours": 178.1
},
{
"region_id": 24,
"country_id": 20,
"name": "Kuala Lumpur",
"temperature_mean": 28.6,
"temperature_mean_min": 25,
"temperature_mean_max": 33.2,
"percipitation": 150.2,
"raindays": 10,
"sunhours": null
}
],
"scores": {
"temperature_mean": [
{
"region_id": 2,
"type": "temperature_mean",
"value": 9.8,
"score": 0
},
{
"region_id": 3,
"type": "temperature_mean",
"value": 13.6,
"score": 0
},
{
"region_id": 6,
"type": "temperature_mean",
"value": 18.1,
"score": 4.92
},
{
"region_id": 7,
"type": "temperature_mean",
"value": 23.6,
"score": 9.22
},
{
"region_id": 9,
"type": "temperature_mean",
"value": 27.7,
"score": 3.88
},
{
"region_id": 10,
"type": "temperature_mean",
"value": 29.5,
"score": 1.54
},
{
"region_id": 11,
"type": "temperature_mean",
"value": 13.7,
"score": 0
},
{
"region_id": 12,
"type": "temperature_mean",
"value": 29.4,
"score": 1.67
},
{
"region_id": 13,
"type": "temperature_mean",
"value": 19.5,
"score": 6.74
},
{
"region_id": 18,
"type": "temperature_mean",
"value": 11.8,
"score": 0
},
{
"region_id": 24,
"type": "temperature_mean",
"value": 28.6,
"score": 2.71
}
],
"percipitation": [
{
"region_id": 2,
"type": "percipitation",
"value": 33.4,
"score": 10
},
{
"region_id": 3,
"type": "percipitation",
"value": 68.2,
"score": 10
},
{
"region_id": 6,
"type": "percipitation",
"value": 19.4,
"score": 10
},
{
"region_id": 7,
"type": "percipitation",
"value": 90,
"score": 10
},
{
"region_id": 9,
"type": "percipitation",
"value": 199.9,
"score": 9.08
},
{
"region_id": 10,
"type": "percipitation",
"value": 125.9,
"score": 9.76
},
{
"region_id": 11,
"type": "percipitation",
"value": 55.3,
"score": 10
},
{
"region_id": 12,
"type": "percipitation",
"value": 0,
"score": 10
},
{
"region_id": 13,
"type": "percipitation",
"value": 45.3,
"score": 10
},
{
"region_id": 18,
"type": "percipitation",
"value": 51,
"score": 10
},
{
"region_id": 24,
"type": "percipitation",
"value": 150.2,
"score": 9.54
}
],
"raindays": [
{
"region_id": 2,
"type": "raindays",
"value": 8.7,
"score": 4.78
},
{
"region_id": 3,
"type": "raindays",
"value": 6.7,
"score": 7
},
{
"region_id": 6,
"type": "raindays",
"value": 2.8,
"score": 10
},
{
"region_id": 7,
"type": "raindays",
"value": 7,
"score": 6.67
},
{
"region_id": 9,
"type": "raindays",
"value": 8.6,
"score": 4.89
},
{
"region_id": 10,
"type": "raindays",
"value": 8.2,
"score": 5.33
},
{
"region_id": 11,
"type": "raindays",
"value": 9.7,
"score": 3.67
},
{
"region_id": 12,
"type": "raindays",
"value": 0,
"score": 8.89
},
{
"region_id": 13,
"type": "raindays",
"value": 7.7,
"score": 5.89
},
{
"region_id": 18,
"type": "raindays",
"value": 10.9,
"score": 2.33
},
{
"region_id": 24,
"type": "raindays",
"value": 10,
"score": 3.33
}
],
"sunhours": [
{
"region_id": 2,
"type": "sunhours",
"value": 139.3,
"score": 1.3
},
{
"region_id": 3,
"type": "sunhours",
"value": 221,
"score": 7.72
},
{
"region_id": 6,
"type": "sunhours",
"value": null,
"score": null
},
{
"region_id": 7,
"type": "sunhours",
"value": 308,
"score": 9.37
},
{
"region_id": 9,
"type": "sunhours",
"value": 174.9,
"score": 4.1
},
{
"region_id": 10,
"type": "sunhours",
"value": 183.6,
"score": 4.78
},
{
"region_id": 11,
"type": "sunhours",
"value": 129.2,
"score": 0.5
},
{
"region_id": 12,
"type": "sunhours",
"value": null,
"score": null
},
{
"region_id": 13,
"type": "sunhours",
"value": 204,
"score": 6.38
},
{
"region_id": 18,
"type": "sunhours",
"value": 178.1,
"score": 4.35
},
{
"region_id": 24,
"type": "sunhours",
"value": null,
"score": null
}
]
}
}
]