Legend Studio
Checking...FINOS Legend Engine integration for PURE language modeling and CDM schema development
PURE Compiler
PURE Code
Example: CDM Party Definition
Party.puretypescript
| 1 | // Example PURE code for CDM model |
| 2 | Class cdm::base::staticdata::party::Party |
| 3 | { |
| 4 | partyId: cdm::base::staticdata::identifier::Identifier[*]; |
| 5 | name: cdm::base::staticdata::party::NaturalPerson[class="ath-hl-number">0..class="ath-hl-number">1]; |
| 6 | person: cdm::base::staticdata::party::NaturalPerson[*]; |
| 7 | account: cdm::base::staticdata::party::Account[class="ath-hl-number">0..class="ath-hl-number">1]; |
| 8 | contactInformation: cdm::base::staticdata::party::ContactInformation[class="ath-hl-number">0..class="ath-hl-number">1]; |
| 9 | } |