Skip to content

Add Label element to Related for keyword-based filtering#31

Open
Copilot wants to merge 2 commits into
mainfrom
copilot/add-keyword-field-for-references
Open

Add Label element to Related for keyword-based filtering#31
Copilot wants to merge 2 commits into
mainfrom
copilot/add-keyword-field-for-references

Conversation

Copy link
Copy Markdown

Copilot AI commented May 6, 2026

FMU creators had no structured way to attach keywords to related files, making it impossible to filter references by use case (e.g., variant, SIL/HIL, target OS) without opening each file.

Changes

  • XSD schema (fmi3LayeredStandardReferenceManifest.xsd): Added Label as a child element of Related (0..unbounded). New TLabel complex type with mandatory name and optional description attributes.
  • Documentation (docs/index.adoc): Added "Related Child Elements" table and a "Labels" subsection describing the element and its attributes.
  • Example (docs/examples/fmi_ls_ref_manifest_example.xml): Illustrates label usage for variant selection and simulation context filtering.

Example

<Related type="application/x-ssp-parameter-set" source="highend-params.ssv"
         role="parameter" description="Highend Model Parameters">
    <Label name="variant:highend" description="Highend variant parameters"/>
</Related>

<Related type="application/x-ma-ls-experiments" source="smoke-tests.exp"
         role="experiment" description="Smoke Tests of FMU">
    <Label name="simulation-type:SIL" description="Applicable for Software-in-the-Loop simulation"/>
    <Label name="os:Win64" description="Applicable for Windows 64-bit target"/>
</Related>

Copilot AI assigned Copilot and pmai May 6, 2026
Copilot AI linked an issue May 6, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Add keyword mechanism for references in FMI-LS-REF file Add Label element to Related for keyword-based filtering May 6, 2026
Copilot finished work on behalf of pmai May 6, 2026 20:28
Copilot AI requested a review from pmai May 6, 2026 20:28
@pmai pmai marked this pull request as ready for review May 12, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide keywords for references

2 participants