I am looking at writing a DHIS2 import/export subsystem for a metadata registry I help administer and am having trouble finding the DHIS2/DXF schemas to make sure I am writing proper XML.
— Specificity is the soul of all good communication —
— When the game is over, the king and the pawn go into the same box —
Find out more about me: http://about.me/legostormtroopr
Hi Samuel,
We do not really maintain up-to-date schemas as such. The best resource which is available for a given version is the /api/schemas end point, which gives detailed information about each object.
I am looking at writing a DHIS2 import/export subsystem for a metadata registry I help administer and am having trouble finding the DHIS2/DXF schemas to make sure I am writing proper XML.
— Specificity is the soul of all good communication —
— When the game is over, the king and the pawn go into the same box —
Find out more about me: http://about.me/legostormtroopr
Hi Samuel,
We do not really maintain up-to-date schemas as such. The best resource which is available for a given version is the /api/schemas end point, which gives detailed information about each object.
I am looking at writing a DHIS2 import/export subsystem for a metadata registry I help administer and am having trouble finding the DHIS2/DXF schemas to make sure I am writing proper XML.
— Specificity is the soul of all good communication —
— When the game is over, the king and the pawn go into the same box —
Find out more about me: http://about.me/legostormtroopr
We don’t follow or express schema for dxf. Particularly the metadata has been too dynamic. ( The link is very old and not maintained. )
Morten did introduce a schemas endpoint to the API (eg see https://play.dhis2.org/demo/api/schemas/dataElement) which provides the structure and types of the metadata objects. In theory (and practice) I guess one can generate xsd or relaxng schema from these resources. Whether it makes sense to generate schema or not might be another matter. There are two reasons it might not …
its hard to use schema for eg jaxb code generation if the schema is moving too much
recalling an earlier message from lars that the xml representation of metadata may be dropped sometime in the future in favour of concentrating on the json
I am looking at writing a DHIS2 import/export subsystem for a metadata registry I help administer and am having trouble finding the DHIS2/DXF schemas to make sure I am writing proper XML.
— Specificity is the soul of all good communication —
— When the game is over, the king and the pawn go into the same box —
Find out more about me: http://about.me/legostormtroopr
We don’t follow or express schema for dxf. Particularly the metadata has been too dynamic. ( The link is very old and not maintained. )
Morten did introduce a schemas endpoint to the API (eg see https://play.dhis2.org/demo/api/schemas/dataElement) which provides the structure and types of the metadata objects. In theory (and practice) I guess one can generate xsd or relaxng schema from these resources. Whether it makes sense to generate schema or not might be another matter. There are two reasons it might not …
its hard to use schema for eg jaxb code generation if the schema is moving too much
recalling an earlier message from lars that the xml representation of metadata may be dropped sometime in the future in favour of concentrating on the json
Hi Samuel,
We do not really maintain up-to-date schemas as such. The best resource which is available for a given version is the /api/schemas end point, which gives detailed information about each object.
— Specificity is the soul of all good communication —
— When the game is over, the king and the pawn go into the same box —
Find out more about me: http://about.me/legostormtroopr
I am looking at writing a DHIS2 import/export subsystem for a metadata registry I help administer and am having trouble finding the DHIS2/DXF schemas to make sure I am writing proper XML.
— Specificity is the soul of all good communication —
— When the game is over, the king and the pawn go into the same box —
Find out more about me: http://about.me/legostormtroopr