Read Through Invalidation Json Schema

Shipyard Artifact

1
2
{
  "$id": "http://example.com/example.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "TCS Read-through Invalidation Event",
  "description": "Cache invalidation event, emitted by services using Tenant Context Service's read-through cache.",
  "type": "object",
  "definitions": {},
  "dataTypes" : ["UGC/Configuration"],
  "properties": {
    "key": {
      "type": "string",
      "description": "The unique identifier for the data being invalidated. Used to load from cache backing store."
    },
    "recordType": {
      "type": "string",
      "description": "Type describing the data being invalidated. Used to route to correct cache-loader"
    },
    "version": {
      "type": "integer",
      "description": "Events with versions less than the currently cached data will be ignored."
    },
    "timestamp": {
      "type": "integer",
      "description": "Timestamp when the event is pushed to StreamHub."
    }
  },
  "required": [
    "key",
    "recordType",
    "version",
    "timestamp"
  ],
  "additionalProperties": false
}

Rate this page: