ivoa / vo-dml

VO-DML tooling and documents.
Creative Commons Attribution Share Alike 4.0 International
1 stars 1 forks source link

Schema Generation (XML and JSON) #14

Open pahjbo opened 2 years ago

pahjbo commented 2 years ago

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

pahjbo commented 2 years ago

the work for this task has been started on the schemagen branch starting at SHA:ee9749cc7ce20ab4f9017c0e0e3224fa7be5ae52

pahjbo commented 1 year ago

it should be noted that it is already possible to obtain schema from the generated java code.

pahjbo commented 1 year ago

TAP schema generation should also be added

edit: add this as separate task

pahjbo commented 1 year ago

the branch had been merged - as trunk was diverging too much - however, the schema generation is not complete

pahjbo commented 5 months ago

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