-
Notifications
You must be signed in to change notification settings - Fork 334
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
CIP-0072 | Off-chain schema fixes #631
CIP-0072 | Off-chain schema fixes #631
Conversation
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.
To me this seems like both a justification of the semantic versioning previously debated and an example of a change editors can approve as a matter of routine.
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
@Crypto2099 I believe it makes sense to wait for your input before merging 🤓 |
Thank you @rphair and @Ryun1 for your patience. As we embark on translating this specification into a tangible product, we inevitably encounter elements that require modification. I apologize for the frequency of these changes. 🙇🏻 We do not need to merge it now, I will definetly participate in the next CIP Editors meeting if we think whe should to merge it soon 🙏🏻 |
@danielmain re your comments in the CIP editors meeting on "subject" vs "domain" validation; I really like the idea, my only suggestions would be:
|
👍 @Quantumplation #631 (comment) above... in this particular (crypto) industry the "app stores" should be able to support plenty of "headless" dApps without web sites, and reverse domain name notation relies apparently on DNS and nothing else to avoid collisions: https://docs.oracle.com/javase/specs/jls/se7/html/jls-6.html#jls-6.1
|
…es it difficult to handle big pictures. Setting maximum
You are totally right! We will make this change 👍
I'm mainly familiar with the two industry leaders, Google Play Store and iOS App Store 🤷♂️. Google Play Store follows this method (originally due to its Java roots). Similarly, the second largest app store, 🍏 Apple, also adopts this approach. You can see how Apple apps are structured here: https://support.apple.com/en-gb/guide/deployment/depece748c41/web. Given that the majority of the industry, or at least a significant portion, adheres to this pattern, @Quantumplation, what are your thoughts? Wouldn't it make sense for us to align with what's widely recognized and familiar? |
Good point, @rphair, but isn't the domain a shared element across all dapps 🤔? Are there any Cardano dapps that operate without a domain? However, it's important to note that the subject or bundleID isn't the domain itself, but rather an identifier. Often it's in the reverse-domain format, which is common for many apps on iOS/Android. While we can recommend using a specific 'reverse-domain', the choice is ultimately yours to make 🙂 Also, it's not just Java that follows this practice; Apple does too: https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleidentifier |
…0072/version_2.0.1_offchain.json Co-authored-by: John Oshalusi <oshalusijohn@gmail.com>
…nto cip0072/fix/wrong-logo-schema
29091e7
to
a671018
Compare
@danielmain we are not in a hurry to close this but we do need to know where this submission is going. Do you still want/need to make these changes? It's been 7 months... do your plans still look this same? When will this be ready for review? What issues are you looking at now, as updated from last year when you submitted this? Please let us know what we are waiting for (tagging |
@danielmain if this is going to move forward as a document (as we would definitely hope, if you have been progressing this effort in the development world!) then please let us know soon (marking potentially "abandoned"). cc @greatertomi @Quantumplation @Ryun1 |
By creating a product on top of this specification we came up with two small fixes on the schnma definiton of the off-chain JSON
Fixes:
anyOf
instead ofoneOf
for the logo, by accepting any image format like png/jpeg/svganyOf
instead ofoneOf
for the screenshots, by accepting any image format like png/jpeg/svgcom.company.application
Since this a fix we are upgrading the version of the schema file to 2.0.1