This is a new request only available as a CGI online parameter. It is not part of the TAPIR protocol and only implemented in the PyWrapper to expose the xml schema parser. The operation takes an xml schema or view location, parses the file and returns the list of concepts found in that schema.
Request
- Parameters:
- operation=schema
- location=URL
- Example: http://ww3.bgbm.org/tapirwrapper/pywrapper.cgi?operation=schema&location=http://www.bgbm.org/TDWG/CODATA/Schema/ABCD_2.06/ABCD_2.06.XSD
You can try your own schema here.
Response
<response>
<header />
<schema namespace="http://example.net/schemas/sp1" location="http://localhost/tapir/resources/views/example.xml">
<concept path="/dataset/specimen/acnum" max="1" type="string" min="0"/>
<concept path="/dataset/specimen/sname" max="1" type="string" min="0"/>
...
</schema>
<diagnostics />
</response>
