I have a GeoJSON data stream that contains both "Point" features and "Polygon" features. I want to filter the features by their geometry.type value...
the auto generated service definition looks like this. It doesn't include the geometry children (type and coordinates).

how can I write a geoevent definition that would include geometry child info??
Once I have them in the definition, I can add a filter to the GE service to separate points and polys.
here's the structure:
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-69.8285079996444, 43.8548409999123]
},
"properties": {
"RecordId": 1412,
"UtilityId": 1,
"OutageId": "null",
"CustomersOut": 1,
"OutageCause": "Tree",
"EstimatedRestoration": "2025-04-29T18:00:00Z",
"DateTimeRecorded": "2025-04-29T15:35:12Z"
}
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[-74.15111, 43.84318],
[-74.14636, 43.8451],
[-74.14237, 43.84585],
[-74.14261, 43.84394],
[-74.14421, 43.84362],
[-74.15111, 43.84318],
[-74.15111, 43.84318]
]
]
},
"properties": {
"RecordId": 1109,
"UtilityId": 3,
"OutageId": "null",
"CustomersOut": 24,
"OutageCause": "null",
"EstimatedRestoration": "2025-04-29T17:00:00Z",
"DateTimeRecorded": "2025-04-29T15:40:40Z"
}
},
}