{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telenor-sverige/json-schema/telenor-sverige-core-api-product-ordering-esim-reservation-esim-reservation-batch-result-schema.json",
  "title": "CoreApi.ProductOrdering.ESimReservation.ESimReservationBatchResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telenor-sverige-productordering-api-openapi.yml#/components/schemas/CoreApi.ProductOrdering.ESimReservation.ESimReservationBatchResult",
  "required": [
    "Id",
    "InvalidItems",
    "Items"
  ],
  "type": "object",
  "properties": {
    "Id": {
      "type": "integer",
      "format": "int32"
    },
    "Items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/CoreApi.ProductOrdering.ESimReservation.ESimReservationBatchItemResult"
      }
    },
    "InvalidItems": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/CoreApi.ProductOrdering.ESimReservation.ESimReservationInvalidItemResult"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "CoreApi.ProductOrdering.ESimReservation.ESimReservationBatchItemResult": {
      "required": [
        "Id",
        "Message",
        "PhoneNumber",
        "ReservedSimNumber"
      ],
      "type": "object",
      "properties": {
        "Id": {
          "type": "integer",
          "format": "int32"
        },
        "PhoneNumber": {
          "type": [
            "string",
            "null"
          ]
        },
        "ReservedSimNumber": {
          "type": [
            "string",
            "null"
          ]
        },
        "Message": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "CoreApi.ProductOrdering.ESimReservation.ESimReservationInvalidItemResult": {
      "required": [
        "Id",
        "Message",
        "PhoneNumber"
      ],
      "type": "object",
      "properties": {
        "Id": {
          "type": "integer",
          "format": "int32"
        },
        "PhoneNumber": {
          "type": [
            "string",
            "null"
          ]
        },
        "Message": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    }
  }
}