Skip to content

Commit 822c826

Browse files
authored
[EventGrid] Change "FarmBeats" prefix (Azure#14680)
The SDK team would prefer not using `FarmBeats` as a prefix for type names. Instead, use this more general term of `AgriFoodFarming` which aligns with the namespaces we are using for the FarmBeats SDK.
1 parent 70b0e4e commit 822c826

File tree

1 file changed

+34
-34
lines changed
  • specification/eventgrid/data-plane/Microsoft.AgFoodPlatform/stable/2018-01-01

1 file changed

+34
-34
lines changed

specification/eventgrid/data-plane/Microsoft.AgFoodPlatform/stable/2018-01-01/AzureFarmBeats.json

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"paths": {},
99
"definitions": {
10-
"FarmBeatsResourceActionType": {
10+
"AgriFoodFarmingResourceActionType": {
1111
"description": "Action occurred on a resource.",
1212
"enum": [
1313
"Created",
@@ -16,11 +16,11 @@
1616
],
1717
"type": "string",
1818
"x-ms-enum": {
19-
"name": "FarmBeatsResourceActionType",
19+
"name": "AgriFoodFarmingResourceActionType",
2020
"modelAsString": true
2121
}
2222
},
23-
"FarmBeatsBoundaryChangedEventData": {
23+
"AgriFoodFarmingBoundaryChangedEventData": {
2424
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.BoundaryChanged event.",
2525
"type": "object",
2626
"properties": {
@@ -41,7 +41,7 @@
4141
"type": "boolean"
4242
},
4343
"actionType": {
44-
"$ref": "#/definitions/FarmBeatsResourceActionType"
44+
"$ref": "#/definitions/AgriFoodFarmingResourceActionType"
4545
},
4646
"status": {
4747
"description": "Status of the resource.",
@@ -82,12 +82,12 @@
8282
}
8383
}
8484
},
85-
"FarmBeatsCropChangedEventData": {
85+
"AgriFoodFarmingCropChangedEventData": {
8686
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.CropChanged event.",
8787
"type": "object",
8888
"properties": {
8989
"actionType": {
90-
"$ref": "#/definitions/FarmBeatsResourceActionType"
90+
"$ref": "#/definitions/AgriFoodFarmingResourceActionType"
9191
},
9292
"status": {
9393
"description": "Status of the resource.",
@@ -128,7 +128,7 @@
128128
}
129129
}
130130
},
131-
"FarmBeatsCropVarietyChangedEventData": {
131+
"AgriFoodFarmingCropVarietyChangedEventData": {
132132
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.CropVarietyChanged event.",
133133
"type": "object",
134134
"properties": {
@@ -137,7 +137,7 @@
137137
"type": "string"
138138
},
139139
"actionType": {
140-
"$ref": "#/definitions/FarmBeatsResourceActionType"
140+
"$ref": "#/definitions/AgriFoodFarmingResourceActionType"
141141
},
142142
"status": {
143143
"description": "Status of the resource.",
@@ -178,7 +178,7 @@
178178
}
179179
}
180180
},
181-
"FarmBeatsFarmChangedEventData": {
181+
"AgriFoodFarmingFarmChangedEventData": {
182182
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.FarmChanged event.",
183183
"type": "object",
184184
"properties": {
@@ -187,7 +187,7 @@
187187
"type": "string"
188188
},
189189
"actionType": {
190-
"$ref": "#/definitions/FarmBeatsResourceActionType"
190+
"$ref": "#/definitions/AgriFoodFarmingResourceActionType"
191191
},
192192
"status": {
193193
"description": "Status of the resource.",
@@ -228,12 +228,12 @@
228228
}
229229
}
230230
},
231-
"FarmBeatsFarmerChangedEventData": {
231+
"AgriFoodFarmingFarmerChangedEventData": {
232232
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.FarmerChanged event.",
233233
"type": "object",
234234
"properties": {
235235
"actionType": {
236-
"$ref": "#/definitions/FarmBeatsResourceActionType"
236+
"$ref": "#/definitions/AgriFoodFarmingResourceActionType"
237237
},
238238
"status": {
239239
"description": "Status of the resource.",
@@ -274,7 +274,7 @@
274274
}
275275
}
276276
},
277-
"FarmBeatsFieldChangedEventData": {
277+
"AgriFoodFarmingFieldChangedEventData": {
278278
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.FieldChanged event.",
279279
"type": "object",
280280
"properties": {
@@ -287,7 +287,7 @@
287287
"type": "string"
288288
},
289289
"actionType": {
290-
"$ref": "#/definitions/FarmBeatsResourceActionType"
290+
"$ref": "#/definitions/AgriFoodFarmingResourceActionType"
291291
},
292292
"status": {
293293
"description": "Status of the resource.",
@@ -328,7 +328,7 @@
328328
}
329329
}
330330
},
331-
"FarmBeatsSeasonalFieldChangedEventData": {
331+
"AgriFoodFarmingSeasonalFieldChangedEventData": {
332332
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.SeasonalFieldChanged event.",
333333
"type": "object",
334334
"properties": {
@@ -349,7 +349,7 @@
349349
"type": "string"
350350
},
351351
"actionType": {
352-
"$ref": "#/definitions/FarmBeatsResourceActionType"
352+
"$ref": "#/definitions/AgriFoodFarmingResourceActionType"
353353
},
354354
"status": {
355355
"description": "Status of the resource.",
@@ -390,12 +390,12 @@
390390
}
391391
}
392392
},
393-
"FarmBeatsSeasonChangedEventData": {
393+
"AgriFoodFarmingSeasonChangedEventData": {
394394
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.SeasonChanged event.",
395395
"type": "object",
396396
"properties": {
397397
"actionType": {
398-
"$ref": "#/definitions/FarmBeatsResourceActionType"
398+
"$ref": "#/definitions/AgriFoodFarmingResourceActionType"
399399
},
400400
"status": {
401401
"description": "Status of the resource.",
@@ -436,12 +436,12 @@
436436
}
437437
}
438438
},
439-
"FarmBeatsApplicationDataChangedEventData": {
439+
"AgriFoodFarmingApplicationDataChangedEventData": {
440440
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.ApplicationDataChanged event.",
441441
"type": "object",
442442
"properties": {
443443
"actionType": {
444-
"$ref": "#/definitions/FarmBeatsResourceActionType"
444+
"$ref": "#/definitions/AgriFoodFarmingResourceActionType"
445445
},
446446
"farmerId": {
447447
"description": "Id of the farmer it belongs to.",
@@ -490,12 +490,12 @@
490490
}
491491
}
492492
},
493-
"FarmBeatsPlantingDataChangedEventData": {
493+
"AgriFoodFarmingPlantingDataChangedEventData": {
494494
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.PlantingDataChanged event.",
495495
"type": "object",
496496
"properties": {
497497
"actionType": {
498-
"$ref": "#/definitions/FarmBeatsResourceActionType"
498+
"$ref": "#/definitions/AgriFoodFarmingResourceActionType"
499499
},
500500
"farmerId": {
501501
"description": "Id of the farmer it belongs to.",
@@ -544,12 +544,12 @@
544544
}
545545
}
546546
},
547-
"FarmBeatsHarvestDataChangedEventData": {
547+
"AgriFoodFarmingHarvestDataChangedEventData": {
548548
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.HarvestDataChanged event.",
549549
"type": "object",
550550
"properties": {
551551
"actionType": {
552-
"$ref": "#/definitions/FarmBeatsResourceActionType"
552+
"$ref": "#/definitions/AgriFoodFarmingResourceActionType"
553553
},
554554
"farmerId": {
555555
"description": "Id of the farmer it belongs to.",
@@ -598,12 +598,12 @@
598598
}
599599
}
600600
},
601-
"FarmBeatsTillageDataChangedEventData": {
601+
"AgriFoodFarmingTillageDataChangedEventData": {
602602
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.TillageDataChanged event.",
603603
"type": "object",
604604
"properties": {
605605
"actionType": {
606-
"$ref": "#/definitions/FarmBeatsResourceActionType"
606+
"$ref": "#/definitions/AgriFoodFarmingResourceActionType"
607607
},
608608
"farmerId": {
609609
"description": "Id of the farmer it belongs to.",
@@ -652,7 +652,7 @@
652652
}
653653
}
654654
},
655-
"FarmBeatsJobStatus": {
655+
"AgriFoodFarmingJobStatus": {
656656
"description": "Various states a job can be in.",
657657
"enum": [
658658
"Waiting",
@@ -663,11 +663,11 @@
663663
],
664664
"type": "string",
665665
"x-ms-enum": {
666-
"name": "FarmBeatsJobStatus",
666+
"name": "AgriFoodFarmingJobStatus",
667667
"modelAsString": true
668668
}
669669
},
670-
"FarmBeatsSatelliteDataIngestionJobStatusChangedEventData": {
670+
"AgriFoodFarmingSatelliteDataIngestionJobStatusChangedEventData": {
671671
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.SatelliteDataIngestionJobStatusChanged event.",
672672
"type": "object",
673673
"properties": {
@@ -680,7 +680,7 @@
680680
"type": "string"
681681
},
682682
"status": {
683-
"$ref": "#/definitions/FarmBeatsJobStatus"
683+
"$ref": "#/definitions/AgriFoodFarmingJobStatus"
684684
},
685685
"lastActionDateTime": {
686686
"format": "date-time",
@@ -717,7 +717,7 @@
717717
}
718718
}
719719
},
720-
"FarmBeatsWeatherDataIngestionJobStatusChangedEventData": {
720+
"AgriFoodFarmingWeatherDataIngestionJobStatusChangedEventData": {
721721
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.WeatherDataIngestionJobStatusChanged event.",
722722
"type": "object",
723723
"properties": {
@@ -730,7 +730,7 @@
730730
"type": "string"
731731
},
732732
"status": {
733-
"$ref": "#/definitions/FarmBeatsJobStatus"
733+
"$ref": "#/definitions/AgriFoodFarmingJobStatus"
734734
},
735735
"lastActionDateTime": {
736736
"format": "date-time",
@@ -767,7 +767,7 @@
767767
}
768768
}
769769
},
770-
"FarmBeatsFarmOperationDataIngestionJobStatusChangedEventData": {
770+
"AgriFoodFarmingFarmOperationDataIngestionJobStatusChangedEventData": {
771771
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.FarmOperationDataIngestionJobStatusChanged event.",
772772
"type": "object",
773773
"properties": {
@@ -780,7 +780,7 @@
780780
"type": "string"
781781
},
782782
"status": {
783-
"$ref": "#/definitions/FarmBeatsJobStatus"
783+
"$ref": "#/definitions/AgriFoodFarmingJobStatus"
784784
},
785785
"lastActionDateTime": {
786786
"format": "date-time",

0 commit comments

Comments
 (0)