diff --git a/specification/eventgrid/data-plane/Microsoft.AgFoodPlatform/stable/2018-01-01/AzureFarmBeats.json b/specification/eventgrid/data-plane/Microsoft.AgFoodPlatform/stable/2018-01-01/AzureFarmBeats.json deleted file mode 100644 index 00698ac5754d..000000000000 --- a/specification/eventgrid/data-plane/Microsoft.AgFoodPlatform/stable/2018-01-01/AzureFarmBeats.json +++ /dev/null @@ -1,821 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Schema of Azure FarmBeats events published to Azure Event Grid", - "description": "Describes the schema of the Azure FarmBeats Configuration events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent.", - "version": "2018-01-01" - }, - "paths": {}, - "definitions": { - "AgriFoodFarmingResourceActionType": { - "description": "Action occurred on a resource.", - "enum": [ - "Created", - "Updated", - "Deleted" - ], - "type": "string", - "x-ms-enum": { - "name": "AgriFoodFarmingResourceActionType", - "modelAsString": true - } - }, - "AgriFoodFarmingBoundaryChangedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.BoundaryChanged event.", - "type": "object", - "properties": { - "farmerId": { - "description": "Id of the farmer it belongs to.", - "type": "string" - }, - "parentId": { - "description": "Id of the parent(field or seasonalField) it belongs to.", - "type": "string" - }, - "parentType": { - "description": "Type of the parent it belongs to.", - "type": "string" - }, - "isPrimary": { - "description": "A boolean flag indicating whether the boundary is primary or not.", - "type": "boolean" - }, - "actionType": { - "$ref": "#/definitions/AgriFoodFarmingResourceActionType" - }, - "status": { - "description": "Status of the resource.", - "type": "string" - }, - "modifiedDateTime": { - "format": "date-time", - "description": "Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "eTag": { - "description": "The ETag value to implement optimistic concurrency.", - "type": "string" - }, - "id": { - "description": "Unique id of resource.", - "type": "string" - }, - "name": { - "description": "Name to identify resource.", - "type": "string" - }, - "description": { - "description": "Textual description of resource.", - "type": "string" - }, - "createdDateTime": { - "format": "date-time", - "description": "Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "properties": { - "description": "A list of key value pairs that describe the resource.\r\nOnly string and numeral values are supported.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "AgriFoodFarmingCropChangedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.CropChanged event.", - "type": "object", - "properties": { - "actionType": { - "$ref": "#/definitions/AgriFoodFarmingResourceActionType" - }, - "status": { - "description": "Status of the resource.", - "type": "string" - }, - "modifiedDateTime": { - "format": "date-time", - "description": "Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "eTag": { - "description": "The ETag value to implement optimistic concurrency.", - "type": "string" - }, - "id": { - "description": "Unique id of resource.", - "type": "string" - }, - "name": { - "description": "Name to identify resource.", - "type": "string" - }, - "description": { - "description": "Textual description of resource.", - "type": "string" - }, - "createdDateTime": { - "format": "date-time", - "description": "Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "properties": { - "description": "A list of key value pairs that describe the resource.\r\nOnly string and numeral values are supported.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "AgriFoodFarmingCropVarietyChangedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.CropVarietyChanged event.", - "type": "object", - "properties": { - "cropId": { - "description": "Id of the crop it belongs to.", - "type": "string" - }, - "actionType": { - "$ref": "#/definitions/AgriFoodFarmingResourceActionType" - }, - "status": { - "description": "Status of the resource.", - "type": "string" - }, - "modifiedDateTime": { - "format": "date-time", - "description": "Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "eTag": { - "description": "The ETag value to implement optimistic concurrency.", - "type": "string" - }, - "id": { - "description": "Unique id of resource.", - "type": "string" - }, - "name": { - "description": "Name to identify resource.", - "type": "string" - }, - "description": { - "description": "Textual description of resource.", - "type": "string" - }, - "createdDateTime": { - "format": "date-time", - "description": "Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "properties": { - "description": "A list of key value pairs that describe the resource.\r\nOnly string and numeral values are supported.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "AgriFoodFarmingFarmChangedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.FarmChanged event.", - "type": "object", - "properties": { - "farmerId": { - "description": "Id of the farmer it belongs to.", - "type": "string" - }, - "actionType": { - "$ref": "#/definitions/AgriFoodFarmingResourceActionType" - }, - "status": { - "description": "Status of the resource.", - "type": "string" - }, - "modifiedDateTime": { - "format": "date-time", - "description": "Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "eTag": { - "description": "The ETag value to implement optimistic concurrency.", - "type": "string" - }, - "id": { - "description": "Unique id of resource.", - "type": "string" - }, - "name": { - "description": "Name to identify resource.", - "type": "string" - }, - "description": { - "description": "Textual description of resource.", - "type": "string" - }, - "createdDateTime": { - "format": "date-time", - "description": "Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "properties": { - "description": "A list of key value pairs that describe the resource.\r\nOnly string and numeral values are supported.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "AgriFoodFarmingFarmerChangedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.FarmerChanged event.", - "type": "object", - "properties": { - "actionType": { - "$ref": "#/definitions/AgriFoodFarmingResourceActionType" - }, - "status": { - "description": "Status of the resource.", - "type": "string" - }, - "modifiedDateTime": { - "format": "date-time", - "description": "Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "eTag": { - "description": "The ETag value to implement optimistic concurrency.", - "type": "string" - }, - "id": { - "description": "Unique id of resource.", - "type": "string" - }, - "name": { - "description": "Name to identify resource.", - "type": "string" - }, - "description": { - "description": "Textual description of resource.", - "type": "string" - }, - "createdDateTime": { - "format": "date-time", - "description": "Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "properties": { - "description": "A list of key value pairs that describe the resource.\r\nOnly string and numeral values are supported.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "AgriFoodFarmingFieldChangedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.FieldChanged event.", - "type": "object", - "properties": { - "farmerId": { - "description": "Farmer Id.", - "type": "string" - }, - "farmId": { - "description": "Id of the associated Farm.", - "type": "string" - }, - "actionType": { - "$ref": "#/definitions/AgriFoodFarmingResourceActionType" - }, - "status": { - "description": "Status of the resource.", - "type": "string" - }, - "modifiedDateTime": { - "format": "date-time", - "description": "Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "eTag": { - "description": "The ETag value to implement optimistic concurrency.", - "type": "string" - }, - "id": { - "description": "Unique id of resource.", - "type": "string" - }, - "name": { - "description": "Name to identify resource.", - "type": "string" - }, - "description": { - "description": "Textual description of resource.", - "type": "string" - }, - "createdDateTime": { - "format": "date-time", - "description": "Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "properties": { - "description": "A list of key value pairs that describe the resource.\r\nOnly string and numeral values are supported.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "AgriFoodFarmingSeasonalFieldChangedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.SeasonalFieldChanged event.", - "type": "object", - "properties": { - "farmerId": { - "description": "Id of the farmer it belongs to.", - "type": "string" - }, - "seasonId": { - "description": "Id of the season it belongs to.", - "type": "string" - }, - "fieldId": { - "description": "Id of the field it belongs to.", - "type": "string" - }, - "farmId": { - "description": "Id of the associated Farm.", - "type": "string" - }, - "actionType": { - "$ref": "#/definitions/AgriFoodFarmingResourceActionType" - }, - "status": { - "description": "Status of the resource.", - "type": "string" - }, - "modifiedDateTime": { - "format": "date-time", - "description": "Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "eTag": { - "description": "The ETag value to implement optimistic concurrency.", - "type": "string" - }, - "id": { - "description": "Unique id of resource.", - "type": "string" - }, - "name": { - "description": "Name to identify resource.", - "type": "string" - }, - "description": { - "description": "Textual description of resource.", - "type": "string" - }, - "createdDateTime": { - "format": "date-time", - "description": "Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "properties": { - "description": "A list of key value pairs that describe the resource.\r\nOnly string and numeral values are supported.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "AgriFoodFarmingSeasonChangedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.SeasonChanged event.", - "type": "object", - "properties": { - "actionType": { - "$ref": "#/definitions/AgriFoodFarmingResourceActionType" - }, - "status": { - "description": "Status of the resource.", - "type": "string" - }, - "modifiedDateTime": { - "format": "date-time", - "description": "Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "eTag": { - "description": "The ETag value to implement optimistic concurrency.", - "type": "string" - }, - "id": { - "description": "Unique id of resource.", - "type": "string" - }, - "name": { - "description": "Name to identify resource.", - "type": "string" - }, - "description": { - "description": "Textual description of resource.", - "type": "string" - }, - "createdDateTime": { - "format": "date-time", - "description": "Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "properties": { - "description": "A list of key value pairs that describe the resource.\r\nOnly string and numeral values are supported.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "AgriFoodFarmingApplicationDataChangedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.ApplicationDataChanged event.", - "type": "object", - "properties": { - "actionType": { - "$ref": "#/definitions/AgriFoodFarmingResourceActionType" - }, - "farmerId": { - "description": "Id of the farmer it belongs to.", - "type": "string" - }, - "status": { - "description": "Status of the resource.", - "type": "string" - }, - "source": { - "description": "Source of the farm operation data.", - "type": "string" - }, - "modifiedDateTime": { - "format": "date-time", - "description": "Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "eTag": { - "description": "The ETag value to implement optimistic concurrency.", - "type": "string" - }, - "id": { - "description": "Unique id of resource.", - "type": "string" - }, - "name": { - "description": "Name to identify resource.", - "type": "string" - }, - "description": { - "description": "Textual description of resource.", - "type": "string" - }, - "createdDateTime": { - "format": "date-time", - "description": "Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "properties": { - "description": "A list of key value pairs that describe the resource.\r\nOnly string and numeral values are supported.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "AgriFoodFarmingPlantingDataChangedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.PlantingDataChanged event.", - "type": "object", - "properties": { - "actionType": { - "$ref": "#/definitions/AgriFoodFarmingResourceActionType" - }, - "farmerId": { - "description": "Id of the farmer it belongs to.", - "type": "string" - }, - "status": { - "description": "Status of the resource.", - "type": "string" - }, - "source": { - "description": "Source of the farm operation data.", - "type": "string" - }, - "modifiedDateTime": { - "format": "date-time", - "description": "Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "eTag": { - "description": "The ETag value to implement optimistic concurrency.", - "type": "string" - }, - "id": { - "description": "Unique id of resource.", - "type": "string" - }, - "name": { - "description": "Name to identify resource.", - "type": "string" - }, - "description": { - "description": "Textual description of resource.", - "type": "string" - }, - "createdDateTime": { - "format": "date-time", - "description": "Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "properties": { - "description": "A list of key value pairs that describe the resource.\r\nOnly string and numeral values are supported.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "AgriFoodFarmingHarvestDataChangedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.HarvestDataChanged event.", - "type": "object", - "properties": { - "actionType": { - "$ref": "#/definitions/AgriFoodFarmingResourceActionType" - }, - "farmerId": { - "description": "Id of the farmer it belongs to.", - "type": "string" - }, - "status": { - "description": "Status of the resource.", - "type": "string" - }, - "source": { - "description": "Source of the farm operation data.", - "type": "string" - }, - "modifiedDateTime": { - "format": "date-time", - "description": "Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "eTag": { - "description": "The ETag value to implement optimistic concurrency.", - "type": "string" - }, - "id": { - "description": "Unique id of resource.", - "type": "string" - }, - "name": { - "description": "Name to identify resource.", - "type": "string" - }, - "description": { - "description": "Textual description of resource.", - "type": "string" - }, - "createdDateTime": { - "format": "date-time", - "description": "Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "properties": { - "description": "A list of key value pairs that describe the resource.\r\nOnly string and numeral values are supported.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "AgriFoodFarmingTillageDataChangedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.TillageDataChanged event.", - "type": "object", - "properties": { - "actionType": { - "$ref": "#/definitions/AgriFoodFarmingResourceActionType" - }, - "farmerId": { - "description": "Id of the farmer it belongs to.", - "type": "string" - }, - "status": { - "description": "Status of the resource.", - "type": "string" - }, - "source": { - "description": "Source of the farm operation data.", - "type": "string" - }, - "modifiedDateTime": { - "format": "date-time", - "description": "Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "eTag": { - "description": "The ETag value to implement optimistic concurrency.", - "type": "string" - }, - "id": { - "description": "Unique id of resource.", - "type": "string" - }, - "name": { - "description": "Name to identify resource.", - "type": "string" - }, - "description": { - "description": "Textual description of resource.", - "type": "string" - }, - "createdDateTime": { - "format": "date-time", - "description": "Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "properties": { - "description": "A list of key value pairs that describe the resource.\r\nOnly string and numeral values are supported.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "AgriFoodFarmingJobStatus": { - "description": "Various states a job can be in.", - "enum": [ - "Waiting", - "Running", - "Succeeded", - "Failed", - "Cancelled" - ], - "type": "string", - "x-ms-enum": { - "name": "AgriFoodFarmingJobStatus", - "modelAsString": true - } - }, - "AgriFoodFarmingSatelliteDataIngestionJobStatusChangedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.SatelliteDataIngestionJobStatusChanged event.", - "type": "object", - "properties": { - "farmerId": { - "description": "Farmer id for which job was created.", - "type": "string" - }, - "message": { - "description": "Status message to capture more details of the job.", - "type": "string" - }, - "status": { - "$ref": "#/definitions/AgriFoodFarmingJobStatus" - }, - "lastActionDateTime": { - "format": "date-time", - "description": "Date-time when last action was taken on job, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "isCancellationRequested": { - "description": "Flag that gets set when job cancellation is requested.", - "type": "boolean" - }, - "id": { - "description": "Unique id of resource.", - "type": "string" - }, - "name": { - "description": "Name to identify resource.", - "type": "string" - }, - "description": { - "description": "Textual description of resource.", - "type": "string" - }, - "createdDateTime": { - "format": "date-time", - "description": "Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "properties": { - "description": "A list of key value pairs that describe the resource.\r\nOnly string and numeral values are supported.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "AgriFoodFarmingWeatherDataIngestionJobStatusChangedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.WeatherDataIngestionJobStatusChanged event.", - "type": "object", - "properties": { - "farmerId": { - "description": "Farmer id for which job was created.", - "type": "string" - }, - "message": { - "description": "Status message to capture more details of the job.", - "type": "string" - }, - "status": { - "$ref": "#/definitions/AgriFoodFarmingJobStatus" - }, - "lastActionDateTime": { - "format": "date-time", - "description": "Date-time when last action was taken on job, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "isCancellationRequested": { - "description": "Flag that gets set when job cancellation is requested.", - "type": "boolean" - }, - "id": { - "description": "Unique id of resource.", - "type": "string" - }, - "name": { - "description": "Name to identify resource.", - "type": "string" - }, - "description": { - "description": "Textual description of resource.", - "type": "string" - }, - "createdDateTime": { - "format": "date-time", - "description": "Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "properties": { - "description": "A list of key value pairs that describe the resource.\r\nOnly string and numeral values are supported.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "AgriFoodFarmingFarmOperationDataIngestionJobStatusChangedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.FarmOperationDataIngestionJobStatusChanged event.", - "type": "object", - "properties": { - "farmerId": { - "description": "Farmer id for which job was created.", - "type": "string" - }, - "message": { - "description": "Status message to capture more details of the job.", - "type": "string" - }, - "status": { - "$ref": "#/definitions/AgriFoodFarmingJobStatus" - }, - "lastActionDateTime": { - "format": "date-time", - "description": "Date-time when last action was taken on job, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "isCancellationRequested": { - "description": "Flag that gets set when job cancellation is requested.", - "type": "boolean" - }, - "id": { - "description": "Unique id of resource.", - "type": "string" - }, - "name": { - "description": "Name to identify resource.", - "type": "string" - }, - "description": { - "description": "Textual description of resource.", - "type": "string" - }, - "createdDateTime": { - "format": "date-time", - "description": "Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.", - "type": "string" - }, - "properties": { - "description": "A list of key value pairs that describe the resource.\r\nOnly string and numeral values are supported.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - } -} diff --git a/specification/eventgrid/data-plane/readme.md b/specification/eventgrid/data-plane/readme.md index 0c27acfb7f1b..555b2d27c3c4 100644 --- a/specification/eventgrid/data-plane/readme.md +++ b/specification/eventgrid/data-plane/readme.md @@ -86,7 +86,6 @@ input-file: - Microsoft.Web/stable/2018-01-01/Web.json - Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json - Microsoft.PolicyInsights/stable/2018-01-01/PolicyInsights.json -- Microsoft.AgFoodPlatform/stable/2018-01-01/AzureFarmBeats.json ```