I'm trying to make a statement with a property that does not exist yet.
let claim = {
type: "statement",
mainsnak: {
snaktype: "value",
property: 'P370',
datavalue: {
type: "string",
value: 'foo',
}
},
id: "Q4115189", // ← do I have to use a guid here? A guid of what?
rank: "normal"
}
but the answer is $serialization does not have the correct number of parts
. What am I doing wrong? What is a part?