As opposed to mediawiki, where all citation data are stored as strings, Wikidata has a strict typing system. https://www.wikidata.org/wiki/Special:ListDatatypes
I think integration of citoid with wikidata would benefit from creating a wikibase specific export format. In particular, allowing:
* Plausibly a structured date format compatible with wikibase dates. Failing that, validate all date fields and return ISO dates (currently return unvalidated strings which may be invalid for wikibase).
* Validating language codes against wikibase's allowed values
* Plausibly including language code with every monolingual type, if possible.
* Plausibly a hierarchical structure for containers (i.e. the book, journal, or website the item is published in, for creating new items.)Hierarchical structure for containers: T245142
* Identifiers key T245142
Other issues:
Wikidata expects isbns to have dashes (we don't).[x] isbns to with dashes - deployed, see T230057
Wikidata wants the[] pmcid without the pmc prefix.
- part done, see T157152
[x] Seperate properties for ISBN10 and ISBN13 (deployed)
Alternatively we may even consider a wikidata format, which will actually try to obtain the correct QIDs in the background for certain params.