Dynamic schema in Web API
Following on from the previous post, I want to prove that I can define a schema for metadata and have that metadata returned with core type information in a Web API.
For this POC, I will define the core type (DataEntry) and then dynamic metadata (JSON encoded data). I want the Web API to correctly handle the type information for this metadata and return the correct wire formatting.
This POC uses DynamicObject to be the bridge between the DataType, its metadata and its metadata schema. It provides the type information for Web API so that it can be correctly returned over the wire.