When creating a schema node for a class annotated with either @JsonPropertyOrder or @XmlType(propOrder = {...}) then the schema node should retain the specified order of properties.
Currently ObjectSchema contains HashMaps properties and patternProperties which garble the property order.