Transform object from one schema to another

32 views
Skip to first unread message

James Gallego

unread,
Jul 18, 2016, 5:34:20 AM7/18/16
to JSON Schema
Hello all,

First of all thank you for the work you do here supporting the json-schema!

I have a simple question. I have a schema A and an object a conforming to such schema:

object a -> validates(schema A)

I have a different schema B. Now I want to describe a transformation from schema A to schema B so I can pass object a as input and get a new object b as output:

object b = fromSchemaAtoB(object a)

so that:

object b -> validates(schema B)

From your point of view, which is the best approach/tools to do this guys?

Thank you so much in advance !!
JG
Reply all
Reply to author
Forward
0 new messages