Third-Party Notice: MaiML-Schema-1_0 (JAIMA)
=============================================

The XSD schema definition files in this directory (MaiML-Schema-1_0) are
third-party materials created by the Japan Analytical Instruments
Manufacturers' Association (JAIMA), as described in Readme.txt /
Readme-ja.txt in this same directory. They are NOT covered by this
repository's own Apache-2.0 license (see ../../../LICENSE); their terms
are as follows.

  Permitted:      redistribution of these files, unmodified.
  NOT permitted:  modification of these files.

This applies to every file in this directory, regardless of whether it
is referenced directly by pymaiml or only kept for completeness.

---------------------------------------------------------------------
Known, currently unresolved deviation from the above
---------------------------------------------------------------------
5 of the 13 files below currently differ from the official JAIMA
distribution: they carry an added `xs:import` for the xmldsig/xmlenc
namespaces that the official files lack (without it, lxml cannot build
a schema object able to validate <Signature>/<EncryptedData> content).
This change was made before the no-modification constraint above was
recorded here. Rather than reverting it outright, it is being kept for
now as a known, documented exception (see README.md's
"pymaiml.validation" section and CONTRIBUTING.md's
"MaiML-Schema-1_0が更新されたときの手順" checklist, step 1, for the
technical detail).

  Modified (5):   maiml.xsd, maiml-core.xsd, maiml-document.xsd,
                  maiml-property.xsd, xenc-schema.xsd
  Unmodified (8): maiml-data.xsd, maiml-eventLog.xsd, maiml-helper.xsd,
                  maiml-pnml.xsd, maiml-protocol.xsd, maiml-refTypes.xsd,
                  maiml-simpleTypes.xsd, xenc-schema-11.xsd,
                  xmldsig-core-schema.xsd

Going forward:
  - Do not add any further hand-edits to these files.
  - If more schema supplementation is ever needed, apply it in memory at
    load time (e.g. via lxml) instead of editing the files on disk, so
    this directory can stay restorable to byte-identical copies of the
    official distribution.
  - The 5 modified files above remain an open item to reconcile, either
    by moving their xs:import supplementation to load time, or by
    separately confirming with JAIMA that this specific addition is
    acceptable.


=============================================
MaiML-Schema-1_0(JAIMA)に関する第三者ライセンス表示
=============================================

このディレクトリ内のXSDスキーマ定義ファイル(MaiML-Schema-1_0)は、
一般社団法人 日本分析機器工業会(JAIMA)が作成した第三者の著作物です
(詳細はこのディレクトリ内のReadme.txt / Readme-ja.txtを参照)。本
リポジトリ自体のApache-2.0ライセンス(../../../LICENSE参照)の対象外
であり、以下の条件に従います。

  許諾されていること    : これらのファイルを無改変のまま再配布すること。
  許諾されていないこと  : これらのファイルを改変すること。

この条件は、pymaimlが直接参照しているかどうかに関わらず、本ディレク
トリ内の全ファイルに適用されます。

------------------------------------------------------------
既知の逸脱(未解消)
------------------------------------------------------------
以下13本のうち5本は、現在も公式配布版と内容が一致していません。
`xmldsig`/`xmlenc`名前空間への`xs:import`が追記されています(公式配布
版はこれを欠いており、そのままではlxmlで<Signature>/<EncryptedData>
の内部構造まで検証できるスキーマオブジェクトを構築できないため)。この
変更は、上記の「改変禁止」の制約をここに記録するより前に行われたもの
です。今回はいったん元に戻さず、既知の・文書化された例外として維持す
ることにしました(技術的な詳細はREADME.mdの「pymaiml.validation」節、
およびCONTRIBUTING.mdの「MaiML-Schema-1_0が更新されたときの手順」チェ
ックリスト手順1を参照)。

  改変あり(5本): maiml.xsd, maiml-core.xsd, maiml-document.xsd,
                  maiml-property.xsd, xenc-schema.xsd
  無改変(8本)  : maiml-data.xsd, maiml-eventLog.xsd,
                  maiml-helper.xsd, maiml-pnml.xsd,
                  maiml-protocol.xsd, maiml-refTypes.xsd,
                  maiml-simpleTypes.xsd, xenc-schema-11.xsd,
                  xmldsig-core-schema.xsd

今後の方針:
  - これらのファイルへ、これ以上の手作業での改変を加えないこと。
  - 追加のスキーマ補完が必要になった場合は、ファイル自体を書き換える
    のではなく、読み込み時にメモリ上(lxml等)で補う方式を優先し、この
    ディレクトリを公式配布版とバイト単位で一致する状態に戻せるように
    しておくこと。
  - 上記5本の既存の改変は未解消の課題として残っており、(a)xs:import
    補完をロード時方式へ移す、または(b)この追記について個別にJAIMAへ
    確認を取る、のいずれかで解消することが望ましい。
