{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed/main/json-schema/lightspeed-outlet-tax-collection-schema.json",
  "title": "OutletTaxCollection",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lightspeed-outlet-product-taxes-api-openapi.yml#/components/schemas/OutletTaxCollection",
  "properties": {
    "data": {
      "description": "An array of outlet-product-tax records.",
      "items": {
        "$ref": "#/$defs/OutletTax"
      },
      "type": "array"
    },
    "version": {
      "$ref": "#/$defs/Version"
    }
  },
  "type": "object",
  "$defs": {
    "OutletTax": {
      "properties": {
        "deleted_at": {
          "description": "Deletion timestamp in UTC.",
          "type": [
            "string",
            "null"
          ]
        },
        "outlet_id": {
          "description": "The ID of the outlet this record is associated with.",
          "format": "uuid",
          "type": "string"
        },
        "product_id": {
          "description": "The ID of the product this record is associated with.",
          "format": "uuid",
          "type": "string"
        },
        "tax_id": {
          "description": "The ID of the tax this record is associated with.",
          "format": "uuid",
          "type": "string"
        },
        "version": {
          "description": "Auto-incrementing object version number.",
          "format": "int64",
          "type": "integer"
        }
      },
      "required": [
        "outlet_id",
        "product_id",
        "tax_id",
        "version"
      ],
      "title": "Outlet Product Tax",
      "type": "object"
    },
    "Version": {
      "description": "An object containing the highest and lowest version numbers for all items of the returned collection.",
      "properties": {
        "max": {
          "description": "Highest version number of the payload, or `null` when the result set is empty.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "min": {
          "description": "Lowest version number of the payload, or `null` when the result set is empty.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "max",
        "min"
      ],
      "type": "object"
    }
  }
}