Skip to content
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

1036 correct appd schema for images and screenshots #1037

Conversation

kriswest
Copy link
Contributor

@kriswest kriswest commented Jul 24, 2023

resolves #1036
Builds on #1035 which should be merged first to convert appD schema to JSON Schema format.

Requires the src property for each (as originally intended), prevents additional values in these sub-schemas (meaning its more likely to catch inadvertent errors like using a url field in place of src, or a misspelling of another field).

…prove test

- the details field of the appD schema is using `oneOf` to combine subschemas, however, this requires them to be distinct and non-verlapping. This should be `anyOf` instead as this prevents validation errors when the element conforms to multiple subschemas.
- commas were removed from email fields in the fdc3-workbench example as these fail validation
- The test was improved by adding multiple examples and providing better output from it.
@kriswest kriswest requested review from a team July 24, 2023 13:55
@netlify
Copy link

netlify bot commented Jul 24, 2023

Deploy Preview for fdc3 ready!

Name Link
🔨 Latest commit 624efe9
🔍 Latest deploy log https://app.netlify.com/sites/fdc3/deploys/64be82e329938b0008fa6a8f
😎 Deploy Preview https://deploy-preview-1037--fdc3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@WatsonCIQ
Copy link
Contributor

The fix worked: Caught the missing error for icons.src for me. 👍

@kriswest kriswest mentioned this pull request Jul 25, 2023
14 tasks
@kriswest kriswest merged commit 2f0a4c0 into finos:master Jul 26, 2023
9 checks passed
@kriswest kriswest deleted the 1036-correct-appd-schema-for-images-and-screenshots branch July 26, 2023 09:56
@bingenito bingenito mentioned this pull request Nov 6, 2023
18 tasks
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.

AppD schema does a poor job of validating icons and screenshots
4 participants