Skip to content

Commit 312eb93

Browse files
authored
Merge pull request #22 from MIERUNE/mods-for-21
Mods for #21
2 parents cb6e091 + 58677a0 commit 312eb93

File tree

655 files changed

+1378
-542598
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

655 files changed

+1378
-542598
lines changed

Cargo.lock

Lines changed: 44 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ resolver = "3"
88

99
[workspace.package]
1010
authors = ["Taku Fukada <[email protected]>", "MIERUNE Inc. <[email protected]>"]
11-
version = "0.2.0"
11+
version = "0.3.0"
1212
edition = "2024"
1313
repository = "https://github.com/MIERUNE/jmaxml"
1414
license = "MIT OR Apache-2.0"

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
[![codecov](https://codecov.io/gh/MIERUNE/jmaxml/graph/badge.svg?token=6B5BdIgBeG)](https://codecov.io/gh/MIERUNE/jmaxml)
44

5-
[気象庁防災情報XMLフォーマット](https://xml.kishou.go.jp/)の XML 電文を型付きで読むためのライブラリです。気象庁が提供する XML スキーマをもとにコード生成で作られています。
5+
[気象庁防災情報XMLフォーマット](https://xml.kishou.go.jp/)の XML 電文を型付きで読むためのライブラリです。気象庁が提供する XML スキーマをもとにコード生成で作られています。読み込んだ XML を独自のルールで JSON としてシリアライズすることもでき、その JSON のための TypeScript の型宣言も提供しています。
66

7-
読み込んだ XML を独自のルールで JSON としてシリアライズすることもできます。シリアライズされた JSON のための TypeScript の型宣言も用意しています。
7+
A library for reading JMA (Japan Meteorological Agency) XML messages with type safety, created through code generation from the official XML schema. Supports JSON serialization and includes TypeScript type declarations for that JSON.
88

99
## Usage
1010

@@ -25,16 +25,18 @@
2525

2626
## Development
2727

28-
コードジェネレータは `./jmx_codegen/` ディレクトリ内で実装されています
28+
コードジェネレータは `./jmx_codegen/` ディレクトリ内で、Pythonで実装されています
2929

3030
```bash
3131
# コードジェネレータの再実行
3232
make update
33-
34-
-[uv](https://docs.astral.sh/uv/) は必須の依存関係です。
33+
# テスト実行 (Rust, .d.ts)
34+
make test
3535
```
3636

37+
実行には [uv](https://docs.astral.sh/uv/) が必要です。
38+
3739
## Author
3840

3941
- Taku Fukada ([@ciscorn](https://github.com/ciscorn)) - Original author
40-
- MIERUNE Inc.
42+
- and [all contributors](https://github.com/MIERUNE/jmaxml/graphs/contributors)!

assets/sample_json/01_01_01_091210_VGSK50.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"text": ""
2222
}
2323
},
24-
"meteBody": {
24+
"body": {
25+
"type": "meteorology",
2526
"meteorologicalInfos": [
2627
{
2728
"type": "季節観測",

assets/sample_json/01_01_02_091210_VGSK50.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"text": ""
2222
}
2323
},
24-
"meteBody": {
24+
"body": {
25+
"type": "meteorology",
2526
"meteorologicalInfos": [
2627
{
2728
"type": "季節観測",

assets/sample_json/01_01_03_091210_VGSK50.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"text": ""
2222
}
2323
},
24-
"meteBody": {
24+
"body": {
25+
"type": "meteorology",
2526
"meteorologicalInfos": [
2627
{
2728
"type": "季節観測",

assets/sample_json/02_01_01_201224_VGSK55.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"text": ""
2222
}
2323
},
24-
"meteBody": {
24+
"body": {
25+
"type": "meteorology",
2526
"meteorologicalInfos": [
2627
{
2728
"type": "生物季節観測",

assets/sample_json/02_02_01_201224_VGSK55.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"text": ""
2222
}
2323
},
24-
"meteBody": {
24+
"body": {
25+
"type": "meteorology",
2526
"meteorologicalInfos": [
2627
{
2728
"type": "生物季節観測",

assets/sample_json/02_03_01_201224_VGSK55.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"text": ""
2222
}
2323
},
24-
"meteBody": {
24+
"body": {
25+
"type": "meteorology",
2526
"meteorologicalInfos": [
2627
{
2728
"type": "生物季節観測",

assets/sample_json/02_03_02_201224_VGSK55.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"text": ""
2222
}
2323
},
24-
"meteBody": {
24+
"body": {
25+
"type": "meteorology",
2526
"meteorologicalInfos": [
2627
{
2728
"type": "生物季節観測",

0 commit comments

Comments
 (0)