papinet / papiNet-API

papiNet is a global paper, forest products and bioproducts industry e-Business initiative.
http://www.papinet.org/
Apache License 2.0
9 stars 3 forks source link

Missing `loadingCharacteristics[]` and `unloadingCharacteristics[]` within `LogisticsDeliveryNoteById.lineItems[]` and `DeliveryInstructionById.sequences[].lineItems[]` #156

Closed patricekrakow closed 1 week ago

patricekrakow commented 1 week ago

We agreed (2024-06-19) on this structure:

loadingCharacteristics:
  type: array
  minItems: 1
  items:
    type: object
    required: []
      # type is not required
      # code is not required
      # labelOrientation is not required
      # text is not required
    properties:
      type:
        type: string
        enum:
          - ByLoadingCode
          - Lying
          - Standing
          - StandingUpsideDown
          - Other
      code:
        type: object
        required:
          - value
          - assignedBy
        properties:
          value:
            type: string
            minLength: 1
          assignedBy:
            type: string
            enum:
              -Supplier
      labelOrientation:
        type: string
        enum:
          - BackEndSide
          - FrontEndSide
          - LeftAndRightSide
          - LeftSide
          - RightSide
      text:
        type: string
        minLength: 1
patricekrakow commented 1 week ago

Done, see commit bcf95ef.