Nash Batch Job API

Batch Job

OpenAPI Specification

nash-batch-job-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Nash AI Functions Batch Job API
  version: 1.0.0
  description: LLM-backed domain tools
servers:
- url: https://api.sandbox.usenash.com
  description: Sandbox API
- url: https://api.sandbox.ap-southeast-2.usenash.com
  description: Sandbox API (Australia)
- url: https://api.usenash.com
  description: Production API
- url: https://api.ap-southeast-2.usenash.com
  description: Production API (Australia)
tags:
- name: Batch Job
  description: Batch Job
  x-nash-topic: wismo
paths:
  /v1/batch_job:
    post:
      tags:
      - Batch Job
      summary: Create Batch Job
      description: Create a batch job containing multiple packages for multi-stop delivery. Each package has its own pickup and dropoff locations within a single job.
      operationId: create_batch_job_v1_batch_job_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateBatchJobInputSerializer'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReturnedBatchJobMixin'
        '422':
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NashValidationError'
  /v1/jobs/{id}/{jobConfigurationId}:
    patch:
      tags:
      - Batch Job
      summary: Update Job by JobID/ExternalIdentifier and Job Configuration ID
      description: Update a specific package within a batch job. Use the job configuration ID to target a particular package's details.
      operationId: update_job_v1_jobs__string_id___string_jobConfigurationId__patch
      parameters:
      - name: id
        in: path
        description: Job ID or External Identifier
        required: true
        schema:
          title: Id
          anyOf:
          - type: string
          - type: 'null'
          description: Job ID or External Identifier
      - name: jobConfigurationId
        in: path
        description: Job Configuration ID (for updating a package in a batch job)
        required: true
        schema:
          title: Jobconfigurationid
          anyOf:
          - type: string
          - type: 'null'
          description: Job Configuration ID (for updating a package in a batch job)
          default: null
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateJobInputSerializer'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReturnedBatchJobMixin'
        '422':
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NashValidationError'
  /v1/jobs/{jobId}/batch/{batchId}/refresh_quotes:
    post:
      tags:
      - Batch Job
      summary: Refresh Quotes by Job ID and Batch ID
      description: Request fresh price quotes from delivery providers for all tasks in a batch. Replaces existing quotes with updated pricing for the entire batch.
      operationId: refresh_quotes_batch_v1_jobs__string_jobId__batch__string_batchId__refresh_quotes_post
      parameters:
      - name: jobId
        in: path
        description: job id
        required: true
        schema:
          title: Jobid
          type: string
          description: job id
      - name: batchId
        in: path
        description: batch id
        required: true
        schema:
          title: Batchid
          type: string
          description: batch id
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RefreshBatchQuotesOutputSerializer'
        '422':
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NashValidationError'
  /v1/jobs/{jobId}/{objectId}/cancel:
    post:
      tags:
      - Batch Job
      summary: Cancel Job by Job ID and Task or Job Configuration ID
      description: Cancel a specific task or job configuration within a batch job. The objectId can be a task ID (tsk_ prefix) or job configuration ID (cfg_ prefix).
      operationId: cancel_job_v1_jobs__string_jobId___string_objectId__cancel_post
      parameters:
      - name: jobId
        in: path
        description: job id
        required: true
        schema:
          title: Jobid
          type: string
          description: job id
      - name: objectId
        in: path
        description: Task ID or Job Configuration ID
        required: true
        schema:
          title: Objectid
          anyOf:
          - type: string
          - type: 'null'
          description: Task ID or Job Configuration ID
          default: null
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FullJobPayload'
        '422':
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NashValidationError'
components:
  schemas:
    ItemScanSerializer:
      title: ItemScanSerializer
      type: object
      properties:
        substitutionType:
          title: Substitutiontype
          anyOf:
          - type: string
          - type: 'null'
          default: null
        barcodes:
          title: Barcodes
          anyOf:
          - type: array
            items:
              $ref: '#/components/schemas/BarcodeInfoSerializer'
          - type: 'null'
          default: null
      description: Serializer for individual item scans.
    PackageSerializer:
      title: PackageSerializer
      required:
      - id
      - requirements
      - valueCents
      - itemsCount
      - pickupLocation
      - dropoffLocation
      type: object
      properties:
        id:
          title: Id
          type: string
          description: Package ID
          example: pkg_01234567890
        description:
          title: Description
          anyOf:
          - type: string
          - type: 'null'
          description: Description
          default: null
          example: Package description
        requirements:
          title: Requirements
          type: array
          items:
            type: string
          description: Requirements
          example:
          - photo_proof_of_delivery
          - age_verification_on_delivery
        tags:
          title: Tags
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Tags
          default: null
          example:
          - Alcohol
        packageDeliveryMode:
          title: Packagedeliverymode
          anyOf:
          - type: string
          - type: 'null'
          description: Package delivery mode
          default: null
          example: now
        pickupStartTime:
          title: Pickupstarttime
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup start time
          default: null
          example: '2021-01-01T00:00:00Z'
        pickupEndTime:
          title: Pickupendtime
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup end time
          default: null
          example: '2021-01-01T00:00:00Z'
        pickupBarcodes:
          title: Pickupbarcodes
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          default: null
        dropoffStartTime:
          title: Dropoffstarttime
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff start time
          default: null
          example: '2021-01-01T00:00:00Z'
        dropoffEndTime:
          title: Dropoffendtime
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff end time
          default: null
          example: '2021-01-01T00:00:00Z'
        dropoffBarcodes:
          title: Dropoffbarcodes
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          default: null
        valueCents:
          title: Valuecents
          type: integer
        taxCents:
          title: Taxcents
          anyOf:
          - type: integer
          - type: 'null'
          description: Tax in cents
          default: null
          example: 100
        serviceFeeCents:
          title: Servicefeecents
          anyOf:
          - type: integer
          - type: 'null'
          description: Service fee in cents
          default: null
          example: 100
        itemsCount:
          title: Itemscount
          anyOf:
          - type: integer
          - type: number
          description: Items count
          example: 100
        externalIdentifier:
          title: Externalidentifier
          anyOf:
          - type: string
          - type: 'null'
          description: External identifier
          default: null
          example: mini-mart-order-99
        minimumVehicleSize:
          title: Minimumvehiclesize
          enum:
          - any
          - bike
          - motorbike
          - cargobike
          - sedan
          - car
          - suv
          - pickup_truck
          - pickup
          - van
          - large_van
          - extra_large_van
          - truck
          anyOf:
          - type: string
          - type: 'null'
          description: 'Minimum vehicle size required for the package. Allowed values: [''any'', ''bike'', ''motorbike'', ''cargobike'', ''sedan'', ''car'', ''suv'', ''pickup_truck'', ''pickup'', ''van'', ''large_van'', ''extra_large_van'', ''truck'']'
          default: null
          example: car
        pickupLocation:
          $ref: '#/components/schemas/LocationSerializer'
        pickupStoreLocationId:
          title: Pickupstorelocationid
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup store location ID
          default: null
          example: store_01234567890
        pickupStoreLocationExternalId:
          title: Pickupstorelocationexternalid
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup store location external ID
          default: null
          example: '0123'
        dropoffLocation:
          $ref: '#/components/schemas/LocationSerializer'
        dropoffStoreLocationId:
          title: Dropoffstorelocationid
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff store location ID
          default: null
          example: store_01234567890
        drivingMetrics:
          title: Drivingmetrics
          anyOf:
          - type: object
            additionalProperties: true
          - type: 'null'
          description: Driving metrics (distance in meters, duration in seconds)
          default: null
          example:
            distance: 100
            duration: 100
        value:
          title: Value
          anyOf:
          - type: number
          - type: 'null'
          description: Value
          default: null
          example: 100.0
        tax:
          title: Tax
          anyOf:
          - type: integer
          - type: number
          - type: 'null'
          description: Tax
          default: null
          example: 100
        serviceFee:
          title: Servicefee
          anyOf:
          - type: integer
          - type: number
          - type: 'null'
          description: Service fee
          default: null
          example: 100
        tipAmountCents:
          title: Tipamountcents
          anyOf:
          - type: integer
          - type: 'null'
          default: null
        weight:
          title: Weight
          anyOf:
          - type: integer
          - type: number
          - type: 'null'
          description: Weight
          default: null
          example: 100
        dimensions:
          title: Dimensions
          anyOf:
          - type: object
            additionalProperties: true
          - type: 'null'
          description: Dimensions
          default: null
          example:
            height: 100
            length: 100
            width: 100
        items:
          title: Items
          anyOf:
          - type: array
            items:
              $ref: '#/components/schemas/ItemOutput'
          - type: 'null'
          description: Items
          default: null
          example:
          - count: 1
            description: Item 1
            valueCents: 100
        referenceId:
          title: Referenceid
          anyOf:
          - type: string
          - type: 'null'
          description: Reference ID
          default: null
          example: mini-mart-order-99
        packageMetadata:
          title: Packagemetadata
          anyOf:
          - type: object
            additionalProperties: true
          - type: 'null'
          description: Package metadata
          default: null
          example:
            key: value
      description: Generic serializer for packages used in many endpoints; Used for output.
    OptionsGroupSerializer:
      title: OptionsGroupSerializer
      required:
      - id
      - label
      type: object
      properties:
        id:
          title: Id
          type: string
          description: Dispatch Strategy ID
          example: opn_WyMhHj
        label:
          title: Label
          type: string
          description: Dispatch Strategy Label
          example: New York City Strategy
        allowedProviders:
          title: Allowedproviders
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Allowed providers
          default: null
          example:
          - prv_01234567890
          - prv_01234567891
        enableAutoDispatch:
          title: Enableautodispatch
          anyOf:
          - type: boolean
          - type: 'null'
          description: Enable auto dispatch
          default: null
          example: true
        providerSelectionStrategy:
          title: Providerselectionstrategy
          anyOf:
          - type: string
          - type: 'null'
          description: Provider selection strategy
          default: null
          example: cheapest
        reassignOnFailure:
          title: Reassignonfailure
          anyOf:
          - type: boolean
          - type: 'null'
          description: Reassign on failure
          default: null
          example: true
        enableMaxDeliveryFee:
          title: Enablemaxdeliveryfee
          anyOf:
          - type: boolean
          - type: 'null'
          description: Enable max delivery fee
          default: null
          example: true
        maxDeliveryFeeCents:
          title: Maxdeliveryfeecents
          anyOf:
          - type: integer
          - type: 'null'
          description: Max delivery fee in cents
          default: null
          example: 10000
        costSplitMaxFixedPriceCents:
          title: Costsplitmaxfixedpricecents
          anyOf:
          - type: integer
          - type: 'null'
          description: Cost split max fixed price in cents
          default: null
          example: 10000
        costSplitMaxPercentage:
          title: Costsplitmaxpercentage
          anyOf:
          - type: number
          - type: 'null'
          description: Cost split max percentage
          default: null
          example: 0.1
        costSplitStrategy:
          title: Costsplitstrategy
          anyOf:
          - type: string
          - type: 'null'
          description: Cost split strategy
          default: null
          example: price
        smartReassignment:
          title: Smartreassignment
          anyOf:
          - type: boolean
          - type: 'null'
          description: Smart reassignment
          default: null
          example: true
      description: Generic serializer for options groups used in many endpoints.
    NashErrorDetails:
      title: NashErrorDetails
      required:
      - code
      - message
      type: object
      properties:
        code:
          title: Code
          type: string
        message:
          title: Message
          type: string
        details:
          title: Details
          anyOf:
          - type: object
            additionalProperties: true
          - type: 'null'
          default: null
    ReturnedJobMixin:
      title: ReturnedJobMixin
      required:
      - id
      - createdAt
      - portalUrl
      - isActive
      - isBatch
      - jobConfigurations
      type: object
      properties:
        id:
          title: Id
          type: string
          description: Job ID
          example: job_01234567890
        createdAt:
          title: Createdat
          type: string
          description: Created at
          example: '2023-08-29T19:17:46.264523'
        portalUrl:
          title: Portalurl
          type: string
          description: Portal URL
          example: https://usenash.com/portal/job_abc123
        externalIdentifier:
          title: Externalidentifier
          anyOf:
          - type: string
          - type: 'null'
          description: External identifier
          default: null
          example: mini-mart-order-99
        jobMetadata:
          title: Jobmetadata
          anyOf:
          - type: object
            additionalProperties: true
          - type: 'null'
          description: Job metadata
          default: null
          example:
            key: value
        isActive:
          title: Isactive
          type: boolean
          description: Is the job active
          example: true
        isBatch:
          title: Isbatch
          type: boolean
          description: Is the job a batch
          example: false
        jobConfigurations:
          title: Jobconfigurations
          type: array
          items:
            $ref: '#/components/schemas/JobConfigurationsSerializer'
          description: Job configurations
        optionsGroup:
          anyOf:
          - $ref: '#/components/schemas/OptionsGroupSerializer'
          - type: 'null'
          description: Options group
          default: null
        shortReferenceCode:
          title: Shortreferencecode
          anyOf:
          - type: string
          - type: 'null'
          description: 7-digit non-unique human-readable reference code for the job.
          default: null
          example: '0123456'
        selectedConfiguration:
          title: Selectedconfiguration
          anyOf:
          - type: object
            additionalProperties:
              type: array
              items:
                $ref: '#/components/schemas/TaskSerializer'
          - type: 'null'
          description: Selected configuration
          default: null
          example:
            tasks: []
          deprecated: true
        jobSpecification:
          title: Jobspecification
          anyOf:
          - type: object
            additionalProperties:
              type: array
              items:
                $ref: '#/components/schemas/PackageSerializer'
          - type: 'null'
          description: Job specification
          default: null
          example:
            packages: []
          deprecated: true
        route:
          anyOf:
          - $ref: '#/components/schemas/RouteSerializer'
          - type: 'null'
          description: Route
          default: null
      description: A Nash Job.
    DriverGroupSerializer:
      title: DriverGroupSerializer
      type: object
      properties:
        id:
          title: Id
          anyOf:
          - type: string
          - type: 'null'
          default: null
        externalId:
          title: Externalid
          anyOf:
          - type: string
          - type: 'null'
          default: null
      description: Driver group details for a route.
    VehicleSerializer:
      title: VehicleSerializer
      type: object
      properties:
        licensePlate:
          title: Licenseplate
          anyOf:
          - type: string
          - type: 'null'
          default: null
        make:
          title: Make
          anyOf:
          - type: string
          - type: 'null'
          default: null
        model:
          title: Model
          anyOf:
          - type: string
          - type: 'null'
          default: null
        color:
          title: Color
          anyOf:
          - type: string
          - type: 'null'
          default: null
        year:
          title: Year
          anyOf:
          - type: integer
          - type: 'null'
          default: null
        type:
          title: Type
          anyOf:
          - type: string
          - type: 'null'
          default: null
      description: Vehicle details for a route.
    ParsedAddressInputSerializer:
      title: ParsedAddressInputSerializer
      required:
      - street
      - city
      - country
      type: object
      properties:
        number:
          title: Number
          anyOf:
          - type: string
          - type: 'null'
          description: The number of the address.
          default: null
          example: '1600'
        secondaryNumber:
          title: Secondarynumber
          anyOf:
          - type: string
          - type: 'null'
          description: The secondary number of the address.
          default: null
          example: null
        street:
          title: Street
          type: string
          description: 'The street of the address. If your geocoding service does not split numbers from street names, you can pass the street name with the number in this field. Example: 1600 Pennsylvania Avenue NW.'
          example: Pennsylvania Avenue NW
        county:
          title: County
          anyOf:
          - type: string
          - type: 'null'
          description: The county of the address.
          default: null
          example: Washington
        city:
          title: City
          type: string
          description: The city of the address.
          example: Washington
        state:
          title: State
          anyOf:
          - type: string
          - type: 'null'
          description: The state of the address.
          default: null
          example: DC
        postalCode:
          title: Postalcode
          anyOf:
          - type: string
          - type: 'null'
          description: The postal code of the address.
          default: null
          example: '20500'
        country:
          title: Country
          type: string
          description: The country of the address.
          example: US
        latitude:
          title: Latitude
          anyOf:
          - type: number
          - type: 'null'
          description: The latitude of the address.
          default: null
          example: 38.8948949
        longitude:
          title: Longitude
          anyOf:
          - type: number
          - type: 'null'
          description: The longitude of the address.
          default: null
          example: -77.0371581
      description: Parsed address input serializer for creating a job.
    NoteSerializer:
      title: NoteSerializer
      required:
      - id
      - createdAt
      - note
      - user
      type: object
      properties:
        id:
          title: Id
          type: string
          description: Note ID
          example: not_01234567890
        createdAt:
          title: Createdat
          type: string
          description: Created at
          example: '2023-08-29T19:17:46.264523'
        note:
          title: Note
          type: string
          description: Note
          example: Task note
        user:
          anyOf:
          - $ref: '#/components/schemas/BasicUserSerializer'
          - type: 'null'
          description: User
          example:
            email: john.doe@example.com
      description: Generic serializer for notes used in many endpoints.
    UpdateJobInputSerializer:
      title: UpdateJobInputSerializer
      type: object
      properties:
        pickupAddress:
          title: Pickupaddress
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup address
          default: null
        pickupAddressComponents:
          anyOf:
          - $ref: '#/components/schemas/ParsedAddressInputSerializer'
          - type: 'null'
          default: null
        pickupPhoneNumber:
          title: Pickupphonenumber
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup phone number
          default: null
        pickupBusinessName:
          title: Pickupbusinessname
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup business name
          default: null
        pickupFirstName:
          title: Pickupfirstname
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup first name
          default: null
        pickupLastName:
          title: Pickuplastname
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup last name
          default: null
        pickupEmail:
          title: Pickupemail
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup email
          default: null
        pickupInstructions:
          title: Pickupinstructions
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup instructions
          default: null
        pickupStoreLocationId:
          title: Pickupstorelocationid
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup store location ID
          default: null
        pickupBarcodes:
          title: Pickupbarcodes
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          default: null
        dropoffAddress:
          title: Dropoffaddress
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff address
          default: null
        dropoffAddressComponents:
          anyOf:
          - $ref: '#/components/schemas/ParsedAddressInputSerializer'
          - type: 'null'
          default: null
        dropoffPhoneNumber:
          title: Dropoffphonenumber
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff phone number
          default: null
        dropoffBusinessName:
          title: Dropoffbusinessname
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff business name
          default: null
        dropoffFirstName:
          title: Dropofffirstname
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff first name
          default: null
        dropoffLastName:
          title: Dropofflastname
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff last name
          default: null
        dropoffEmail:
          title: Dropoffemail
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff email
          default: null
        dropoffStoreLocationId:
          title: Dropoffstorelocationid
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff store location ID
          default: null
        dropoffInstructions:
          title: Dropoffinstructions
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff instructions
          default: null
        dropoffBarcodes:
          title: Dropoffbarcodes
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          default: null
        packageDeliveryMode:
          title: Packagedeliverymode
          anyOf:
          - type: string
          - type: 'null'
          description: Package delivery mode
          default: null
        packagePickupStartTime:
          title: Packagepickupstarttime
          anyOf:
          - pattern: (\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}).?(\d)*Z?
            type: string
          - type: 'null'
          description: Package pickup start time
          default: null
        packagePickupEndTime:
          title: Packagepickupendtime
          anyOf:
          - pattern: (\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}).?(\d)*Z?
            type: string
          - type: 'null'
          description: Package pickup end time
          default: null
        packageDropoffStartTime:
          title: Packagedropoffstarttime
          anyOf:
          - pattern: (\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}).?(\d)*Z?
            type: string
          - type: 'null'
          description: Package dropoff start time
          default: null
        packageDropoffEndTime:
          title: Packagedropoffendtime
          anyOf:
          - pattern: (\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}).?(\d)*Z?
            type: string
          - type: 'null'
          description: Package dropoff end time
          default: null
        packageDescription:
          title: Packagedescription
          anyOf:
          - type: string
          - type: 'null'
          description: Package description
          default: null
        packageRequirements:
          title: Packagerequirements
          anyOf:
          - type: array
            items:
              anyOf:
              - $ref: '#/components/schemas/PackageRequirements'
              - pattern: ^(custom|preferred):.*
                type: string
          - type: 'null'
          description: Package requirements.
          default: null
          example:
          - photo_proof_of_delivery
          - age_verification_on_delivery
        packageMinimumVehicleSize:
          title: Packageminimumvehiclesize
          enum:
          - any
          - bike
          - motorbike
          - cargobike
          - sedan
          - car
          - suv
          - pickup_truck
          - pickup
          - van
          - large_van
          - extra_large_van
          - truck
          anyOf:
          - type: string
          - type: 'null'
          description: 'Minimum vehicle size required for the package. Allowed values: [''any'', ''bike'', ''motorbike'', ''cargobike'', ''sedan'', ''car'', ''suv'', ''pickup_truck'', ''pickup'', ''van'', ''large_van'', ''extra_large_van'', ''truck'']'
          default: null
          example: car
        packageValue:
          title: Packagevalue
          anyOf:
          - type: number
          - type: 'null'
          description: Package value
          default: null
        packageTax:
          title: Packagetax
          anyOf:
          - type: number
          - type: 'null'
          description: Package tax
          default: null
        tipAmount:
          title: Tipamount
          anyOf:
          - type: number
          - type: 'null'
          description: Tip amount
          default: null
        currency:
          title: Currency
          anyOf:
          - type: string
          - type: 'null'
          description: Currency
          default: null
        packageItems:
          title: Packageitems
          anyOf:
          - type: array
            items:
              type: object
              additionalProperties: true
          - type: 'null'
          description: List of items in the package
          default: null
        referenceId:
          title: Referenceid
          anyOf:
          - type: string
          - type: 'null'
          description: Reference ID
          default: null
        itemsCount:
          title: Itemscount
          anyOf:
          - type: integer
          - type: 'null'
          description: Items 

# --- truncated at 32 KB (105 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/nash/refs/heads/main/openapi/nash-batch-job-api-openapi.yml