# RA3 Mod XML License

## Original code — MIT

Copyright (c) 2026 The RA3 Mod XML contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

## EA Mod SDK-derived data

The following file is generated from materials distributed with the
Command & Conquer: Red Alert 3 Mod SDK, which is owned by Electronic Arts Inc.
and its licensors:

- `src/model/schema-model.json` — generated by `tools/xsd-to-model.mjs` from
  the SDK's XSD schemas.

This file is not covered by the MIT license above. It is included only for
modding interoperability and remains subject to the EA Tools & Materials
End User License. "Command & Conquer" and "Red Alert 3" are trademarks of
their respective owners.

This extension does not bundle the RA3 Mod SDK; the SDK must be installed
separately by the user.

## OpenSAGE-derived files — LGPL-3.0

The following files are derived from OpenSAGE
(<https://github.com/OpenSAGE/OpenSAGE>), which is licensed under the GNU
Lesser General Public License version 3:

- `src/indexer/manifestParser.ts` — ported from
  `src/OpenSage.Game/Data/StreamFS/ManifestFile.cs`.
- `src/model/asset-types.json` — extracted from
  `src/OpenSage.Game/Data/StreamFS/AssetType.cs`.

These files are licensed under LGPL-3.0. The full license text is available at
<https://www.gnu.org/licenses/lgpl-3.0.html> and in the vendored OpenSAGE copy
at `OpenSAGE/LICENSE.md`.

## Other files

Unless stated otherwise above, all other files in this repository are
licensed under the MIT license above.
