Last modified: 2013-06-26 12:38:04 UTC
The API should check all snak values it receives from a client against the validators associated with a given data type (aka property type). Note that these validators are specific to the snak's peroperty type, and apply to DataValue objects. This is a different layer of validation than the one applied when constructing DataValue objects (and another layer yet than parsing data values from strings).
Related URL: https://gerrit.wikimedia.org/r/67892 (Gerrit Change I6b4eaa542291a6ad9ee8921371efc741e3d7465a)
Related URL: https://gerrit.wikimedia.org/r/68650 (Gerrit Change I7378838f9ab22a52261d79af6690f531f0f1ee2b)
Related URL: https://gerrit.wikimedia.org/r/68656 (Gerrit Change I67b9ae480c4a667043486b45027796c0c69c5ffa)
Related URL: https://gerrit.wikimedia.org/r/68685 (Gerrit Change Ieda3ea28c16d35d70b0cf814e8c86853edbecf5f)
https://gerrit.wikimedia.org/r/68650 (Gerrit Change I7378838f9ab22a52261d79af6690f531f0f1ee2b) | change APPROVED and MERGED [by Tobias Gritschacher]
https://gerrit.wikimedia.org/r/68656 (Gerrit Change I67b9ae480c4a667043486b45027796c0c69c5ffa) | change APPROVED and MERGED [by Tobias Gritschacher]
https://gerrit.wikimedia.org/r/68685 (Gerrit Change Ieda3ea28c16d35d70b0cf814e8c86853edbecf5f) | change APPROVED and MERGED [by Tobias Gritschacher]
Verified in Wikidata demo sprint 22-9