{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-verified-permissions/json-schema/amazon-verified-permissions-batch-get-policy-input-schema.json",
  "title": "BatchGetPolicyInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-verified-permissions-batchgetpolicy-api-openapi.yml#/components/schemas/BatchGetPolicyInput",
  "type": "object",
  "properties": {
    "requests": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BatchGetPolicyInputItem"
      },
      "description": "An array of up to 100 policies you want information about."
    }
  },
  "required": [
    "requests"
  ],
  "$defs": {
    "BatchGetPolicyInputItem": {
      "type": "object",
      "properties": {
        "policyStoreId": {
          "type": "string",
          "description": "The identifier of the policy store where the policy you want information about is stored."
        },
        "policyId": {
          "type": "string",
          "description": "The identifier of the policy you want information about. You can use the policy name in place of the policy ID. When using a name, prefix it with name/. For example: ID: SPEXAMPLEabcdefg111111 Name: name/example-policy"
        }
      },
      "required": [
        "policyStoreId",
        "policyId"
      ]
    }
  }
}