All Downloads are FREE. Search and download functionalities are using the official Maven repository.

models.dsl.InclusivePropertiesOverrides.rapid Maven / Gradle / Ivy

There is a newer version: 1.4.2
Show newest version
/* 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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy