TechExportThis section is copied into the '02' file as the design kit export function body, so you do not need the 'function export(..)'.
If this section is not in the PDK, it will add a default export function which you may need to modify if you use the TechGlobals section with pcellLibraries or other things you need in the export.
StructureThis element is simple - it does not have attributes or elements. The text that fills up the
... is value used.
<TechExport> ... </TechExport>
XSD The schema file can be downloaded or viewed at xPDK_OptoDesigner.