{
  "name": "RevalidatePath",
  "plane": "control",
  "terraformEligible": false,
  "protocol": {
    "kind": "cloudJson",
    "target": "CloudSites.RevalidatePath",
    "service": "sites"
  },
  "requestBody": "typed",
  "responseBody": "typed",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "deploymentId": {
        "default": null,
        "type": [
          "string",
          "null"
        ]
      },
      "expectedRevision": {
        "format": "uint64",
        "minimum": 0.0,
        "type": "integer"
      },
      "path": {
        "type": "string"
      },
      "siteId": {
        "type": "string"
      }
    },
    "required": [
      "expectedRevision",
      "path",
      "siteId"
    ],
    "title": "RevalidatePathRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "definitions": {
      "AsyncEffectState": {
        "enum": [
          "PENDING",
          "LEASED",
          "APPLIED",
          "TERMINAL_FAILED",
          "BLOCKED_PLATFORM"
        ],
        "type": "string"
      },
      "AsyncOperationStatus": {
        "properties": {
          "commandGeneration": {
            "format": "uint64",
            "minimum": 0.0,
            "type": "integer"
          },
          "detail": {
            "type": [
              "string",
              "null"
            ]
          },
          "edgePropagation": {
            "$ref": "#/definitions/EdgePropagationStatus"
          },
          "effectId": {
            "type": "string"
          },
          "state": {
            "$ref": "#/definitions/AsyncEffectState"
          }
        },
        "required": [
          "commandGeneration",
          "edgePropagation",
          "effectId",
          "state"
        ],
        "type": "object"
      },
      "EdgePropagationStatus": {
        "enum": [
          "COMPLETE",
          "PENDING",
          "FAILED"
        ],
        "type": "string"
      }
    },
    "properties": {
      "ok": {
        "type": "boolean"
      },
      "operations": {
        "items": {
          "$ref": "#/definitions/AsyncOperationStatus"
        },
        "type": "array"
      }
    },
    "required": [
      "ok",
      "operations"
    ],
    "title": "AsyncMutationResponse",
    "type": "object"
  }
}
