Sha256: b5af74e690168eeabf2f48a00ef482d296c7c0d1961bda8b7ec12f8a26cf5ec6

Contents?: true

Size: 594 Bytes

Versions: 2

Compression:

Stored size: 594 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

module Suma
  module SchemaConfig
    class Schema < Lutaml::Model::Serializable
      attribute :id, Lutaml::Model::Type::String
      attribute :path, Lutaml::Model::Type::String
      # attribute :schemas_only, Lutaml::Model::Type::Boolean

      # container_path is a copy of Suma::SchemaConfig::Config.path,
      # used to resolve the path of each schema within
      # Suma::SchemaConfig::Config.schemas,
      # when Suma::SchemaConfig::Config.schemas is recursively flattened
      attr_accessor :container_path
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
suma-0.1.6 lib/suma/schema_config/schema.rb
suma-0.1.5 lib/suma/schema_config/schema.rb