{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vaxcare/json-schema/vaxcare-vax-api-api-dto-inventory-adjustment-dto-schema.json",
  "title": "VaxApi.Api.Dto.InventoryAdjustmentDto",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vaxcare-openapi.json#/components/schemas/VaxApi.Api.Dto.InventoryAdjustmentDto",
  "type": "object",
  "properties": {
    "userName": {
      "type": [
        "string",
        "null"
      ]
    },
    "adjustmentType": {
      "$ref": "#/$defs/VaxApi.Models.AdjustmentType"
    },
    "delta": {
      "type": "integer",
      "format": "int32"
    },
    "isLotDataManuallyEntered": {
      "type": "boolean"
    },
    "lotExpirationDate": {
      "type": "string",
      "format": "date-time"
    },
    "lotNumber": {
      "type": [
        "string",
        "null"
      ]
    },
    "productId": {
      "type": "integer",
      "format": "int64"
    },
    "returnReason": {
      "$ref": "#/$defs/VaxApi.Models.ReturnReason"
    },
    "stock": {
      "$ref": "#/$defs/VaxApi.Models.FundingSource"
    },
    "userId": {
      "type": "integer",
      "format": "int32"
    },
    "wasteCategory": {
      "$ref": "#/$defs/VaxApi.Models.WasteCategory"
    },
    "partitionId": {
      "type": "integer",
      "format": "int64"
    },
    "receiptKey": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "removeReason": {
      "$ref": "#/$defs/VaxApi.Models.RemoveReason"
    },
    "adjustmentReason": {
      "type": [
        "string",
        "null"
      ]
    },
    "adjustmentReasonType": {
      "type": [
        "string",
        "null"
      ]
    },
    "adjustmentReturnDates": {
      "type": [
        "string",
        "null"
      ]
    },
    "isAm": {
      "type": "boolean"
    },
    "isPm": {
      "type": "boolean"
    },
    "doseValue": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "groupGuid": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "originatorAdjustmentId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "email": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "VaxApi.Models.AdjustmentType": {
      "enum": [
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11,
        12,
        13,
        15,
        16,
        17,
        18,
        19,
        20,
        21,
        22,
        23,
        24,
        25,
        26,
        27,
        28,
        29,
        30,
        31,
        32,
        33,
        34,
        35,
        36,
        37
      ],
      "type": "integer",
      "format": "int32"
    },
    "VaxApi.Models.FundingSource": {
      "enum": [
        1,
        2,
        3,
        4
      ],
      "type": "integer",
      "format": "int32"
    },
    "VaxApi.Models.RemoveReason": {
      "enum": [
        1,
        2
      ],
      "type": "integer",
      "format": "int32"
    },
    "VaxApi.Models.ReturnReason": {
      "enum": [
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11,
        12
      ],
      "type": "integer",
      "format": "int32"
    },
    "VaxApi.Models.WasteCategory": {
      "enum": [
        1,
        2,
        3,
        4,
        5
      ],
      "type": "integer",
      "format": "int32"
    }
  }
}