{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/main/json-schema/palo-alto-networks-tenant-group-policy-group-map-request-schema.json",
  "title": "TenantGroupPolicyGroupMapRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-policy-group-to-tenant-group-management-api-openapi.yml#/components/schemas/TenantGroupPolicyGroupMapRequest",
  "required": [
    "mappings"
  ],
  "type": "object",
  "properties": {
    "mappings": {
      "type": "array",
      "description": "Tenant group to Policy groups mappings.",
      "items": {
        "$ref": "#/$defs/TenantGroupPolicyGroupMapping"
      }
    }
  },
  "$defs": {
    "TenantGroupPolicyGroupMapping": {
      "required": [
        "policyGroupIds",
        "tenantGroupId"
      ],
      "type": "object",
      "properties": {
        "tenantGroupId": {
          "type": "string",
          "description": "Tenant group to which the policy groups are mapped.",
          "format": "uuid"
        },
        "policyGroupIds": {
          "type": "array",
          "description": "Policy groups to be mapped.",
          "items": {
            "type": "string",
            "description": "Policy groups to be mapped.",
            "format": "uuid"
          }
        }
      },
      "description": "Tenant group to Policy groups mappings."
    }
  }
}