...
OPTION 2: Two change entries, one to DELETE_LABEL being replaced, followed by one to ADD_LABEL to add the new label. Question: Will this provide an adequate indicator to downstream consumers allowing them to update cached values?
Example Data Stream:
For Option 1:
Code Block | ||
---|---|---|
| ||
{ "type": "LABEL_CHANGE", "URI": "https://uri.of.changing.entity", "PREDICATE": "skos:prefLabel", "NEW_LABEL": "new value"@en, "OLD_LABEL": "old value"@en } |
For Option 2:
Code Block | ||
---|---|---|
| ||
{
"type": "DELETE_LABEL",
"URI": "https://uri.of.changing.entity",
"PREDICATE": "skos:prefLabel",
"LABEL": "old value"@en
} |
Code Block | ||
---|---|---|
| ||
{
"type": "ADD_LABEL",
"URI": "https://uri.of.changing.entity",
"PREDICATE": "skos:prefLabel",
"LABEL": "new value"@en,
} |
...
Other Considerations and Questions
...