{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/RetentionPolicy", "title": "RetentionPolicy", "type": "object", "description": "The retention policy.", "properties": { "Enabled": { "type": "boolean", "description": "Indicates whether a retention policy is enabled.", "example": true }, "Days": { "type": "integer", "minimum": 1, "maximum": 365, "description": "The number of days that metrics or logging data should be retained.", "example": 10 } } }