{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-data-factory/json-schema/microsoft-azure-data-factory-access-policy-response-schema.json",
  "title": "AccessPolicyResponse",
  "description": "Get Data Plane read only token response definition.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-data-factory-factories-api-openapi.yml#/components/schemas/AccessPolicyResponse",
  "type": "object",
  "properties": {
    "policy": {
      "$ref": "#/$defs/UserAccessPolicy",
      "description": "The user access policy."
    },
    "accessToken": {
      "type": "string",
      "description": "Data Plane read only access token."
    },
    "dataPlaneUrl": {
      "type": "string",
      "description": "Data Plane service base URL."
    }
  },
  "$defs": {
    "UserAccessPolicy": {
      "type": "object",
      "description": "Get Data Plane read only token request definition.",
      "properties": {
        "permissions": {
          "type": "string",
          "description": "The string with permissions for Data Plane access. Currently only 'r' is supported which grants read only access."
        },
        "accessResourcePath": {
          "type": "string",
          "description": "The resource path to get access relative to factory. Currently only empty string is supported which corresponds to the factory resource."
        },
        "profileName": {
          "type": "string",
          "description": "The name of the profile. Currently only the default is supported. The default value is DefaultProfile."
        },
        "startTime": {
          "type": "string",
          "description": "Start time for the token. If not specified the current time will be used."
        },
        "expireTime": {
          "type": "string",
          "description": "Expiration time for the token. Maximum duration for the token is eight hours and by default the token will expire in eight hours."
        }
      }
    }
  }
}