def _validate_type_point(self, field, value):
        "Validate a GeoJSON Point."
        schema = {'type': {'type': 'string', 'choices': ['Point']},
                  'coordinates': {'type': 'list',
                                  'minlength': 2,
                                  'maxlength': 2,
                                  'schema': {'type': 'float'}}}
        self._validate_schema(schema, field, value, None)
        if not -180.0 <= value['coordinates'][0] <= 180.0:
            self._error(field, "Longitude must be in the range -180.0, 180.0")
        if not -90.0 <= value['coordinates'][1] <= 90.0:
            self._error(field, "Latitude must be in the range -90.0, 90.0")
dataset/ETHPy150Open taarifa/TaarifaAPI/taarifa_api/taarifa_api.py/KeySchemaValidator._validate_type_point/original