{
  "properties": {
    "spec": {
      "properties": {
        "replicationPolicy": {
          "type": "string"
        },
        "replicationSchedule": {
          "type": "string"
        },
        "state": {
          "enum": [
            "",
            "promoted",
            "established",
            "reestablished"
          ],
          "type": "string"
        },
        "volumeMappings": {
          "items": {
            "properties": {
              "localPVCName": {
                "type": "string"
              },
              "promotedSnapshotHandle": {
                "type": "string"
              },
              "remoteVolumeHandle": {
                "type": "string"
              }
            },
            "required": [
              "localPVCName"
            ],
            "type": "object",
            "additionalProperties": false
          },
          "maxItems": 1,
          "minItems": 1,
          "type": "array"
        }
      },
      "required": [
        "volumeMappings"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "properties": {
        "conditions": {
          "items": {
            "properties": {
              "lastTransitionTime": {
                "type": "string"
              },
              "localPVCName": {
                "type": "string"
              },
              "localVolumeHandle": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "observedGeneration": {
                "type": "integer"
              },
              "remoteVolumeHandle": {
                "type": "string"
              },
              "replicationPolicy": {
                "type": "string"
              },
              "replicationSchedule": {
                "type": "string"
              },
              "state": {
                "type": "string"
              }
            },
            "type": "object",
            "additionalProperties": false
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    }
  },
  "type": "object"
}
