Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/transferwise/jsonschema-recipient-demo
A demo of parsing a JSON schema using jackson ObjectMapper and rendering it recursively
https://github.com/transferwise/jsonschema-recipient-demo
Last synced: 2 months ago
JSON representation
A demo of parsing a JSON schema using jackson ObjectMapper and rendering it recursively
- Host: GitHub
- URL: https://github.com/transferwise/jsonschema-recipient-demo
- Owner: transferwise
- License: apache-2.0
- Created: 2019-03-14T12:49:45.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-07T01:45:33.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T05:18:19.521Z (9 months ago)
- Language: Java
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JSON schema recipient demo
A small demo to show how JSON schema can be parsed by jackson and rendered recursively.The repo demonstrates to partners how to process the JSON schema dynamic forms format to be returned in v2 of the TransferWise API.
Expected output:
```
-------allOf------
string: currency
array: [
string: firstName
string: lastName
]
-------oneOf------
string: fullName
string: sortCode
string: accountNumber
-------or------
string: iban
-------end oneOf--
string: streetAddress
-------end allOf--
```The indentation demonstartes the nesting of the JSON schema