Skip to content

XML Schema for Addon Manifests.

License

Unlicense, AGPL-3.0 licenses found

Licenses found

Unlicense
LICENSE_SCHEMA
AGPL-3.0
LICENSE_SCRIPTS
Notifications You must be signed in to change notification settings

FreeCAD/Addon-Manifest-Schema

Addon Manifest Schema

Home of the source files for the schema
used to validate FreeCAD Addon Manifests


Button Discord   Button Documentation   Button Contribute


✨ Features

 Validation    Autocomplete    Examples    Tooltips 


💬 Usage

Use the following snippet to reference
this schema in your <package> tag.

<package
    Manifest:schemaLocation = 'HTTPS://Addons.FreeCAD.Org/Manifest https://Addons.FreeCAD.Org/Manifest'
    xmlns:Manifest = 'http://www.w3.org/2001/XMLSchema-instance'
    xmlns = 'HTTPS://Addons.FreeCAD.Org/Manifest'
>

📍 Endpoints

Currently FreeCAD only supports one endpoint
that hosts the latest version of the schema at:

https://Addons.FreeCAD.Org/Manifest

💾 Older Versions

In case you need to use an older version of the schema,
you can reference one of the GitHub Releases like so:

https://github.com/FreeCAD/FreeCAD-Addon-Manifest-Schema/releases/download/<Version>/Schema.xsd
https://github.com/FreeCAD/FreeCAD-Addon-Manifest-Schema/releases/download/v1.0/Schema.xsd

📄 Integration

The following code demonstrates how you can
reference this schema in your addon manifest:

<?xml
    version = '1.0'
    encoding = 'UTF-8'
    standalone = 'no'
?>
<package
    Manifest:schemaLocation = 'HTTPS://Addons.FreeCAD.Org/Manifest https://Addons.FreeCAD.Org/Manifest'
    xmlns:Manifest = 'http://www.w3.org/2001/XMLSchema-instance'
    xmlns = 'HTTPS://Addons.FreeCAD.Org/Manifest'
>

📖 Examples

File Contents
Everything.xml Manifest with all available elements & attributes.