DeprecationPolicyBase

DeprecationPolicyBase
DeprecationPolicyBase

Basic information for a deprecation policy

JSON Example
{
    "key": "wordpress-6-deprecation",
    "name": "Deprecation of Wordpress 6",
    "deprecation_date": "2022-12-14T00:00:00.000Z",
    "grace_period_days": 30,
    "reason": "We will only maintain newest versions of Wordpress",
    "alternative": "Wordpress 7 can be used instead"
}
string As ^[a-zA-Z0-9._-]+$
key
Required
Constraints: maxLength: 100

Key for the deprecation policy. Only alphanumeric, underscore, dash and dot characters are allowed.

string
name
Required
Constraints: maxLength: 100

Human-readable name for the deprecation policy.

string As date As date
deprecation_date
Required

Effective date since which the deprecation policy will take effect.

integer As int32 As int32
grace_period_days
Optional
Constraints: default: 0

Period of time in days after the deprecation date in which the support for the catalog item, might be reduced instead of being completely removed.

string
reason
Optional
Constraints: maxLength: 255

Sentence explaining why the deprecation policy is set.

string
alternative
Optional
Constraints: maxLength: 255

Sentence pointing to alternatives to the deprecated resource.