How to get XSD for an XML in BPMN.js diagram

  1. I have a scenario to parse generated save xml in backend and to do so i need xsd for generating the java pojo class
    (link for current xsd https://www.omg.org/spec/BPMN/20100501/BPMN20.xsd) downloaded xsd but in generated save xml there is a xml tag bpmn:process but i couldnt able to find defenition for process tag in the mentioned xsd

2.How to append class name as new attribute in the BPMN diagram XML to show in DOM element against which are created.

Could you, step by step explain your use case in a manner that we can reproduce it?

The XSD is the document schema, which is independent from a document instance, a single BPMN 2.0 BPMN file.