{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-purview/json-schema/microsoft-purview-private-link-resource-schema.json",
  "title": "PrivateLinkResource",
  "description": "A privately linkable resource.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-purview-privatelinkresource-api-openapi.yml#/components/schemas/PrivateLinkResource",
  "type": "object",
  "properties": {
    "id": {
      "description": "The private link resource identifier.",
      "type": "string",
      "readOnly": true
    },
    "name": {
      "description": "The private link resource name.",
      "type": "string",
      "readOnly": true
    },
    "properties": {
      "$ref": "#/$defs/PrivateLinkResourceProperties",
      "description": "The private link resource properties.",
      "readOnly": true
    },
    "type": {
      "description": "The private link resource type.",
      "type": "string",
      "readOnly": true
    }
  },
  "$defs": {
    "PrivateLinkResourceProperties": {
      "description": "A privately linkable resource properties.",
      "type": "object",
      "properties": {
        "groupId": {
          "description": "The private link resource group identifier.",
          "type": "string",
          "readOnly": true
        },
        "requiredMembers": {
          "description": "This translates to how many Private IPs should be created for each privately linkable resource.",
          "uniqueItems": false,
          "type": "array",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "requiredZoneNames": {
          "description": "The required zone names for private link resource.",
          "uniqueItems": false,
          "type": "array",
          "items": {
            "type": "string"
          },
          "readOnly": true
        }
      }
    }
  }
}