supports terms.

This commit is contained in:
Bryce Covert
2020-04-18 10:09:19 -07:00
parent b28dd64c4a
commit fc9f94a64d
5 changed files with 46 additions and 17 deletions

View File

@@ -7,6 +7,7 @@
(s/def ::client map?)
(s/def ::invoice-number ::shared/required-identifier)
(s/def ::date ::shared/date)
(s/def ::due (s/nilable ::shared/date))
(s/def ::total ::shared/money)
(s/def ::vendor-id ::shared/identifier)
@@ -15,4 +16,6 @@
::date
::vendor
::total]
:opt-un [::vendor-name]))
:opt-un [::vendor-name
::due
]))