{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-data-factory/json-schema/microsoft-azure-data-factory-private-link-connection-approval-request-resource-schema.json",
  "title": "PrivateLinkConnectionApprovalRequestResource",
  "description": "Private Endpoint Connection Approval ARM resource.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-data-factory-privateendpointconnections-api-openapi.yml#/components/schemas/PrivateLinkConnectionApprovalRequestResource",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/PrivateLinkConnectionApprovalRequest",
      "description": "Core resource properties"
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/SubResource"
    }
  ],
  "$defs": {
    "PrivateEndpoint": {
      "type": "object",
      "description": "Private endpoint which a connection belongs to.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The resource Id for private endpoint"
        }
      }
    },
    "PrivateLinkConnectionApprovalRequest": {
      "type": "object",
      "description": "A request to approve or reject a private endpoint connection",
      "properties": {
        "privateLinkServiceConnectionState": {
          "$ref": "#/$defs/PrivateLinkConnectionState",
          "description": "The state of a private link connection"
        },
        "privateEndpoint": {
          "$ref": "#/$defs/PrivateEndpoint",
          "description": "The resource of private endpoint."
        }
      }
    },
    "PrivateLinkConnectionState": {
      "type": "object",
      "description": "The state of a private link connection",
      "properties": {
        "status": {
          "type": "string",
          "description": "Status of a private link connection"
        },
        "description": {
          "type": "string",
          "description": "Description of a private link connection"
        },
        "actionsRequired": {
          "type": "string",
          "description": "ActionsRequired for a private link connection"
        }
      }
    },
    "SubResource": {
      "type": "object",
      "description": "Azure Data Factory nested resource, which belongs to a factory.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The resource identifier.",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The resource name.",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The resource type.",
          "readOnly": true
        },
        "etag": {
          "type": "string",
          "description": "Etag identifies change in the resource.",
          "readOnly": true
        }
      }
    }
  }
}