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

Schema issue at API file of Freifunk Halle #665

Open
christian-weiss opened this issue Jun 9, 2021 · 3 comments
Open

Schema issue at API file of Freifunk Halle #665

christian-weiss opened this issue Jun 9, 2021 · 3 comments

Comments

@christian-weiss
Copy link
Contributor

Issue:

ValidationError in community file Freifunk Halle:

	 Error in nodeMaps->0->technicalType: u'meshviewer' is not one of [u'', u'ffmap', u'ffsomething', u'olsr-dot', u'openwifimap', u'netmon', u'libremap', u'nodewatcher', u'kml']

	 Error in nodeMaps->1->technicalType: u'nodelist' is not one of [u'', u'ffmap', u'ffsomething', u'olsr-dot', u'openwifimap', u'netmon', u'libremap', u'nodewatcher', u'kml']

	 Url: https://www.freifunk-halle.org/freifunk-api.json

API file is at spec 0.4.1, "meshviewer"-support was added in 0.4.9 - we suggest to update API file to 0.4.16.
"nodelist"-support was added in 0.4.5 - we suggest to update API file to 0.4.16.

@Akarn-26
Copy link

@andibraeu I think there has been an issue with the nodesmap section like either the u'meshviewer' or u'nodelist' is not allowed or the format issue

@Code-Maniac-Rza
Copy link

Hey there!
For this issue, it seems the API file is using an outdated spec, which does not support the meshviewer and nodelist values for the technicalType field. My idea is to update the API version, then modify the technicalType values and then validate the freifunk-api.json file against the API schema. I think I can fix this if assigned.

@christian-weiss
Copy link
Contributor Author

@Code-Maniac-Rza go ahead. Feel free to upload an API file which adheres to latest API schema.

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

No branches or pull requests

3 participants