Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
167 commits
Select commit Hold shift + click to select a range
23a6e5c
SMT plastic and rubber moulds
Jul 22, 2025
4583456
added read me
Jul 22, 2025
703eb8c
Merge pull request #145 from admin-shell-io/SR/SMT_Plastic-and-rubber…
Rudra-sandeep Jul 22, 2025
d793236
smt plastic and rubber moulds
Jul 22, 2025
3dd2004
Merge pull request #146 from admin-shell-io/SR/Plastic-and-rubber-moulds
Rudra-sandeep Jul 22, 2025
c9562e6
SMT BoM IEC Extension
Aug 4, 2025
f60c71e
Update README.md
Rudra-sandeep Aug 4, 2025
9a197fd
Merge pull request #156 from admin-shell-io/SR/BoM-Extension
Rudra-sandeep Aug 4, 2025
8d4f78a
Update README.md
SAidta Aug 5, 2025
3f79bc8
examples for technical and handover smt
Sep 3, 2025
b5f4da2
Merge pull request #163 from admin-shell-io/SR/example-for-technical-…
Rudra-sandeep Sep 3, 2025
885e626
bug fix digital nameplate v3.0.1
Oct 10, 2025
a7e6bba
Merge pull request #191 from admin-shell-io/bug-fix--digital-nameplate
Rudra-sandeep Oct 10, 2025
438d282
SMT Purchase Order
Oct 13, 2025
544a70b
Update README.md
Rudra-sandeep Oct 13, 2025
39bba3d
Merge pull request #193 from admin-shell-io/SMT-Purchase-Order
Rudra-sandeep Oct 13, 2025
d71805d
bug fix digital nameplate
Oct 13, 2025
17f4703
Add Purchase Order submodel template v1.0
Oct 13, 2025
88f5af7
Merge branch 'bug-fix--digital-nameplate'
Oct 13, 2025
2063437
Delete published/Digital nameplate/3/0/1/IDTA 02006-3-0-1_Submodel_Di…
Rudra-sandeep Oct 14, 2025
fe19979
bug fix update v3.0.1
Rudra-sandeep Oct 14, 2025
8ac5eda
SMT Provision of Company Data
Oct 14, 2025
4ab3095
Update README.md
Rudra-sandeep Oct 14, 2025
34c0dc1
Merge pull request #194 from admin-shell-io/SMT-provision-of-company-…
Rudra-sandeep Oct 14, 2025
f9cd7cf
update README
Oct 14, 2025
f735e6b
Update README.md
Rudra-sandeep Oct 14, 2025
4f996f8
Update README.md
Rudra-sandeep Oct 14, 2025
9910118
Update README.md
Rudra-sandeep Oct 14, 2025
8e52c0d
SMT's Deprected
Oct 17, 2025
3218f3e
Document deprecated Submodel templates by IDTA
Rudra-sandeep Oct 17, 2025
95139e1
SMT Maintenance Instructions
Oct 23, 2025
0a9fe5e
Delete published/Maintenance Instructions/1/0/IDTA_02018_Template_Mai…
Rudra-sandeep Oct 23, 2025
b2a7f51
SMT Maintenance Instructions
Rudra-sandeep Oct 23, 2025
5044a97
Merge pull request #199 from admin-shell-io/maintenance-instructions-…
Rudra-sandeep Oct 23, 2025
c149d3d
Add Maintenance Instructions template to README
Rudra-sandeep Oct 23, 2025
0c92ea4
Revise README for clarity on Submodel Templates
Rudra-sandeep Nov 2, 2025
059b756
added aasx and json files for bug fix and metamodel update
Nov 3, 2025
884ab10
added read me
Nov 3, 2025
a7cf825
bug fix update
Nov 3, 2025
9b97e2c
bug fix and metamodel update
Nov 3, 2025
afc3c03
bug fix and smt updated for metamodel v3.1
Nov 3, 2025
cf64d1a
updated the read me table
Nov 3, 2025
658fda6
readme table updated
Nov 3, 2025
0ea223c
Merge pull request #203 from admin-shell-io/bugfix/smts-metamodel-v3.…
Rudra-sandeep Nov 3, 2025
aac47df
smt-metamodel update v3.1
Nov 4, 2025
9b48392
Merge pull request #204 from admin-shell-io/smt-metamodelv3.1-update
Rudra-sandeep Nov 4, 2025
c8e6a85
SMT-Quality-Control-for-Machining
Dec 2, 2025
af49ca9
Merge pull request #217 from admin-shell-io/SMT-Quality-Control-for-M…
Rudra-sandeep Dec 2, 2025
4306f6e
table updated
Dec 2, 2025
38d3a0b
SMT Sensor 4.0 and Part 1 Measurentment Value
Dec 11, 2025
9c2d55c
updated read me
Dec 11, 2025
2bce938
Add CI workflow and template check script for bug-fix JSON only
Feb 18, 2026
ff45c90
Use main branch for aas-test-engines-exclusive install
Feb 18, 2026
ea941d5
Pin aas-test-engines-exclusive to v1.0.0 tag
Feb 18, 2026
b90285f
Use aas_test_engines_exclusive egg to match v1.0.0 package metadata
Feb 18, 2026
ac2651f
Check latest version per submodel in check_templates.py
Feb 18, 2026
c6d108c
Updated AASX file for compatibility with AAS metamodel version 3.0
SAidta Apr 10, 2024
84c12e1
Updated AASX file for compatibility with AAS metamodel version 3.0
SAidta Apr 10, 2024
617b88c
Updated AASX file for compatibility with AAS metamodel version 3.0
Rudra-sandeep Apr 10, 2024
33aacec
Updated AASX file for compatibility with AAS metamodel version 3.0
Rudra-sandeep Apr 30, 2024
745a49f
This SMT is Compatible with AAS metamodel version 3.0(Tested with BaSyx)
Rudra-sandeep May 8, 2024
001bc50
JSON file of submodel template (tested with BaSyx)
Rudra-sandeep May 28, 2024
389e9eb
Fixed constraint violation issues
Rudra-sandeep Aug 15, 2024
d7406d8
update check templates
Feb 5, 2026
c0ae097
update check templates
Feb 5, 2026
12e6d7a
Fix name of test engine installation step
Rudra-sandeep Feb 6, 2026
e18e30e
SMT Digital Battery Pasdport
Feb 18, 2026
7d0f218
Restructure Digital Battery Passport: 1/0 version folders, space nami…
Feb 18, 2026
6856075
Add .githooks to block Cursor agent as co-author on future commits
Feb 18, 2026
f339ab9
updated test.yml
Feb 19, 2026
9fd64b0
updated tests.yml
Feb 19, 2026
e4def70
updated check templates
Feb 19, 2026
a00a002
updated check templates
Feb 19, 2026
9ef5086
updated json files
Feb 19, 2026
4b4e1d5
updated check templates
Feb 19, 2026
741f36f
updated check templates
Feb 19, 2026
2e72ef6
updated the folder structure for DBP
Feb 19, 2026
11ca238
updated digital battery passport
Feb 19, 2026
0b47d53
SMT Digital Battery Passport
Feb 19, 2026
0ada8e4
SMT Digital Battery Passport
Feb 19, 2026
f29abe3
SMT Digital Battery Passport
Feb 19, 2026
e28ddc7
SMT Digital Battery Passport
Feb 19, 2026
c5b9581
SMT Digital Battery PAssport
Feb 19, 2026
c85e959
SMT Digital Battery Passport
Feb 19, 2026
97ebfd2
SMT Digital Battery Passport
Feb 19, 2026
34f2832
Merge pull request #226 from admin-shell-io/smt-battery-data-template
Rudra-sandeep Feb 19, 2026
4cf9bf7
SMT Energy Flexible Data Model
Feb 20, 2026
b166c95
SMT Energy Flexible Data Model
Feb 20, 2026
9bfbf3c
Merge pull request #232 from admin-shell-io/SR/Energy-Flexibility-Dat…
Rudra-sandeep Feb 20, 2026
1908122
smt-digital-quality-documents
Rudra-sandeep Mar 17, 2026
81cb5cf
Add README for Digital Quality Documents Submodel
Rudra-sandeep Mar 17, 2026
e945095
smt-digital-quality-documents
Rudra-sandeep Mar 17, 2026
5ac1447
Merge pull request #247 from admin-shell-io/SR/smt-digital-quality-do…
Rudra-sandeep Mar 17, 2026
4594c81
SMT Digital Quality Documents Part1
Rudra-sandeep Mar 17, 2026
1b93875
Published SMT Material Data for Plastic Waste (1/0) and Simulation Mo…
Mar 25, 2026
0171142
Published SMT Material Data for Plastic Waste (1/0) and Simulation Mo…
Rudra-sandeep Mar 25, 2026
3c01764
Merge pull request #250 from admin-shell-io/SR/New-SMT-Published
Rudra-sandeep Mar 25, 2026
b51f4e1
SMT Asset Interfaces Description
Apr 15, 2026
4c36c85
Merge pull request #259 from admin-shell-io/SR/SMT-Asset-Interfaces-D…
Rudra-sandeep Apr 15, 2026
de5ab8e
SMT PVM
Apr 15, 2026
0898f4d
Merge pull request #260 from admin-shell-io/SR/SMT-Machnice-Signals
Rudra-sandeep Apr 15, 2026
2ca8e43
SMT Capability Description
Apr 15, 2026
826b08d
Merge pull request #261 from admin-shell-io/SR/SMT-Capability-Descrip…
Rudra-sandeep Apr 15, 2026
b1a94c2
SMT Product Change Notifications
Apr 15, 2026
04d2d85
Merge pull request #262 from admin-shell-io/SR/SMT-Product-Change-Not…
Rudra-sandeep Apr 15, 2026
e713d33
Update README.md
sebastiankb Apr 16, 2026
fd1228e
SMT OPC UA Server Data Sheet
May 4, 2026
0205d9c
SMT OPC UA Server Datasheet
Rudra-sandeep May 4, 2026
8785f7e
SMT OPC UA Server Datasheet
Rudra-sandeep May 4, 2026
04c0508
Merge pull request #271 from admin-shell-io/SR/SMT-OPC-UA-Server-Data…
Rudra-sandeep May 4, 2026
2158dba
Bug fix Battery templates
May 25, 2026
d9822f7
SMT AIMC v2.0
May 25, 2026
975fdac
updated readme
May 25, 2026
1769510
Update README.md
Rudra-sandeep May 25, 2026
0287317
Merge pull request #282 from admin-shell-io/SR/battery-data-template
Rudra-sandeep May 25, 2026
6fc9956
Merge pull request #283 from admin-shell-io/SMT/AIMC-v2.0
Rudra-sandeep May 25, 2026
22b3375
SMT DPP Metadata
May 28, 2026
0680fe3
Merge pull request #286 from admin-shell-io/SR/smt-dpp-metadata
Rudra-sandeep May 28, 2026
df9fcf7
SMT DPP Metadata
Rudra-sandeep May 28, 2026
784d22e
update README.md
Rudra-sandeep Jun 10, 2026
d32db91
generated asciidoc documentation for ProductCondition
BirgitBoss Jun 19, 2026
2eb7d2e
not needed
BirgitBoss Jun 19, 2026
c68939b
generated asciidoc from aasx package explorer for MaterialComposition
BirgitBoss Jun 19, 2026
80a98e9
BatteryPassport Circularity: ascii-doc generated from aasx pacakge ex…
BirgitBoss Jun 19, 2026
b9d95e5
Merge pull request #289 from admin-shell-io/BiBo/Circularity
SAidta Jun 22, 2026
ebe1cdb
generated asciidoc for Battery Techncial Data
BirgitBoss Jun 22, 2026
9714101
generated asciidoc for Handover Docu Battery
BirgitBoss Jun 22, 2026
7c9496b
version information 1.0.1
BirgitBoss Jun 22, 2026
723229a
Digital Nameplate Batter generated asciidoc
BirgitBoss Jun 22, 2026
4b0398b
PCF Battery generated asciidoc
BirgitBoss Jun 22, 2026
1897c2e
Merge pull request #290 from admin-shell-io/BiBo/TechnicalDataBattery
SAidta Jun 23, 2026
2f3e7bc
Merge pull request #291 from admin-shell-io/BiBo/HandoverDocuBattery
SAidta Jun 23, 2026
cacb42f
Merge pull request #292 from admin-shell-io/BiBo/CarbonFootprintBattery
SAidta Jun 23, 2026
a6e22e2
Merge pull request #288 from admin-shell-io/BiBo/MaterialComposition
SAidta Jun 23, 2026
076b1ef
Merge pull request #287 from admin-shell-io/BiBo/ProductCondition
SAidta Jun 23, 2026
0307057
CarbonFootprint fix number not 1 but 3
BirgitBoss Jun 23, 2026
0b5b593
Merge pull request #293 from admin-shell-io/BiBo/fixes
BirgitBoss Jun 23, 2026
df305e5
move frolders to correct place + rename folder documentation to docs
BirgitBoss Jun 23, 2026
65503e8
Merge pull request #294 from admin-shell-io/BiBo/further_fixes
BirgitBoss Jun 23, 2026
be6e93b
Update antora.yml
BirgitBoss Jun 23, 2026
bd221bc
Update index.adoc
BirgitBoss Jun 23, 2026
ad27e20
harmonize antora.yml (v1.0 to 1.0) + add part numbers
BirgitBoss Jun 23, 2026
e4f5dbf
harmonize antora.yml for Digital Nameplate
BirgitBoss Jun 23, 2026
85665d9
fix Technical Data, ist Part 4
BirgitBoss Jun 23, 2026
c6bd049
fix IDTA number for Part 4
BirgitBoss Jun 23, 2026
e731de1
fix version number for bugfix releases
BirgitBoss Jun 23, 2026
f6aa980
Merge pull request #295 from admin-shell-io/BiBo/fixes_#1
BirgitBoss Jun 23, 2026
9edf4cd
generated and adapted asciidoc for isCaseOf of IDTA-02099-1
BirgitBoss Jun 23, 2026
37b53bf
Merge pull request #296 from admin-shell-io/BiBo/IDTA-02099
SAidta Jun 23, 2026
d975d19
Deprecate older submodel template versions
Jun 23, 2026
50818de
Add Factory Automation Data for Plant Planning submodel template (V1.0)
Jun 23, 2026
e3348e4
SMT Factory Automation
Jun 23, 2026
84ac90b
Merge remote-tracking branch 'origin/main' into Sad/SMT---Factory-Aut…
Jun 23, 2026
ee697ec
Merge pull request #297 from admin-shell-io/Sad/SMT---Factory-Automatin
Rudra-sandeep Jun 23, 2026
80f9261
Update README
Rudra-sandeep Jun 23, 2026
eb9832d
Bugfix 1.0.1 of IDTA-02099-1 + change antora label to IDTA-02099-1 in…
BirgitBoss Jul 6, 2026
eef2855
move IDTA-02099-1 from 1/0 to 1/0/0 + add Readme for all versions
BirgitBoss Jul 6, 2026
d8c0f73
IDTA-02099-1 add Readme to 1.0.0
BirgitBoss Jul 6, 2026
375a230
IDTA-02099-1 move documents to 1.0.0
BirgitBoss Jul 6, 2026
8114596
Bug fix dpp metadata
Rudra-sandeep Jul 8, 2026
715c1ef
Merge pull request #298 from admin-shell-io/BiBo/bugfix_IDTA-02099-1
Rudra-sandeep Jul 8, 2026
42eacd7
bugfix: remove older 1.0.0 docu, was moved to "0" folder
BirgitBoss Jul 9, 2026
f1e0ae3
Merge pull request #300 from admin-shell-io/BiBo/IDTA-02099_removeRed…
BirgitBoss Jul 9, 2026
6f80c94
fix: correct typo cardinalities in Maintenance Instructions JSON
Jah-yee Jul 15, 2026
b5fe9ae
Merge pull request #302 from Jah-yee/fix/typo-cardinalities
Rudra-sandeep Jul 15, 2026
b5adf5b
Delete published/Asset Interfaces Mapping Configuration/2/0/IDTA 0202…
Rudra-sandeep Jul 21, 2026
290e242
AIMC SMT pdf updated
Rudra-sandeep Jul 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .githooks/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
These hooks block Cursor from being added as co-author on commits.

To use them in this repo, run once:

git config core.hooksPath .githooks

After that, all commits will automatically strip "Co-authored-by: Cursor <cursoragent@cursor.com>" from the message.
8 changes: 8 additions & 0 deletions .githooks/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh
COMMIT_MSG_FILE="$1"
if [ -f "$COMMIT_MSG_FILE" ]; then
sed -i.bak '/^Co-authored-by: Cursor <cursoragent@cursor.com>$/d' "$COMMIT_MSG_FILE"
sed -i.bak '/^Co-authored-by: cursoragent/d' "$COMMIT_MSG_FILE"
rm -f "${COMMIT_MSG_FILE}.bak"
fi
exit 0
31 changes: 31 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Tests

on: [push]

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- uses: actions/checkout@v4
with:
submodules: 'true'

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install aas test engine
env:
TOKEN: ${{ secrets.AAS_ENGINES_PAT }}
run: |
python -m pip install --upgrade pip
pip install "git+https://x-access-token:${TOKEN}@github.com/admin-shell-io/aas-test-engines-exclusive.git@v1.0.0#egg=aas_test_engines_exclusive"

- name: Run template checks (AAS metamodel 3.1)
env:
AAS_VERSION: "3.1"
run: python ./_help_and_materials/check_templates.py
118 changes: 75 additions & 43 deletions README.md

Large diffs are not rendered by default.

Binary file not shown.
109 changes: 109 additions & 0 deletions _help_and_materials/check_templates.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
#! /usr/bin/env python3

import os
import pathlib
import sys
from typing import Iterator, Tuple

try:
from aas_test_engines_exclusive.v3_1 import file as aas_file
except ImportError:
from aas_test_engines import file as aas_file

AAS_VERSION = os.environ.get("AAS_VERSION", "3.1")

_SKIP = frozenset({
"IDTA 02002-1-0-1_Template_ContactInformation.json",
"IDTA 02002-1-0-1_Template_ContactInformation_forAASMetamodelV3.1.json",
"IDTA_02018_Template_MaintenanceInstructions.json",
"IDTA 02011-1-1-1 _Template_BoM_ExtensionbasedonIEC81346.json",
"IDTA 02011-1-1-1 _Template_BoM_ExtensionbasedonIEC81346_forAASMetamodelV3.1.json",
"IDTA 02020_Template_Capability_Description.json",
})


def print_red(msg: str):
print(f"\033[91m{msg}\033[0m")


def print_green(msg: str):
print(f"\033[92m{msg}\033[0m")


def parse_version(rel: pathlib.Path) -> Tuple[str, Tuple[int, int, int]]:
parts = rel.parts
if len(parts) >= 3 and parts[-3].isdigit() and parts[-2].isdigit() and parts[-1].isdigit():
key = pathlib.PurePath(*parts[:-3])
ver = (int(parts[-3]), int(parts[-2]), int(parts[-1]))
return str(key), ver
if len(parts) >= 2 and parts[-2].isdigit() and parts[-1].isdigit():
key = pathlib.PurePath(*parts[:-2])
ver = (int(parts[-2]), int(parts[-1]), 0)
return str(key), ver
return "", (0, 0, 0)


def find_latest_per_submodel(base_path: pathlib.Path, root: pathlib.Path) -> list:
latest = {}
for root_dir, dirs, files in os.walk(base_path):
if dirs:
continue
path = pathlib.Path(root_dir)
try:
rel = path.relative_to(root)
except ValueError:
continue
key, ver = parse_version(rel)
if key and ver != (0, 0, 0):
if key not in latest or ver > latest[key][1]:
latest[key] = (path, ver)
return [path for path, _ in latest.values()]


def check_template(path: pathlib.Path, root: pathlib.Path) -> bool:
print(f"Checking {path.relative_to(root)}:")
json_files = list(path.glob("*.json"))
if not json_files:
print_green("- (no JSON files)")
return True
ok = True
for i in json_files:
if i.name in _SKIP:
continue
try:
with open(i, "rb") as f:
result = aas_file.check_json_file(f, version=AAS_VERSION)
if result.ok():
print_green(f"- {i.relative_to(root)} is ok")
else:
print_red(f"- {i.relative_to(root)} is invalid")
for line in result.to_lines():
s = line.strip()
if s and "Check meta model" not in s and "Check constraints" not in s and s != "Check":
print_red(f" {s}")
ok = False
except Exception as e:
print_red(f"- {i.relative_to(root)} check failed: {e}")
ok = False
return ok


def main() -> int:
script_dir = pathlib.Path(os.path.dirname(os.path.realpath(__file__)))
root_dir = script_dir.parent / "published"
if not root_dir.is_dir():
print_red(f"Published root not found: {root_dir}")
return 1
folders = find_latest_per_submodel(root_dir, root_dir)
folders.sort(key=lambda p: str(p.relative_to(root_dir)))
print(f"Checking latest version of {len(folders)} submodel(s) under published/ (AAS metamodel {AAS_VERSION})\n")
ok = True
for path in folders:
if not check_template(path, root_dir):
ok = False
print(f"\nChecked latest version of {len(folders)} submodel(s) (all published submodels). Result: {'PASS' if ok else 'FAIL'}")
return 0 if ok else 1


if __name__ == "__main__":
sys.exit(main())
Loading
Loading