Converts AAS JSON files created with/exported from AASX Package Explorer to a FA³ST-compatible version.
[!WARNING] This project is no longer maintained as it was developed for the sole purpose to convert AAS model files create with AASP Package Explorer so that they can be used with FA³ST Service. Since v1.0.0, FA³ST Service is now working out-of-the-box with files created by AASX Package Explorer and this tool is no longer needed.
The FA³ST Package Explorer Converter supports AAS JSON files created with/exported from AASX Package Explorer with version AASX Package Explorer 2022-05-10.alpha
.
Downloaded latest version as precompiled JAR
-i, --input=<inputFile> Input file or directory (mandatory)
-o, --output=<outputFile> Output file or directory
-m, --merge Merge all AAS models into a single file called 'merged.json' additionally to converting each
file seperately (only applicable if input contains multiple files)
-d, --debug Print additional debug information
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
If no ouput file is provided, the output will be written to screen.
Converting a single input file data/model.json
to output file data/model-converted.json
.
java -jar package-explorer-converter-0.3.0.jar -i data/model.json -o data/mode-converted.json
Assuming you have a folder data
containing three files model1.json
, model2.json
, model3.json
, this command generates the output files output/model1.json
, output/model2.json
, output/model3.json
, and a file containing the merged result output/merged.json
.
java -jar package-explorer-converter-0.3.0.jar -i data/ -o output/ --merge
Name | Github Account |
---|---|
Michael Jacoby | mjacoby |
faaast@iosb.fraunhofer.de
Distributed under the Apache 2.0 License. See LICENSE
for more information.
Copyright (C) 2022 Fraunhofer Institut IOSB, Fraunhoferstr. 1, D 76131 Karlsruhe, Germany.
You should have received a copy of the Apache 2.0 License along with this program. If not, see https://www.apache.org/licenses/LICENSE-2.0.html.