-
Notifications
You must be signed in to change notification settings - Fork 31
Rosetta Document format
TomCLForwood edited this page Dec 19, 2019
·
8 revisions
Rosetta document features
subset of Yaml
ease of human editing
internal references comments
validataion against rosetta model reference integrity
For several features yaml offers multiple possible grammar options e.g. list contents can be denoted with [ , ] or - We only need to support 1 option which we select will be based on ease of editing and ease of parsing/grammar construction
likewise the optional things like "" around strings we can decide on based on ease of editing/parsing
Proposal
--- # only required if you have multiple documents in one file
- !!org.isda.cdm.Party # The top level objects in a document must be tagged with their type
&party1
partyId: LEI1239287435 !partyIdScheme # metadata is added using the single ! tag mechanism
name: Barclays !partyNameScheme
person: # nested objects don't need a type - this is infered as a natural person
firstname: John
surname: Smith
- !!org.isda.cdm.Execution
party: *party1
# other fields
...