Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add Legacy XML Schema and Field Mapping to JSON Schema

オープン
#23 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

@weilixu がすでに取り組んでいます。

2026年7月27日 から。

評価

この issue はまだ評価されていません。

説明

compatibility enhancement

Feature Description

The current repository contains JSON schemas for the input format. However, the legacy COMcheck website imports and exports files in XML format.

It would be helpful to also have the corresponding XML schema in the repository, so we can compare the legacy XML format with the current JSON schema.

Use Case

The main use case is to understand how the legacy XML fields map to the current JSON fields.

I noticed that some attribute names are slightly different between the two formats. For example, the XML uses:

cavityRvalue

But the corresponding JSON field appears to be:

cavityRValue

This specific difference may not be an issue if field names are compared case-insensitively.

However, there are also XML fields such as:

bldgUseType

I could not find a field with the same name in the JSON schema. It may be missing or represented by a different JSON field, but without the XML schema or an official field mapping, it is difficult to confirm.

Having the XML schema would make it easier to identify these differences and build a reliable XML-to-JSON mapping.

Proposed Solution

Add the legacy XML schema, preferably the XSD file used by the COMcheck website, to the repository.

It would also be useful to include a simple mapping or documentation showing how the XML attributes correspond to the JSON schema fields.

Alternatives Considered

Are there alternative solutions or workarounds you've considered?

Additional Context

One option is to infer the XML structure from files exported by the legacy COMcheck website. However, an exported file only shows the fields used in that particular project and may not represent the complete XML format.

Another option is to compare field names case-insensitively. This may solve differences such as cavityRvalue and cavityRValue, but it does not help with fields such as bldgUseType, which may be missing from the JSON schema or represented under a different name.


Note: This project does not accept external contributions. Feature requests are noted for consideration by the internal development team.

主要言語
Python
スター
3
フォーク
1
平均マージ
6日 1時間
マージ済み PR(30日)
3

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pnnl/comcheckweb-api-python のほかの issue

pnnl/comcheckweb-api-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。