Screenshare demo simple contract
Used in No domains specified
for No industries specified
yada yada yada
Event Contract reference
strm-demo/Screenshare-demo/1.0.0
Schema reference
strm-demo/Screenshare-demo/1.0.0
Event contract overview
Type | Field | Value | Description |
---|---|---|---|
Key field | SessionId | Links events to the associated field for privacy processing. | |
PII field | UserId | 1 | needs consent |
Validation | UserId | regex | .* |
Serialization schema fields
Field | Description |
---|---|
SessionId | the string value that connects events to a single sequence |
UserId | we use an event contract to define that this is private |
url | the URL of the current page |
cuePositions | . |
Event contract
{
"id": "09c5fef2-6113-47bf-ac66-8436972ac26c",
"key_field": "SessionId",
"metadata": {
"create_time": "2022-05-23T14:22:56Z",
"description": "yada yada yada ",
"title": "Screenshare demo simple contract"
},
"pii_fields": {
"UserId": 1
},
"ref": {
"handle": "strm-demo",
"name": "Screenshare-demo",
"version": "1.0.0"
},
"schema_ref": {
"handle": "strm-demo",
"name": "Screenshare-demo",
"version": "1.0.0"
},
"state": "ARCHIVED",
"validations": [
{
"field": "UserId",
"type": "regex",
"value": ".*"
}
]
}
Serialization schema
{
"type": "record",
"name": "Screenshare",
"namespace": "StrmDemo.ScreenshareDemo.v1_0_0",
"fields": [
{
"name": "strmMeta",
"type": {
"type": "record",
"name": "strmMeta",
"namespace": "StrmDemo.ScreenshareDemo.v1_0_0.strmmeta",
"fields": [
{
"name": "eventContractRef",
"type": "string"
},
{
"name": "nonce",
"type": [
"null",
"int"
],
"default": null
},
{
"name": "timestamp",
"type": [
"null",
"long"
],
"default": null
},
{
"name": "keyLink",
"type": [
"null",
"string"
],
"default": null
},
{
"name": "billingId",
"type": [
"null",
"string"
],
"default": null
},
{
"name": "consentLevels",
"type": {
"type": "array",
"items": "int"
}
}
]
}
},
{
"name": "SessionId",
"type": "string",
"doc": "the string value that connects events to a single sequence"
},
{
"name": "UserId",
"type": [
"null",
"string"
],
"doc": "we use an event contract to define that this is private",
"default": null
},
{
"name": "url",
"type": [
"null",
"string"
],
"doc": "the URL of the current page",
"default": null
},
{
"name": "cuePositions",
"type": {
"type": "array",
"items": [
"null",
{
"type": "record",
"name": "cuePositions",
"namespace": "StrmDemo.ScreenshareDemo.v1_0_0.cuepositions",
"fields": [
{
"name": "time",
"type": [
"null",
"int"
],
"default": null
},
{
"name": "frame",
"type": [
"null",
"int"
],
"default": null
}
]
}
]
}
}
]
}