Addshore added a comment.
So, although not particularly clear on the https://www.mediawiki.org/wiki/Wikibase/DataModel/JSON page, this is the JSON data model definition for items and properties. And the stable interface policy on wikidata only currently applies to wikidata. > provided by Wikibase as deployed on www.wikidata.org. So the SIP doesn't apply to commons at all right now. This is something that we need to discuss with the #structureddataoncommons <https://phabricator.wikimedia.org/tag/structureddataoncommons/> team once the main initial development stages are all complete. - Maybe the "labels" represented in JSON will be changed to "captions"? - "descriptions" will also probably be removed from the JSON Anyway, the docs and links etc from the SIP and for the JSON data model docs probably need a bit of work to include things like Lexemes for the link to stable JSON representations on wikidata.org rather than only showing the item / property JSON definition on Wikibase/DataModel/JSON. In light of all of this we need to: - Discuss with the SDOC team the stability interface policy, and if they want one yet, and where this should be, and what it should include for mediainfo vs the rest of wikidata at this stage. - Improve the "wikibase json datamodel" docs to make it clear what docs are for what entities etc, and which json data models are currently covered by the SIP. - Decide what to do regarding claims vs statements for both wikidata entities and also within media info Regrading that last point, in the long run, we want to stop talking about "claims" everywhere, as the statements vs claims legacy only leads to more confusion. In the long run, probably once we have a new iteration on our API, we will likely change this JSON serialization, but none of this is happening yet. The reason that we even see claims anywhere is explained in T149410#5281355 <https://phabricator.wikimedia.org/T149410#5281355> If we want to move towards "statements" in our JSON output, it is highly unlikely that we are going to change mediainfo to now have a "claims" key when in a year or so it will then be moved again back to "statements". I feel like I have rambled on enough for now but perfectly happy to keep discussing this, but I believe in terms of the serialization on wikidata.org and on commons.org and the claims vs statements keys, nothing is going to be changing in either place any time soon. TASK DETAIL https://phabricator.wikimedia.org/T149410 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Addshore Cc: Esc3300, Jdforrester-WMF, Bene, Lucas_Werkmeister_WMDE, Ramsey-WMF, Keegan, Multichill, Magnus, Addshore, matthiasmullie, Aklapper, Ladsgroup, aude, Lydia_Pintscher, thiemowmde, daniel, hoo, darthmon_wmde, Nandana, JKSTNK, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Wikidata-bugs, Ricordisamoa, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
