24 lines
932 B
Text
24 lines
932 B
Text
|
|
let oci = import "schemas/lib/integration/oci_artifact_format.ncl" in
|
||
|
|
|
||
|
|
{
|
||
|
|
artifact = {
|
||
|
|
media_type = "application/vnd.ontoref.domain.v1",
|
||
|
|
id = "backup-policy-binding",
|
||
|
|
version = "0.1.0",
|
||
|
|
description = "Backup targets with scope and retention policy, delivered to cloudatasave or any backup-capable mode. Declares what to back up, at what granularity, and for how long to retain.",
|
||
|
|
layers = [
|
||
|
|
{
|
||
|
|
media_type = "application/vnd.ontoref.domain.contract.v1",
|
||
|
|
description = "contract.ncl — BackupPolicyBindingContext, BackupTarget, BackupScope, RetentionPreset",
|
||
|
|
required = true,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
media_type = "application/vnd.ontoref.domain.example.v1",
|
||
|
|
description = "example.json — sample context for docker-mailserver + odoo backup targets",
|
||
|
|
required = false,
|
||
|
|
},
|
||
|
|
],
|
||
|
|
uses_registry = "primary",
|
||
|
|
} | oci.DomainArtifact,
|
||
|
|
}
|