{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/azure-storage-account/refs/heads/main/json-schema/azure-storage-account-management-policy-rule-schema.json", "title": "ManagementPolicyRule", "description": "An object that wraps the Lifecycle rule. Each rule is uniquely defined by name.", "properties": { "definition": { "$ref": "#/definitions/ManagementPolicyDefinition", "description": "An object that defines the Lifecycle rule." }, "enabled": { "description": "Rule is enabled if set to true.", "type": "boolean" }, "name": { "description": "A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.", "type": "string" }, "type": { "description": "The valid value is Lifecycle", "enum": [ "Lifecycle" ], "type": "string", "x-ms-enum": { "modelAsString": true, "name": "type" } } }, "type": "object", "required": [ "name", "type", "definition" ] }