Skip to content

Validate MJSON configuration files and inheritance - #66

Open
thibaultzanini wants to merge 1 commit into
mainfrom
claude/validate-mjson-configs-NwN1k
Open

Validate MJSON configuration files and inheritance#66
thibaultzanini wants to merge 1 commit into
mainfrom
claude/validate-mjson-configs-NwN1k

Conversation

@thibaultzanini

Copy link
Copy Markdown
Contributor
  • product.mjson: Remove duplicate 'tags' property definition
  • collection-rule.mjson: Fix property name mismatch (productProperty -> column)
  • order-transaction.mjson: Add missing 'kind' property to propertyDescriptors
  • collection.mjson: Add missing 'type' property to propertyDescriptors

All changes ensure proper MJSON structure with correct property descriptor references and inheritance logic.

- product.mjson: Remove duplicate 'tags' property definition
- collection-rule.mjson: Fix property name mismatch (productProperty -> column)
- order-transaction.mjson: Add missing 'kind' property to propertyDescriptors
- collection.mjson: Add missing 'type' property to propertyDescriptors

All changes ensure proper MJSON structure with correct property descriptor
references and inheritance logic.
"values": {
"name": "productProperty",
"name": "column",
"valueType": "string"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about this one

{"@": "descriptionHtml"},
{"@": "image"},
{"@": "ruleSet"},
{"@": "type"},

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

{"@": "amount"},
{"@": "paymentGateway"}
{"@": "paymentGateway"},
{"@": "kind"}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread data/model/product.mjson
"values": {
"name": "tags",
"valueType": "array"
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably good

@thibaultzanini thibaultzanini self-assigned this Jan 8, 2026
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.

2 participants