{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alto-vebra/json-schema/alto-vebra-alto-inventory-api-models-responses-inventory-paged-results-schema.json",
  "title": "Alto.Inventory.Api.Models.Responses.InventoryPagedResults",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alto-vebra-inventory-api-openapi.yml#/components/schemas/Alto.Inventory.Api.Models.Responses.InventoryPagedResults",
  "type": "object",
  "properties": {
    "meta": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Inventory.Api.Models.Responses.Meta"
        }
      ]
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/Alto.Inventory.Api.Models.Responses.InventoryItem"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Alto.Inventory.Api.Models.Responses.Address": {
      "type": "object",
      "properties": {
        "subDwelling": {
          "type": [
            "string",
            "null"
          ]
        },
        "nameNo": {
          "type": [
            "string",
            "null"
          ]
        },
        "street": {
          "type": [
            "string",
            "null"
          ]
        },
        "locality": {
          "type": [
            "string",
            "null"
          ]
        },
        "town": {
          "type": [
            "string",
            "null"
          ]
        },
        "county": {
          "type": [
            "string",
            "null"
          ]
        },
        "postcode": {
          "type": [
            "string",
            "null"
          ]
        },
        "countryCode": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Alto.Inventory.Api.Models.Responses.InventoryItem": {
      "type": "object",
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ]
        },
        "address": {
          "allOf": [
            {
              "$ref": "#/$defs/Alto.Inventory.Api.Models.Responses.Address"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "Alto.Inventory.Api.Models.Responses.Meta": {
      "type": "object",
      "properties": {
        "nextToken": {
          "type": [
            "string",
            "null"
          ]
        },
        "previousToken": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    }
  }
}