def METHOD_NAME(self, geojson: dict) -> None:
    for f in geojson['features']:
        geom_type = f.get('geometry', {}).get('type', '')
        if 'Point' in geom_type or 'LineString' in geom_type:
            raise ValueError(
                'LineStrings and Points are not supported '
                'in ChipClassificationLabelSource. Use BufferTransformer '
                'to buffer them into Polygons.')
    for f in geojson['features']:
        if f.get('properties', {}).get('class_id') is None:
            raise ValueError('All GeoJSON features must have a class_id '
                             'field in their properties.')