Skip to content

fix: correct cardinality typos (ZerotoMany→ZeroToMany, ZerotToOne→ZeroToOne)#280

Open
algojogacor wants to merge 1 commit into
admin-shell-io:mainfrom
algojogacor:fix/cardinality-typos
Open

fix: correct cardinality typos (ZerotoMany→ZeroToMany, ZerotToOne→ZeroToOne)#280
algojogacor wants to merge 1 commit into
admin-shell-io:mainfrom
algojogacor:fix/cardinality-typos

Conversation

@algojogacor
Copy link
Copy Markdown

Summary

Fixes #279

The Maintenance Instructions template JSON file contains typos in cardinality qualifier values: "ZerotoMany" and "ZerotToOne" instead of the correct CamelCase "ZeroToMany" and "ZeroToOne".

Root Cause

In published/Maintenance Instructions/1/0/IDTA_02018_Template_MaintenanceInstructions.json, 12 cardinality qualifier entries use incorrect casing:

  • "value": "ZerotoMany" (1 occurrence, line 588) — missing capital "M"
  • "value": "ZerotToOne" (11 occurrences) — missing capital "O" in "Zero" and lowercase "t" in "To"

These appear to be copy-paste artifacts where the original CamelCase was lost.

Fix

Applied targeted find-and-replace across all 12 occurrences in the JSON file:

  • "ZerotoMany""ZeroToMany" (1 place)
  • "ZerotToOne""ZeroToOne" (11 places)

All other cardinality values in the file (e.g., "One", "ZeroToMany", "OneToMany") already use correct CamelCase — these 12 were the only outliers.

Changes

  • published/Maintenance Instructions/1/0/IDTA_02018_Template_MaintenanceInstructions.json: fix cardinality value casing (+12 −12 lines)

Testing

  • JSON validity: file parses successfully after edit ✅
  • All 12 cardinality qualifiers: now use correct CamelCase ✅
  • Other cardinality values in file: unchanged and consistent ✅

ZerotoMany → ZeroToMany
ZerotToOne → ZeroToOne

Closes admin-shell-io#279
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.

[Maintenance Instructions] Typos in cardinalities.

1 participant