{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-chrome/json-schema/google-chrome-google-chrome-policy-versions-v1-batch-inherit-org-unit-policies-request-schema.json",
  "title": "GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest",
  "description": "Request message for specifying that multiple policy values inherit their value from their parents.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-chrome-chromepolicy-customers-api-openapi.yml#/components/schemas/GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest",
  "type": "object",
  "properties": {
    "requests": {
      "description": "List of policies that have to inherit their values as defined by the `requests`. All requests in the list must follow these restrictions: 1. All schemas in the list must have the same root namespace. 2. All `policyTargetKey.targetResource` values must point to an org unit resource. 3. All `policyTargetKey` values must have the same key names in the ` additionalTargetKeys`. This also means if one of the targets has an empty `additionalTargetKeys` map, all of the targets must have an empty `additionalTargetKeys` map. 4. No two modification requests can reference the same `policySchema` + ` policyTargetKey` pair. ",
      "items": {
        "$ref": "#/$defs/GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest"
      },
      "type": "array"
    }
  },
  "$defs": {
    "GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest": {
      "properties": {
        "policyTargetKey": {
          "$ref": "#/$defs/GoogleChromePolicyVersionsV1PolicyTargetKey",
          "description": "Required. The key of the target for which we want to modify a policy. The target resource must point to an Org Unit."
        },
        "policySchema": {
          "description": "The fully qualified name of the policy schema that is being inherited.",
          "type": "string"
        }
      },
      "description": "Request parameters for inheriting policy value of a specific org unit target from the policy value of its parent org unit.",
      "type": "object"
    },
    "GoogleChromePolicyVersionsV1PolicyTargetKey": {
      "properties": {
        "targetResource": {
          "type": "string",
          "description": "The target resource on which this policy is applied. The following resources are supported: * Organizational Unit (\"orgunits/{orgunit_id}\") * Group (\"groups/{group_id}\")"
        },
        "additionalTargetKeys": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Map containing the additional target key name and value pairs used to further identify the target of the policy."
        }
      },
      "type": "object",
      "description": "The key used to identify the target on which the policy will be applied."
    }
  }
}