-
Notifications
You must be signed in to change notification settings - Fork 2
Check messaging channel files for typos #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
thibaultzanini
commented
Jan 8, 2026
- Fix country property to reference CountryDescriptor instead of PartySMSNumberDescriptor in phone-number.mjson
- Fix supportsRichCommunication property name field in phone-number.mjson
- Fix personParty property to reference PersonDescriptor instead of OrganizationDescriptor in party-messaging-channel.mjson
- Fix country property to reference CountryDescriptor instead of PartySMSNumberDescriptor in phone-number.mjson - Fix supportsRichCommunication property name field in phone-number.mjson - Fix personParty property to reference PersonDescriptor instead of OrganizationDescriptor in party-messaging-channel.mjson
| "valueType": "object", | ||
| "cardinality": 1, | ||
| "valueDescriptor": {"@": "OrganizationDescriptor"} | ||
| "valueDescriptor": {"@": "PersonDescriptor"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| "valueType": "object", | ||
| "cardinality": 1, | ||
| "valueDescriptor": {"@": "PartySMSNumberDescriptor"} | ||
| "valueDescriptor": {"@": "CountryDescriptor"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| "prototype": "core/meta/property-descriptor", | ||
| "values": { | ||
| "name": "supportsiMessage", | ||
| "name": "supportsRichCommunication", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marchant Probably good?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request fixes three typos in messaging channel model descriptor files where property descriptors were referencing incorrect types or had mismatched property names.
- Corrected
countryproperty to referenceCountryDescriptorinstead ofPartySMSNumberDescriptor - Fixed
supportsRichCommunicationproperty name field to match its descriptor key - Corrected
personPartyproperty to referencePersonDescriptorinstead ofOrganizationDescriptor
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| data/model/messaging-channel/phone-number.mjson | Fixed two typos: country property now correctly references CountryDescriptor, and supportsRichCommunication property name now matches its descriptor key |
| data/model/messaging-channel/party-messaging-channel.mjson | Fixed personParty property to correctly reference PersonDescriptor instead of OrganizationDescriptor |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.