{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-inspector/json-schema/amazon-inspector-list-account-permissions-response-schema.json",
  "title": "ListAccountPermissionsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-inspector-accountpermissions-api-openapi.yml#/components/schemas/ListAccountPermissionsResponse",
  "type": "object",
  "properties": {
    "permissions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Permission"
      },
      "description": "Contains details on the permissions an account has to configure Amazon Inspector."
    },
    "nextToken": {
      "type": "string",
      "description": "A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page."
    }
  },
  "required": [
    "permissions"
  ],
  "$defs": {
    "Permission": {
      "type": "object",
      "properties": {
        "service": {
          "type": "string",
          "description": "The services that the permissions allow an account to perform the given operations for."
        },
        "operation": {
          "type": "string",
          "description": "The operations that can be performed with the given permissions."
        }
      },
      "required": [
        "service",
        "operation"
      ]
    }
  }
}