Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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