Sha256: 3e964932d48d975a9812e9a394d1a21040a0f99e27f59642f31a593e9842e95c

Contents?: true

Size: 627 Bytes

Versions: 5

Compression:

Stored size: 627 Bytes

Contents

module Tangany
  module Customers
    module Contracts
      module NaturalPersons
        module CreateSchemas
          module Pep
            class << self
              def schema
                Dry::Schema.Params do
                  required(:checkDate).filled(:string, format?: Tangany::ApplicationContract::DATETIME_REGEX)
                  required(:isExposed).filled(:bool)
                  optional(:source).maybe(:string, max_size?: 255)
                  optional(:reason).maybe(:string, max_size?: 255)
                end
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tangany-0.0.5 lib/tangany/customers/contracts/natural_persons/create_schemas/pep.rb
tangany-0.0.4 lib/tangany/customers/contracts/natural_persons/create_schemas/pep.rb
tangany-0.0.3 lib/tangany/customers/contracts/natural_persons/create_schemas/pep.rb
tangany-0.0.2 lib/tangany/customers/contracts/natural_persons/create_schemas/pep.rb
tangany-0.0.1 lib/tangany/customers/contracts/natural_persons/create_schemas/pep.rb