diff --git a/schemas/2020-05-12-preview/Microsoft.AgFoodPlatform.json b/schemas/2020-05-12-preview/Microsoft.AgFoodPlatform.json new file mode 100644 index 0000000000..60f3c5b9bd --- /dev/null +++ b/schemas/2020-05-12-preview/Microsoft.AgFoodPlatform.json @@ -0,0 +1,181 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-05-12-preview/Microsoft.AgFoodPlatform.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.AgFoodPlatform", + "description": "Microsoft AgFoodPlatform Resource Types", + "resourceDefinitions": { + "farmBeats": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-12-preview" + ] + }, + "location": { + "type": "string", + "description": "Geo-location where the resource lives." + }, + "name": { + "type": "string", + "description": "FarmBeats resource name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/FarmBeatsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "FarmBeats ARM Resource properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/farmBeats_extensions_childResource" + } + ] + } + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AgFoodPlatform/farmBeats" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AgFoodPlatform/farmBeats" + }, + "farmBeats_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-12-preview" + ] + }, + "name": { + "type": "string", + "description": "Id of extension proxy resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AgFoodPlatform/farmBeats/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.AgFoodPlatform/farmBeats/extensions" + } + }, + "definitions": { + "FarmBeatsProperties": { + "type": "object", + "properties": {}, + "description": "FarmBeats ARM Resource properties." + }, + "farmBeats_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-12-preview" + ] + }, + "name": { + "type": "string", + "description": "Id of extension proxy resource." + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.AgFoodPlatform/farmBeats/extensions" + }, + "SystemData": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource creation (UTC)." + }, + "createdBy": { + "type": "string", + "description": "The identity that created the resource." + }, + "createdByType": { + "type": "string", + "description": "The type of identity that created the resource. Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'." + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The type of identity that last modified the resource." + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the resource." + }, + "lastModifiedByType": { + "type": "string", + "description": "The type of identity that last modified the resource. Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'." + } + }, + "description": "Metadata pertaining to creation and last modification of the resource." + } + } +}