{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ibm-api-connect/json-schema/ibm-api-connect-gateway-porting-assessment-bulk-action-request-schema.json",
  "title": "GatewayPortingAssessmentBulkActionRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ibm-api-connect-datapower-nano-gateway-api-porting-advisor-api-openapi.yml#/components/schemas/GatewayPortingAssessmentBulkActionRequest",
  "type": "object",
  "properties": {
    "products": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "scope": {
                "type": "string"
              },
              "space": {
                "type": "string"
              },
              "product_url": {
                "type": "string"
              }
            },
            "required": [
              "product_url"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "scope": {
                "type": "string"
              },
              "space": {
                "type": "string"
              },
              "product": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "version": {
                    "type": "string"
                  }
                },
                "required": [
                  "name",
                  "version"
                ]
              }
            },
            "required": [
              "product"
            ],
            "additionalProperties": false
          }
        ]
      }
    }
  }
}