toMap

fun toMap(): Map<String, Any>

Returns the Schema as a Map that can be easily serialized to Json