Commit 3b4b944c authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

fix issue #5 - fix definition for Checksum type

parent db18c9c3
Loading
Loading
Loading
Loading
Loading
+22 −5
Original line number Diff line number Diff line
@@ -670,13 +670,30 @@ definitions:
      Representation: string of variable length.
    type: string

  Checksum: #no definition found
  Checksum:
    description: >
      Cheksum description
      This type represents the checksum of a package or an artifact file.

      The IANA registry [i.7] provides the list of available hash function textual names. The
      provisions about which algorithms to use are expected to be defined by the specifications
      referring to the present data type
    type: object
    required:
      - algorithm
      - hash
    properties:
      algorithm:
        description: >
          Name of the algorithm used to generate the checksum. The name matching when processing the
          attribute value shall be caseinsensitive, for example, "SHA-256" or "sha-256", "SHA-512" or
          "sha-512". See note.
        type: string
      hash:
        description: >
          The hexadecimal value of the checksum.
        type: string

########################################################################################################################
# TO CHECK IF INCLUDE THESE DATA TYPES IN ANOTHER DEF FILES


  VnfLinkPortData:
    description: >