models.dsl.InclusivePropertiesOverrides.rapid Maven / Gradle / Ivy
/* Test model to exercise syntax for property lists. ZEN-1124 introduces inclusive property
lists with an optional exclusion list. It also updates the syntax for the current
exclusive property list.
*/
rapidModel InclusivePropertyList
resourceAPI InclusivePropertyListAPI baseURI "http://my-namespace.com"
objectResource ExclusivePropertyListConciseSyntax type TaxFiling
properties
filingID, jurisdiction, year, taxpayer
method GET getTaxFiling
request type TaxFiling
only properties
filingID, taxpayer?
response type TaxFiling statusCode 200
all properties
dataModel TaxBlasterDataModel
structure TaxFiling
filingID : string
jurisdiction : string
year : gYear
period : int
taxDue : decimal
currency : string
taxpayer : reference to Person
structure Person
taxpayerID : string
firstName : string
lastName : string
otherNames : string*
dob : date