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.)
Wikidata expects isbns to have dashes (we don't).
Wikidata wants the pmcid without the pmc prefix.
Seperate properties for ISBN10 and ISBN13
Alternatively we may even consider a wikidata format, which will actually try to obtain the correct QIDs in the background for certain params.