Open pahjbo opened 2 years ago
the work for this task has been started on the schemagen branch starting at SHA:ee9749cc7ce20ab4f9017c0e0e3224fa7be5ae52
it should be noted that it is already possible to obtain schema from the generated java code.
TAP schema generation should also be added
edit: add this as separate task
the branch had been merged - as trunk was diverging too much - however, the schema generation is not complete
this is working for XSD and JSON in the 0.5.0 release - the JSON schema does not validate against all the "meaning" in the @Type and _id properties in the same way that xsi:type and xsd:ID-REF can for xml
A schema generation task needs to be created - there is existing XSLT to do this - however, it needs to be carefully checked against the schema that that created by the Java code generation to make sure that they are the same