Skip to content

openscd/oscd-api

Repository files navigation

Tests NPM Version

OpenSCD API

This package defines a common set of APIs, types, and interfaces for use by OpenSCD distributions and plugins.
It does not contain any business logic or implementation—only the shared contracts that enable interoperability between OpenSCD core, plugins, and distribution builders.

Purpose

  • For Plugin Developers:
    Provides the types and event interfaces needed to build plugins that integrate seamlessly with OpenSCD core.
    See docs/plugin-api.md for a detailed description of the plugin API.

  • For Distribution Builders:
    Supplies the types and interfaces for the OpenSCD root element and other extension points.
    API documentation for the OpenSCD root element and constraints for plugin.json will be provided in future docs.

Documentation

  • Plugin API:
    Comprehensive guide for plugin authors, including property contracts, event types, and theming.

  • Additional documentation (e.g., for the OpenSCD root element and plugin.json constraints) will be added soon.

License

Apache-2.0