{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ReplicationConfig",
  "title": "ReplicationConfig",
  "type": "object",
  "description": "Configure how replication is executed in a cluster",
  "properties": {
    "factor": {
      "type": "integer",
      "description": "Number of times a collection (class) is replicated (default: 1)."
    },
    "asyncEnabled": {
      "type": "boolean",
      "description": "Enable asynchronous replication (default: `false`)."
    },
    "asyncConfig": {
      "$ref": "#/components/schemas/ReplicationAsyncConfig"
    },
    "deletionStrategy": {
      "type": "string",
      "description": "Conflict resolution strategy for deleted objects.",
      "enum": [
        "NoAutomatedResolution",
        "DeleteOnConflict",
        "TimeBasedResolution"
      ]
    }
  }
}