# frozen_string_literal: true module LedgerSync module Adaptors module Test module Customer module Operations class Valid < Operation::Create class Contract < LedgerSync::Adaptors::Contract schema do optional(:external_id).maybe(:string) optional(:ledger_id).maybe(:string) optional(:email).maybe(:string) optional(:name).maybe(:string) optional(:phone_number).maybe(:string) required(:subsidiary).maybe(:hash, Types::Reference) end end end end end end end end