Sha256: ffd0c9897ed7237d371279732576bd5c4805da163f3c6c5be042a43c16267010

Contents?: true

Size: 741 Bytes

Versions: 6

Compression:

Stored size: 741 Bytes

Contents

# mdJson 2.0 writer - dataQuality

require 'jbuilder'
require_relative 'mdJson_scope'
require_relative 'mdJson_dataQualityReport'

module ADIWG
  module Mdtranslator
    module Writers
      module MdJson

        module DataQuality

          @Namespace = ADIWG::Mdtranslator::Writers::MdJson

          def self.build(hDataQuality)
            Jbuilder.new do |json|
              json.scope Scope.build(hDataQuality[:scope])
              json.systemIdentifier hDataQuality[:systemIdentifier]
              json.standaloneQualityReport hDataQuality[:standaloneQualityReport]
              json.report @Namespace.json_map(hDataQuality[:report], DataQualityReport)
            end

          end

        end

      end
    end
  end
end


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
adiwg-mdtranslator-2.18.4 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_dataQuality.rb
adiwg-mdtranslator-2.18.2 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_dataQuality.rb
adiwg-mdtranslator-2.18.1 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_dataQuality.rb
adiwg-mdtranslator-2.18.0 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_dataQuality.rb
adiwg-mdtranslator-2.18.0rc9 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_dataQuality.rb
adiwg-mdtranslator-2.18.0rc8 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_dataQuality.rb