2つの異なるアプリケーションAとBで使用されるXSDに共通のデータスキーマがあり、それぞれ異なるデータが使用されています。私はアプリケーションごとに異なるビジネスルールを文書化したいと思います。これはできますか?XSD要素に複数の<annotation>がありますか?
<xs:complexType name="Account">
<xs:annotation app="A">
<xs:documentation>
The Account entity must be used this way for app A
</xs:documentation>
</xs:annotation>
<xs:annotation app="B">
<xs:documentation>
The Account entity must be used this way for app B
</xs:documentation>
</xs:annotation>
<xs:complexContent>
...