get
/services/{version}/stream
Required Role: User
Get a list of data stream resourcesRequest
Path Parameters
-
version(required): string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Response
Supported Media Types
- application/json
200 Response
Body ()
Root Schema : Oracle GoldenGate DataStream Collection
Type:
objectTitle:
Show Source
Oracle GoldenGate DataStream Collection-
$schema:
Allowed Values:
[ "ogg:dataStreamCollection" ] -
items(required):
array items
Minimum Number of Items:
0Maximum Number of Items:32767
{
"title":"Oracle GoldenGate DataStream Collection",
"required":[
"items"
],
"type":"object",
"properties":{
"$schema":{
"enum":[
"ogg:dataStreamCollection"
]
},
"items":{
"type":"array",
"items":{
"allOf":[
{
"type":"object",
"properties":{
"$schema":{
"description":"Name of schema for collection item, defaults to this schema",
"type":"string",
"minLength":1,
"maxLength":255,
"default":"ogg:collectionItem"
},
"name":{
"description":"Item name",
"type":"string",
"minLength":1,
"maxLength":255
},
"status":{
"description":"Item status",
"x-anyOf":[
{
"enum":[
"starting",
"running",
"stopped",
"killed",
"abended"
]
},
{
"enum":[
"paused",
"running",
"stopping",
"stopped",
"killed",
"uninitialized"
],
"default":"stopped"
}
]
},
"links":{
"description":"Links for item",
"minItems":1,
"maxItems":16,
"type":"array",
"items":{
"type":"object",
"properties":{
"$schema":{
"enum":[
"ogg:link"
]
},
"rel":{
"description":"Relationship of href to the requested link",
"enum":[
"alternate",
"canonical",
"current",
"describedby",
"describes",
"enclosure",
"parent",
"related",
"self",
"first",
"last",
"next",
"previous",
"ogg://service"
]
},
"href":{
"description":"An absolute URI for the link",
"type":"string",
"pattern":"^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \\t]*$",
"minLength":2,
"maxLength":4095
},
"mediaType":{
"description":"Media type - see RFC 4288 (https://tools.ietf.org/html/rfc4288)",
"type":"string",
"pattern":"^(text|application)/[a-zA-Z0-9!#$&.+-^_]+$",
"minLength":6,
"maxLength":255
},
"description":{
"description":"A human-readable description that provides information and detail specific to this link.",
"type":"string",
"minLength":1,
"maxLength":4095
}
},
"required":[
"rel",
"href"
],
"additionalProperties":false
}
}
},
"required":[
"name",
"links"
],
"additionalProperties":true
},
{
"properties":{
"details":{
"type":"object",
"properties":{
"tcpKeepAliveTimeout":{
"description":"Timeout (seconds) for keep-alive",
"type":"integer",
"default":120,
"minimum":1,
"maximum":10800
},
"qualityOfService":{
"description":"The quality level of the data streaming service ",
"type":"string",
"enum":[
"atLeastOnce",
"exactlyOnce",
"atMostOnce"
],
"default":"exactlyOnce"
},
"encoding":{
"description":"data encoding method",
"default":"json",
"x-oneOf":[
{
"description":"json encoding configuration",
"type":"object",
"properties":{
"json":{
"type":"object",
"properties":{
"beforeImageName":{
"description":"JSON element name for before image, applicable to op model only",
"type":"string",
"minLength":1,
"maxLength":32,
"default":"before"
},
"model":{
"description":"the model of records",
"enum":[
"op",
"row"
],
"default":"op"
},
"maxDDLTextSize":{
"description":"DDL text is truncated when exceeding this maximum size in bytes",
"type":"integer",
"minimum":1,
"maximum":"4294967295",
"default":1000000
},
"omitNullColumnValues":{
"description":"excludes columns with a null value",
"type":"boolean",
"default":false
},
"afterImageName":{
"description":"JSON element name for after image, applicable to op model only",
"type":"string",
"minLength":1,
"maxLength":32,
"default":"after"
},
"operationStrings":{
"description":"operation type string values",
"type":"object",
"properties":{
"insertOp":{
"default":"INSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"updateOp":{
"default":"UPDATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"deleteOp":{
"default":"DELETE",
"type":"string",
"minLength":1,
"maxLength":32
},
"truncateOp":{
"default":"TRUNCATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"upsertOp":{
"default":"UPSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"ddlOp":{
"default":"DDL",
"type":"string",
"minLength":1,
"maxLength":32
}
},
"additionalProperties":false
},
"$schema":{
"enum":[
"ogg:outputFormatJson"
]
},
"delimiter":{
"description":"delimiter between records",
"type":"string",
"minLength":0,
"maxLength":32
},
"metaFields":{
"description":"specifies metadata to include in records",
"type":"object",
"properties":{
"table":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"pos":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opType":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opSeqno":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"schema":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"transInd":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"currentTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"xid":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTs":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"env":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"currentTs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"qualifiedTable":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"primaryKeys":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"sys":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"csn":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"catalog":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"tokens":{
"default":null,
"x-oneOf":[
{
"enum":[
null,
"user",
"ggs",
"all"
]
},
{
"type":"object"
}
]
}
},
"additionalProperties":false
},
"includeJSONSchemaRecord":{
"description":"includes JSONSchema records describing every record in the stream including stream metadata record, object metadata record, DML record, and DDL record",
"type":"boolean",
"default":true
},
"maxLobSize":{
"description":"LOB data is truncated when exceeding this maximum size in bytes",
"type":"integer",
"minimum":1,
"maximum":"18446744073709552000",
"default":64000
},
"staticFields":{
"description":"specifies fields with static values in records",
"type":"object"
},
"treatAllColumnsAsStrings":{
"description":"writes all column values as strings instead of their native types",
"type":"boolean",
"default":false
},
"includeObjectMetadataRecords":{
"description":"includes metadata records describing a table, such as a list of its columns and types",
"type":"boolean",
"default":true
},
"flattenDelimiter":{
"description":"delimiter for concatenated JSON element names in before and after image columns, applicable to op model only",
"type":"string",
"minLength":0,
"maxLength":32
},
"maxRecordSize":{
"description":"record is truncated or chunked when exceeding this maximum size in bytes",
"type":"integer",
"minimum":131072,
"maximum":10485760,
"default":1048576
},
"flatten":{
"description":"flattens before and after image columns, applicable to op model only",
"type":"boolean",
"default":false
},
"includeStreamMetadataRecord":{
"description":"includes metadata record describing global information related to the source database and producer",
"type":"boolean",
"default":true
},
"truncateOrChunk":{
"description":"whether to truncate or chunk a record exceeding the maximum record size",
"enum":[
"truncate",
"chunk"
],
"default":"truncate"
}
},
"additionalProperties":false
}
},
"additionalProperties":false
},
{
"enum":[
"json"
]
}
]
},
"$schema":{
"enum":[
"ogg:dataStream"
]
},
"rules":{
"type":"array",
"items":{
"description":"data streaming rule",
"type":"object",
"properties":{
"description":{
"description":"Description for the rule",
"type":"string",
"minLength":1,
"maxLength":4095
},
"filter":{
"description":"data streams rule filter",
"x-oneOf":[
{
"description":"data record object names",
"type":"object",
"properties":{
"objectNames":{
"description":"set of object names",
"type":"array",
"items":{
"description":"Qualified table name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"objectNames"
],
"additionalProperties":false
},
{
"description":"data record operation types",
"type":"object",
"properties":{
"operationTypes":{
"description":"set of operation types",
"type":"array",
"items":{
"enum":[
"DML",
"DDL",
"INSERT",
"UPDATE",
"UPSERT",
"DELETE"
]
},
"minItems":1,
"maxItems":6
}
},
"required":[
"operationTypes"
],
"additionalProperties":false
},
{
"description":"data record column values",
"type":"object",
"properties":{
"columnValues":{
"description":"set of column values",
"type":"array",
"items":{
"type":"object",
"properties":{
"tableName":{
"description":"name of the table in which the column(s) reside",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"columnName":{
"description":"name of the column",
"type":"string",
"pattern":"^([^.*?\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":1,
"maxLength":130
},
"columnValue":{
"description":"column data, currently only support char and binary integer type",
"x-oneOf":[
{
"type":"string",
"minLength":0,
"maxLength":32767
},
{
"type":"number"
},
{
"type":"null"
}
]
},
"imageType":{
"description":"before or after column image. INSERT only has after image and DELETE only has before image, applies to cases where both before and after images are available.",
"enum":[
"before",
"after"
],
"default":"before"
},
"operator":{
"description":"comparison operator",
"enum":[
"equalTo",
"notEqualTo",
"lessThan",
"lessThanOrEqualTo",
"greaterThan",
"greaterThanOrEqualTo"
],
"default":"equalTo"
}
},
"required":[
"tableName",
"columnName",
"columnValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"columnValues"
],
"additionalProperties":false
},
{
"description":"data record tags",
"type":"object",
"properties":{
"tags":{
"description":"set of binary tags",
"x-oneOf":[
{
"type":"array",
"items":{
"x-oneOf":[
{
"description":"Binary string representing the tag value.",
"type":"object",
"properties":{
"binValue":{
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binValue"
],
"additionalProperties":false
},
{
"description":"Hexdecimal string representing the tag value.",
"type":"object",
"properties":{
"hexValue":{
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexValue"
],
"additionalProperties":false
},
{
"description":"binary tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"binMask":{
"description":"binary string representing the tag mask value.",
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binMask"
],
"additionalProperties":false
},
{
"description":"Hexdecimal tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"hexMask":{
"description":"Hexdecimal string representing the tag mask value.",
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexMask"
],
"additionalProperties":false
}
]
},
"minItems":1,
"maxItems":32767
},
{
"enum":[
"all",
"none"
]
}
]
}
},
"required":[
"tags"
],
"additionalProperties":false
},
{
"description":"data record partition names",
"type":"object",
"properties":{
"partitionNames":{
"description":"set of partition names",
"type":"array",
"items":{
"description":"Qualified partition name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":7,
"maxLength":523
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"partitionNames"
],
"additionalProperties":false
},
{
"description":"data record user tokens",
"type":"object",
"properties":{
"userTokens":{
"description":"set of user tokens",
"type":"array",
"items":{
"type":"object",
"properties":{
"tokenName":{
"description":"user token name",
"type":"string",
"minLength":1,
"maxLength":30
},
"tokenValue":{
"description":"user token value",
"type":"string",
"minLength":1,
"maxLength":32767
},
"matchType":{
"description":"how to match the filter value",
"enum":[
"exactCaseSensitive",
"exactCaseInsensitive",
"partialCaseSensitive",
"partialCaseInsensitive"
],
"default":"exactCaseSensistive"
}
},
"required":[
"tokenName",
"tokenValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"userTokens"
],
"additionalProperties":false
}
]
},
"action":{
"enum":[
"include",
"exclude"
]
}
},
"required":[
"filter",
"action"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":1024
},
"source":{
"description":"source endpoint of the data stream.",
"type":"object",
"properties":{
"trail":{
"description":"The name of the trail",
"type":"string",
"pattern":"^[a-zA-Z0-9_#$/-]*$",
"minLength":2,
"maxLength":512
},
"path":{
"description":"The path where trail data is stored",
"type":"string",
"minLength":1,
"maxLength":4096
}
},
"required":[
"trail"
],
"additionalProperties":false
},
"bufferSize":{
"description":"data buffer size in bytes before flush",
"type":"integer",
"minimum":131072,
"maximum":10485760,
"default":1048576
},
"cloudEventsFormat":{
"description":"data records conform to cloudEvents format",
"type":"boolean",
"default":false
},
"description":{
"description":"Description for the data stream",
"type":"string",
"minLength":1,
"maxLength":4096
}
},
"required":[
"source"
],
"additionalProperties":false
}
},
"additionalProperties":true
}
]
},
"minItems":0,
"maxItems":32767
}
},
"additionalProperties":false
}
Nested Schema : items
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
Show Source
32767{
"type":"array",
"items":{
"allOf":[
{
"type":"object",
"properties":{
"$schema":{
"description":"Name of schema for collection item, defaults to this schema",
"type":"string",
"minLength":1,
"maxLength":255,
"default":"ogg:collectionItem"
},
"name":{
"description":"Item name",
"type":"string",
"minLength":1,
"maxLength":255
},
"status":{
"description":"Item status",
"x-anyOf":[
{
"enum":[
"starting",
"running",
"stopped",
"killed",
"abended"
]
},
{
"enum":[
"paused",
"running",
"stopping",
"stopped",
"killed",
"uninitialized"
],
"default":"stopped"
}
]
},
"links":{
"description":"Links for item",
"minItems":1,
"maxItems":16,
"type":"array",
"items":{
"type":"object",
"properties":{
"$schema":{
"enum":[
"ogg:link"
]
},
"rel":{
"description":"Relationship of href to the requested link",
"enum":[
"alternate",
"canonical",
"current",
"describedby",
"describes",
"enclosure",
"parent",
"related",
"self",
"first",
"last",
"next",
"previous",
"ogg://service"
]
},
"href":{
"description":"An absolute URI for the link",
"type":"string",
"pattern":"^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \\t]*$",
"minLength":2,
"maxLength":4095
},
"mediaType":{
"description":"Media type - see RFC 4288 (https://tools.ietf.org/html/rfc4288)",
"type":"string",
"pattern":"^(text|application)/[a-zA-Z0-9!#$&.+-^_]+$",
"minLength":6,
"maxLength":255
},
"description":{
"description":"A human-readable description that provides information and detail specific to this link.",
"type":"string",
"minLength":1,
"maxLength":4095
}
},
"required":[
"rel",
"href"
],
"additionalProperties":false
}
}
},
"required":[
"name",
"links"
],
"additionalProperties":true
},
{
"properties":{
"details":{
"type":"object",
"properties":{
"tcpKeepAliveTimeout":{
"description":"Timeout (seconds) for keep-alive",
"type":"integer",
"default":120,
"minimum":1,
"maximum":10800
},
"qualityOfService":{
"description":"The quality level of the data streaming service ",
"type":"string",
"enum":[
"atLeastOnce",
"exactlyOnce",
"atMostOnce"
],
"default":"exactlyOnce"
},
"encoding":{
"description":"data encoding method",
"default":"json",
"x-oneOf":[
{
"description":"json encoding configuration",
"type":"object",
"properties":{
"json":{
"type":"object",
"properties":{
"beforeImageName":{
"description":"JSON element name for before image, applicable to op model only",
"type":"string",
"minLength":1,
"maxLength":32,
"default":"before"
},
"model":{
"description":"the model of records",
"enum":[
"op",
"row"
],
"default":"op"
},
"maxDDLTextSize":{
"description":"DDL text is truncated when exceeding this maximum size in bytes",
"type":"integer",
"minimum":1,
"maximum":"4294967295",
"default":1000000
},
"omitNullColumnValues":{
"description":"excludes columns with a null value",
"type":"boolean",
"default":false
},
"afterImageName":{
"description":"JSON element name for after image, applicable to op model only",
"type":"string",
"minLength":1,
"maxLength":32,
"default":"after"
},
"operationStrings":{
"description":"operation type string values",
"type":"object",
"properties":{
"insertOp":{
"default":"INSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"updateOp":{
"default":"UPDATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"deleteOp":{
"default":"DELETE",
"type":"string",
"minLength":1,
"maxLength":32
},
"truncateOp":{
"default":"TRUNCATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"upsertOp":{
"default":"UPSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"ddlOp":{
"default":"DDL",
"type":"string",
"minLength":1,
"maxLength":32
}
},
"additionalProperties":false
},
"$schema":{
"enum":[
"ogg:outputFormatJson"
]
},
"delimiter":{
"description":"delimiter between records",
"type":"string",
"minLength":0,
"maxLength":32
},
"metaFields":{
"description":"specifies metadata to include in records",
"type":"object",
"properties":{
"table":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"pos":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opType":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opSeqno":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"schema":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"transInd":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"currentTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"xid":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTs":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"env":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"currentTs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"qualifiedTable":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"primaryKeys":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"sys":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"csn":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"catalog":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"tokens":{
"default":null,
"x-oneOf":[
{
"enum":[
null,
"user",
"ggs",
"all"
]
},
{
"type":"object"
}
]
}
},
"additionalProperties":false
},
"includeJSONSchemaRecord":{
"description":"includes JSONSchema records describing every record in the stream including stream metadata record, object metadata record, DML record, and DDL record",
"type":"boolean",
"default":true
},
"maxLobSize":{
"description":"LOB data is truncated when exceeding this maximum size in bytes",
"type":"integer",
"minimum":1,
"maximum":"18446744073709552000",
"default":64000
},
"staticFields":{
"description":"specifies fields with static values in records",
"type":"object"
},
"treatAllColumnsAsStrings":{
"description":"writes all column values as strings instead of their native types",
"type":"boolean",
"default":false
},
"includeObjectMetadataRecords":{
"description":"includes metadata records describing a table, such as a list of its columns and types",
"type":"boolean",
"default":true
},
"flattenDelimiter":{
"description":"delimiter for concatenated JSON element names in before and after image columns, applicable to op model only",
"type":"string",
"minLength":0,
"maxLength":32
},
"maxRecordSize":{
"description":"record is truncated or chunked when exceeding this maximum size in bytes",
"type":"integer",
"minimum":131072,
"maximum":10485760,
"default":1048576
},
"flatten":{
"description":"flattens before and after image columns, applicable to op model only",
"type":"boolean",
"default":false
},
"includeStreamMetadataRecord":{
"description":"includes metadata record describing global information related to the source database and producer",
"type":"boolean",
"default":true
},
"truncateOrChunk":{
"description":"whether to truncate or chunk a record exceeding the maximum record size",
"enum":[
"truncate",
"chunk"
],
"default":"truncate"
}
},
"additionalProperties":false
}
},
"additionalProperties":false
},
{
"enum":[
"json"
]
}
]
},
"$schema":{
"enum":[
"ogg:dataStream"
]
},
"rules":{
"type":"array",
"items":{
"description":"data streaming rule",
"type":"object",
"properties":{
"description":{
"description":"Description for the rule",
"type":"string",
"minLength":1,
"maxLength":4095
},
"filter":{
"description":"data streams rule filter",
"x-oneOf":[
{
"description":"data record object names",
"type":"object",
"properties":{
"objectNames":{
"description":"set of object names",
"type":"array",
"items":{
"description":"Qualified table name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"objectNames"
],
"additionalProperties":false
},
{
"description":"data record operation types",
"type":"object",
"properties":{
"operationTypes":{
"description":"set of operation types",
"type":"array",
"items":{
"enum":[
"DML",
"DDL",
"INSERT",
"UPDATE",
"UPSERT",
"DELETE"
]
},
"minItems":1,
"maxItems":6
}
},
"required":[
"operationTypes"
],
"additionalProperties":false
},
{
"description":"data record column values",
"type":"object",
"properties":{
"columnValues":{
"description":"set of column values",
"type":"array",
"items":{
"type":"object",
"properties":{
"tableName":{
"description":"name of the table in which the column(s) reside",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"columnName":{
"description":"name of the column",
"type":"string",
"pattern":"^([^.*?\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":1,
"maxLength":130
},
"columnValue":{
"description":"column data, currently only support char and binary integer type",
"x-oneOf":[
{
"type":"string",
"minLength":0,
"maxLength":32767
},
{
"type":"number"
},
{
"type":"null"
}
]
},
"imageType":{
"description":"before or after column image. INSERT only has after image and DELETE only has before image, applies to cases where both before and after images are available.",
"enum":[
"before",
"after"
],
"default":"before"
},
"operator":{
"description":"comparison operator",
"enum":[
"equalTo",
"notEqualTo",
"lessThan",
"lessThanOrEqualTo",
"greaterThan",
"greaterThanOrEqualTo"
],
"default":"equalTo"
}
},
"required":[
"tableName",
"columnName",
"columnValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"columnValues"
],
"additionalProperties":false
},
{
"description":"data record tags",
"type":"object",
"properties":{
"tags":{
"description":"set of binary tags",
"x-oneOf":[
{
"type":"array",
"items":{
"x-oneOf":[
{
"description":"Binary string representing the tag value.",
"type":"object",
"properties":{
"binValue":{
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binValue"
],
"additionalProperties":false
},
{
"description":"Hexdecimal string representing the tag value.",
"type":"object",
"properties":{
"hexValue":{
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexValue"
],
"additionalProperties":false
},
{
"description":"binary tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"binMask":{
"description":"binary string representing the tag mask value.",
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binMask"
],
"additionalProperties":false
},
{
"description":"Hexdecimal tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"hexMask":{
"description":"Hexdecimal string representing the tag mask value.",
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexMask"
],
"additionalProperties":false
}
]
},
"minItems":1,
"maxItems":32767
},
{
"enum":[
"all",
"none"
]
}
]
}
},
"required":[
"tags"
],
"additionalProperties":false
},
{
"description":"data record partition names",
"type":"object",
"properties":{
"partitionNames":{
"description":"set of partition names",
"type":"array",
"items":{
"description":"Qualified partition name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":7,
"maxLength":523
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"partitionNames"
],
"additionalProperties":false
},
{
"description":"data record user tokens",
"type":"object",
"properties":{
"userTokens":{
"description":"set of user tokens",
"type":"array",
"items":{
"type":"object",
"properties":{
"tokenName":{
"description":"user token name",
"type":"string",
"minLength":1,
"maxLength":30
},
"tokenValue":{
"description":"user token value",
"type":"string",
"minLength":1,
"maxLength":32767
},
"matchType":{
"description":"how to match the filter value",
"enum":[
"exactCaseSensitive",
"exactCaseInsensitive",
"partialCaseSensitive",
"partialCaseInsensitive"
],
"default":"exactCaseSensistive"
}
},
"required":[
"tokenName",
"tokenValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"userTokens"
],
"additionalProperties":false
}
]
},
"action":{
"enum":[
"include",
"exclude"
]
}
},
"required":[
"filter",
"action"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":1024
},
"source":{
"description":"source endpoint of the data stream.",
"type":"object",
"properties":{
"trail":{
"description":"The name of the trail",
"type":"string",
"pattern":"^[a-zA-Z0-9_#$/-]*$",
"minLength":2,
"maxLength":512
},
"path":{
"description":"The path where trail data is stored",
"type":"string",
"minLength":1,
"maxLength":4096
}
},
"required":[
"trail"
],
"additionalProperties":false
},
"bufferSize":{
"description":"data buffer size in bytes before flush",
"type":"integer",
"minimum":131072,
"maximum":10485760,
"default":1048576
},
"cloudEventsFormat":{
"description":"data records conform to cloudEvents format",
"type":"boolean",
"default":false
},
"description":{
"description":"Description for the data stream",
"type":"string",
"minLength":1,
"maxLength":4096
}
},
"required":[
"source"
],
"additionalProperties":false
}
},
"additionalProperties":true
}
]
},
"minItems":0,
"maxItems":32767
}
Nested Schema : items
Match All
Show Source
-
object
items-allOf[0]
Additional Properties Allowed:
true -
object
items-allOf[1]
Additional Properties Allowed:
true
{
"allOf":[
{
"type":"object",
"properties":{
"$schema":{
"description":"Name of schema for collection item, defaults to this schema",
"type":"string",
"minLength":1,
"maxLength":255,
"default":"ogg:collectionItem"
},
"name":{
"description":"Item name",
"type":"string",
"minLength":1,
"maxLength":255
},
"status":{
"description":"Item status",
"x-anyOf":[
{
"enum":[
"starting",
"running",
"stopped",
"killed",
"abended"
]
},
{
"enum":[
"paused",
"running",
"stopping",
"stopped",
"killed",
"uninitialized"
],
"default":"stopped"
}
]
},
"links":{
"description":"Links for item",
"minItems":1,
"maxItems":16,
"type":"array",
"items":{
"type":"object",
"properties":{
"$schema":{
"enum":[
"ogg:link"
]
},
"rel":{
"description":"Relationship of href to the requested link",
"enum":[
"alternate",
"canonical",
"current",
"describedby",
"describes",
"enclosure",
"parent",
"related",
"self",
"first",
"last",
"next",
"previous",
"ogg://service"
]
},
"href":{
"description":"An absolute URI for the link",
"type":"string",
"pattern":"^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \\t]*$",
"minLength":2,
"maxLength":4095
},
"mediaType":{
"description":"Media type - see RFC 4288 (https://tools.ietf.org/html/rfc4288)",
"type":"string",
"pattern":"^(text|application)/[a-zA-Z0-9!#$&.+-^_]+$",
"minLength":6,
"maxLength":255
},
"description":{
"description":"A human-readable description that provides information and detail specific to this link.",
"type":"string",
"minLength":1,
"maxLength":4095
}
},
"required":[
"rel",
"href"
],
"additionalProperties":false
}
}
},
"required":[
"name",
"links"
],
"additionalProperties":true
},
{
"properties":{
"details":{
"type":"object",
"properties":{
"tcpKeepAliveTimeout":{
"description":"Timeout (seconds) for keep-alive",
"type":"integer",
"default":120,
"minimum":1,
"maximum":10800
},
"qualityOfService":{
"description":"The quality level of the data streaming service ",
"type":"string",
"enum":[
"atLeastOnce",
"exactlyOnce",
"atMostOnce"
],
"default":"exactlyOnce"
},
"encoding":{
"description":"data encoding method",
"default":"json",
"x-oneOf":[
{
"description":"json encoding configuration",
"type":"object",
"properties":{
"json":{
"type":"object",
"properties":{
"beforeImageName":{
"description":"JSON element name for before image, applicable to op model only",
"type":"string",
"minLength":1,
"maxLength":32,
"default":"before"
},
"model":{
"description":"the model of records",
"enum":[
"op",
"row"
],
"default":"op"
},
"maxDDLTextSize":{
"description":"DDL text is truncated when exceeding this maximum size in bytes",
"type":"integer",
"minimum":1,
"maximum":"4294967295",
"default":1000000
},
"omitNullColumnValues":{
"description":"excludes columns with a null value",
"type":"boolean",
"default":false
},
"afterImageName":{
"description":"JSON element name for after image, applicable to op model only",
"type":"string",
"minLength":1,
"maxLength":32,
"default":"after"
},
"operationStrings":{
"description":"operation type string values",
"type":"object",
"properties":{
"insertOp":{
"default":"INSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"updateOp":{
"default":"UPDATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"deleteOp":{
"default":"DELETE",
"type":"string",
"minLength":1,
"maxLength":32
},
"truncateOp":{
"default":"TRUNCATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"upsertOp":{
"default":"UPSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"ddlOp":{
"default":"DDL",
"type":"string",
"minLength":1,
"maxLength":32
}
},
"additionalProperties":false
},
"$schema":{
"enum":[
"ogg:outputFormatJson"
]
},
"delimiter":{
"description":"delimiter between records",
"type":"string",
"minLength":0,
"maxLength":32
},
"metaFields":{
"description":"specifies metadata to include in records",
"type":"object",
"properties":{
"table":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"pos":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opType":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opSeqno":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"schema":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"transInd":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"currentTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"xid":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTs":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"env":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"currentTs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"qualifiedTable":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"primaryKeys":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"sys":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"csn":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"catalog":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"tokens":{
"default":null,
"x-oneOf":[
{
"enum":[
null,
"user",
"ggs",
"all"
]
},
{
"type":"object"
}
]
}
},
"additionalProperties":false
},
"includeJSONSchemaRecord":{
"description":"includes JSONSchema records describing every record in the stream including stream metadata record, object metadata record, DML record, and DDL record",
"type":"boolean",
"default":true
},
"maxLobSize":{
"description":"LOB data is truncated when exceeding this maximum size in bytes",
"type":"integer",
"minimum":1,
"maximum":"18446744073709552000",
"default":64000
},
"staticFields":{
"description":"specifies fields with static values in records",
"type":"object"
},
"treatAllColumnsAsStrings":{
"description":"writes all column values as strings instead of their native types",
"type":"boolean",
"default":false
},
"includeObjectMetadataRecords":{
"description":"includes metadata records describing a table, such as a list of its columns and types",
"type":"boolean",
"default":true
},
"flattenDelimiter":{
"description":"delimiter for concatenated JSON element names in before and after image columns, applicable to op model only",
"type":"string",
"minLength":0,
"maxLength":32
},
"maxRecordSize":{
"description":"record is truncated or chunked when exceeding this maximum size in bytes",
"type":"integer",
"minimum":131072,
"maximum":10485760,
"default":1048576
},
"flatten":{
"description":"flattens before and after image columns, applicable to op model only",
"type":"boolean",
"default":false
},
"includeStreamMetadataRecord":{
"description":"includes metadata record describing global information related to the source database and producer",
"type":"boolean",
"default":true
},
"truncateOrChunk":{
"description":"whether to truncate or chunk a record exceeding the maximum record size",
"enum":[
"truncate",
"chunk"
],
"default":"truncate"
}
},
"additionalProperties":false
}
},
"additionalProperties":false
},
{
"enum":[
"json"
]
}
]
},
"$schema":{
"enum":[
"ogg:dataStream"
]
},
"rules":{
"type":"array",
"items":{
"description":"data streaming rule",
"type":"object",
"properties":{
"description":{
"description":"Description for the rule",
"type":"string",
"minLength":1,
"maxLength":4095
},
"filter":{
"description":"data streams rule filter",
"x-oneOf":[
{
"description":"data record object names",
"type":"object",
"properties":{
"objectNames":{
"description":"set of object names",
"type":"array",
"items":{
"description":"Qualified table name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"objectNames"
],
"additionalProperties":false
},
{
"description":"data record operation types",
"type":"object",
"properties":{
"operationTypes":{
"description":"set of operation types",
"type":"array",
"items":{
"enum":[
"DML",
"DDL",
"INSERT",
"UPDATE",
"UPSERT",
"DELETE"
]
},
"minItems":1,
"maxItems":6
}
},
"required":[
"operationTypes"
],
"additionalProperties":false
},
{
"description":"data record column values",
"type":"object",
"properties":{
"columnValues":{
"description":"set of column values",
"type":"array",
"items":{
"type":"object",
"properties":{
"tableName":{
"description":"name of the table in which the column(s) reside",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"columnName":{
"description":"name of the column",
"type":"string",
"pattern":"^([^.*?\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":1,
"maxLength":130
},
"columnValue":{
"description":"column data, currently only support char and binary integer type",
"x-oneOf":[
{
"type":"string",
"minLength":0,
"maxLength":32767
},
{
"type":"number"
},
{
"type":"null"
}
]
},
"imageType":{
"description":"before or after column image. INSERT only has after image and DELETE only has before image, applies to cases where both before and after images are available.",
"enum":[
"before",
"after"
],
"default":"before"
},
"operator":{
"description":"comparison operator",
"enum":[
"equalTo",
"notEqualTo",
"lessThan",
"lessThanOrEqualTo",
"greaterThan",
"greaterThanOrEqualTo"
],
"default":"equalTo"
}
},
"required":[
"tableName",
"columnName",
"columnValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"columnValues"
],
"additionalProperties":false
},
{
"description":"data record tags",
"type":"object",
"properties":{
"tags":{
"description":"set of binary tags",
"x-oneOf":[
{
"type":"array",
"items":{
"x-oneOf":[
{
"description":"Binary string representing the tag value.",
"type":"object",
"properties":{
"binValue":{
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binValue"
],
"additionalProperties":false
},
{
"description":"Hexdecimal string representing the tag value.",
"type":"object",
"properties":{
"hexValue":{
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexValue"
],
"additionalProperties":false
},
{
"description":"binary tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"binMask":{
"description":"binary string representing the tag mask value.",
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binMask"
],
"additionalProperties":false
},
{
"description":"Hexdecimal tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"hexMask":{
"description":"Hexdecimal string representing the tag mask value.",
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexMask"
],
"additionalProperties":false
}
]
},
"minItems":1,
"maxItems":32767
},
{
"enum":[
"all",
"none"
]
}
]
}
},
"required":[
"tags"
],
"additionalProperties":false
},
{
"description":"data record partition names",
"type":"object",
"properties":{
"partitionNames":{
"description":"set of partition names",
"type":"array",
"items":{
"description":"Qualified partition name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":7,
"maxLength":523
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"partitionNames"
],
"additionalProperties":false
},
{
"description":"data record user tokens",
"type":"object",
"properties":{
"userTokens":{
"description":"set of user tokens",
"type":"array",
"items":{
"type":"object",
"properties":{
"tokenName":{
"description":"user token name",
"type":"string",
"minLength":1,
"maxLength":30
},
"tokenValue":{
"description":"user token value",
"type":"string",
"minLength":1,
"maxLength":32767
},
"matchType":{
"description":"how to match the filter value",
"enum":[
"exactCaseSensitive",
"exactCaseInsensitive",
"partialCaseSensitive",
"partialCaseInsensitive"
],
"default":"exactCaseSensistive"
}
},
"required":[
"tokenName",
"tokenValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"userTokens"
],
"additionalProperties":false
}
]
},
"action":{
"enum":[
"include",
"exclude"
]
}
},
"required":[
"filter",
"action"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":1024
},
"source":{
"description":"source endpoint of the data stream.",
"type":"object",
"properties":{
"trail":{
"description":"The name of the trail",
"type":"string",
"pattern":"^[a-zA-Z0-9_#$/-]*$",
"minLength":2,
"maxLength":512
},
"path":{
"description":"The path where trail data is stored",
"type":"string",
"minLength":1,
"maxLength":4096
}
},
"required":[
"trail"
],
"additionalProperties":false
},
"bufferSize":{
"description":"data buffer size in bytes before flush",
"type":"integer",
"minimum":131072,
"maximum":10485760,
"default":1048576
},
"cloudEventsFormat":{
"description":"data records conform to cloudEvents format",
"type":"boolean",
"default":false
},
"description":{
"description":"Description for the data stream",
"type":"string",
"minLength":1,
"maxLength":4096
}
},
"required":[
"source"
],
"additionalProperties":false
}
},
"additionalProperties":true
}
]
}
Nested Schema : items-allOf[0]
Type:
objectAdditional Properties Allowed:
Show Source
true-
$schema:
string
Minimum Length:
1Maximum Length:255Default Value:ogg:collectionItemName of schema for collection item, defaults to this schema -
links(required):
array links
Minimum Number of Items:
1Maximum Number of Items:16Links for item -
name(required):
string
Minimum Length:
1Maximum Length:255Item name -
status:
status
Item status
{
"type":"object",
"properties":{
"$schema":{
"description":"Name of schema for collection item, defaults to this schema",
"type":"string",
"minLength":1,
"maxLength":255,
"default":"ogg:collectionItem"
},
"name":{
"description":"Item name",
"type":"string",
"minLength":1,
"maxLength":255
},
"status":{
"description":"Item status",
"x-anyOf":[
{
"enum":[
"starting",
"running",
"stopped",
"killed",
"abended"
]
},
{
"enum":[
"paused",
"running",
"stopping",
"stopped",
"killed",
"uninitialized"
],
"default":"stopped"
}
]
},
"links":{
"description":"Links for item",
"minItems":1,
"maxItems":16,
"type":"array",
"items":{
"type":"object",
"properties":{
"$schema":{
"enum":[
"ogg:link"
]
},
"rel":{
"description":"Relationship of href to the requested link",
"enum":[
"alternate",
"canonical",
"current",
"describedby",
"describes",
"enclosure",
"parent",
"related",
"self",
"first",
"last",
"next",
"previous",
"ogg://service"
]
},
"href":{
"description":"An absolute URI for the link",
"type":"string",
"pattern":"^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \\t]*$",
"minLength":2,
"maxLength":4095
},
"mediaType":{
"description":"Media type - see RFC 4288 (https://tools.ietf.org/html/rfc4288)",
"type":"string",
"pattern":"^(text|application)/[a-zA-Z0-9!#$&.+-^_]+$",
"minLength":6,
"maxLength":255
},
"description":{
"description":"A human-readable description that provides information and detail specific to this link.",
"type":"string",
"minLength":1,
"maxLength":4095
}
},
"required":[
"rel",
"href"
],
"additionalProperties":false
}
}
},
"required":[
"name",
"links"
],
"additionalProperties":true
}
Nested Schema : items-allOf[1]
Type:
objectAdditional Properties Allowed:
Show Source
true{
"properties":{
"details":{
"type":"object",
"properties":{
"tcpKeepAliveTimeout":{
"description":"Timeout (seconds) for keep-alive",
"type":"integer",
"default":120,
"minimum":1,
"maximum":10800
},
"qualityOfService":{
"description":"The quality level of the data streaming service ",
"type":"string",
"enum":[
"atLeastOnce",
"exactlyOnce",
"atMostOnce"
],
"default":"exactlyOnce"
},
"encoding":{
"description":"data encoding method",
"default":"json",
"x-oneOf":[
{
"description":"json encoding configuration",
"type":"object",
"properties":{
"json":{
"type":"object",
"properties":{
"beforeImageName":{
"description":"JSON element name for before image, applicable to op model only",
"type":"string",
"minLength":1,
"maxLength":32,
"default":"before"
},
"model":{
"description":"the model of records",
"enum":[
"op",
"row"
],
"default":"op"
},
"maxDDLTextSize":{
"description":"DDL text is truncated when exceeding this maximum size in bytes",
"type":"integer",
"minimum":1,
"maximum":"4294967295",
"default":1000000
},
"omitNullColumnValues":{
"description":"excludes columns with a null value",
"type":"boolean",
"default":false
},
"afterImageName":{
"description":"JSON element name for after image, applicable to op model only",
"type":"string",
"minLength":1,
"maxLength":32,
"default":"after"
},
"operationStrings":{
"description":"operation type string values",
"type":"object",
"properties":{
"insertOp":{
"default":"INSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"updateOp":{
"default":"UPDATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"deleteOp":{
"default":"DELETE",
"type":"string",
"minLength":1,
"maxLength":32
},
"truncateOp":{
"default":"TRUNCATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"upsertOp":{
"default":"UPSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"ddlOp":{
"default":"DDL",
"type":"string",
"minLength":1,
"maxLength":32
}
},
"additionalProperties":false
},
"$schema":{
"enum":[
"ogg:outputFormatJson"
]
},
"delimiter":{
"description":"delimiter between records",
"type":"string",
"minLength":0,
"maxLength":32
},
"metaFields":{
"description":"specifies metadata to include in records",
"type":"object",
"properties":{
"table":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"pos":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opType":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opSeqno":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"schema":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"transInd":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"currentTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"xid":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTs":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"env":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"currentTs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"qualifiedTable":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"primaryKeys":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"sys":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"csn":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"catalog":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"tokens":{
"default":null,
"x-oneOf":[
{
"enum":[
null,
"user",
"ggs",
"all"
]
},
{
"type":"object"
}
]
}
},
"additionalProperties":false
},
"includeJSONSchemaRecord":{
"description":"includes JSONSchema records describing every record in the stream including stream metadata record, object metadata record, DML record, and DDL record",
"type":"boolean",
"default":true
},
"maxLobSize":{
"description":"LOB data is truncated when exceeding this maximum size in bytes",
"type":"integer",
"minimum":1,
"maximum":"18446744073709552000",
"default":64000
},
"staticFields":{
"description":"specifies fields with static values in records",
"type":"object"
},
"treatAllColumnsAsStrings":{
"description":"writes all column values as strings instead of their native types",
"type":"boolean",
"default":false
},
"includeObjectMetadataRecords":{
"description":"includes metadata records describing a table, such as a list of its columns and types",
"type":"boolean",
"default":true
},
"flattenDelimiter":{
"description":"delimiter for concatenated JSON element names in before and after image columns, applicable to op model only",
"type":"string",
"minLength":0,
"maxLength":32
},
"maxRecordSize":{
"description":"record is truncated or chunked when exceeding this maximum size in bytes",
"type":"integer",
"minimum":131072,
"maximum":10485760,
"default":1048576
},
"flatten":{
"description":"flattens before and after image columns, applicable to op model only",
"type":"boolean",
"default":false
},
"includeStreamMetadataRecord":{
"description":"includes metadata record describing global information related to the source database and producer",
"type":"boolean",
"default":true
},
"truncateOrChunk":{
"description":"whether to truncate or chunk a record exceeding the maximum record size",
"enum":[
"truncate",
"chunk"
],
"default":"truncate"
}
},
"additionalProperties":false
}
},
"additionalProperties":false
},
{
"enum":[
"json"
]
}
]
},
"$schema":{
"enum":[
"ogg:dataStream"
]
},
"rules":{
"type":"array",
"items":{
"description":"data streaming rule",
"type":"object",
"properties":{
"description":{
"description":"Description for the rule",
"type":"string",
"minLength":1,
"maxLength":4095
},
"filter":{
"description":"data streams rule filter",
"x-oneOf":[
{
"description":"data record object names",
"type":"object",
"properties":{
"objectNames":{
"description":"set of object names",
"type":"array",
"items":{
"description":"Qualified table name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"objectNames"
],
"additionalProperties":false
},
{
"description":"data record operation types",
"type":"object",
"properties":{
"operationTypes":{
"description":"set of operation types",
"type":"array",
"items":{
"enum":[
"DML",
"DDL",
"INSERT",
"UPDATE",
"UPSERT",
"DELETE"
]
},
"minItems":1,
"maxItems":6
}
},
"required":[
"operationTypes"
],
"additionalProperties":false
},
{
"description":"data record column values",
"type":"object",
"properties":{
"columnValues":{
"description":"set of column values",
"type":"array",
"items":{
"type":"object",
"properties":{
"tableName":{
"description":"name of the table in which the column(s) reside",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"columnName":{
"description":"name of the column",
"type":"string",
"pattern":"^([^.*?\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":1,
"maxLength":130
},
"columnValue":{
"description":"column data, currently only support char and binary integer type",
"x-oneOf":[
{
"type":"string",
"minLength":0,
"maxLength":32767
},
{
"type":"number"
},
{
"type":"null"
}
]
},
"imageType":{
"description":"before or after column image. INSERT only has after image and DELETE only has before image, applies to cases where both before and after images are available.",
"enum":[
"before",
"after"
],
"default":"before"
},
"operator":{
"description":"comparison operator",
"enum":[
"equalTo",
"notEqualTo",
"lessThan",
"lessThanOrEqualTo",
"greaterThan",
"greaterThanOrEqualTo"
],
"default":"equalTo"
}
},
"required":[
"tableName",
"columnName",
"columnValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"columnValues"
],
"additionalProperties":false
},
{
"description":"data record tags",
"type":"object",
"properties":{
"tags":{
"description":"set of binary tags",
"x-oneOf":[
{
"type":"array",
"items":{
"x-oneOf":[
{
"description":"Binary string representing the tag value.",
"type":"object",
"properties":{
"binValue":{
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binValue"
],
"additionalProperties":false
},
{
"description":"Hexdecimal string representing the tag value.",
"type":"object",
"properties":{
"hexValue":{
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexValue"
],
"additionalProperties":false
},
{
"description":"binary tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"binMask":{
"description":"binary string representing the tag mask value.",
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binMask"
],
"additionalProperties":false
},
{
"description":"Hexdecimal tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"hexMask":{
"description":"Hexdecimal string representing the tag mask value.",
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexMask"
],
"additionalProperties":false
}
]
},
"minItems":1,
"maxItems":32767
},
{
"enum":[
"all",
"none"
]
}
]
}
},
"required":[
"tags"
],
"additionalProperties":false
},
{
"description":"data record partition names",
"type":"object",
"properties":{
"partitionNames":{
"description":"set of partition names",
"type":"array",
"items":{
"description":"Qualified partition name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":7,
"maxLength":523
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"partitionNames"
],
"additionalProperties":false
},
{
"description":"data record user tokens",
"type":"object",
"properties":{
"userTokens":{
"description":"set of user tokens",
"type":"array",
"items":{
"type":"object",
"properties":{
"tokenName":{
"description":"user token name",
"type":"string",
"minLength":1,
"maxLength":30
},
"tokenValue":{
"description":"user token value",
"type":"string",
"minLength":1,
"maxLength":32767
},
"matchType":{
"description":"how to match the filter value",
"enum":[
"exactCaseSensitive",
"exactCaseInsensitive",
"partialCaseSensitive",
"partialCaseInsensitive"
],
"default":"exactCaseSensistive"
}
},
"required":[
"tokenName",
"tokenValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"userTokens"
],
"additionalProperties":false
}
]
},
"action":{
"enum":[
"include",
"exclude"
]
}
},
"required":[
"filter",
"action"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":1024
},
"source":{
"description":"source endpoint of the data stream.",
"type":"object",
"properties":{
"trail":{
"description":"The name of the trail",
"type":"string",
"pattern":"^[a-zA-Z0-9_#$/-]*$",
"minLength":2,
"maxLength":512
},
"path":{
"description":"The path where trail data is stored",
"type":"string",
"minLength":1,
"maxLength":4096
}
},
"required":[
"trail"
],
"additionalProperties":false
},
"bufferSize":{
"description":"data buffer size in bytes before flush",
"type":"integer",
"minimum":131072,
"maximum":10485760,
"default":1048576
},
"cloudEventsFormat":{
"description":"data records conform to cloudEvents format",
"type":"boolean",
"default":false
},
"description":{
"description":"Description for the data stream",
"type":"string",
"minLength":1,
"maxLength":4096
}
},
"required":[
"source"
],
"additionalProperties":false
}
},
"additionalProperties":true
}
Nested Schema : links
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
16Links for item
Show Source
{
"description":"Links for item",
"minItems":1,
"maxItems":16,
"type":"array",
"items":{
"type":"object",
"properties":{
"$schema":{
"enum":[
"ogg:link"
]
},
"rel":{
"description":"Relationship of href to the requested link",
"enum":[
"alternate",
"canonical",
"current",
"describedby",
"describes",
"enclosure",
"parent",
"related",
"self",
"first",
"last",
"next",
"previous",
"ogg://service"
]
},
"href":{
"description":"An absolute URI for the link",
"type":"string",
"pattern":"^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \\t]*$",
"minLength":2,
"maxLength":4095
},
"mediaType":{
"description":"Media type - see RFC 4288 (https://tools.ietf.org/html/rfc4288)",
"type":"string",
"pattern":"^(text|application)/[a-zA-Z0-9!#$&.+-^_]+$",
"minLength":6,
"maxLength":255
},
"description":{
"description":"A human-readable description that provides information and detail specific to this link.",
"type":"string",
"minLength":1,
"maxLength":4095
}
},
"required":[
"rel",
"href"
],
"additionalProperties":false
}
}
Nested Schema : status
Item status
Match Any
Show Source
-
Allowed Values:
[ "starting", "running", "stopped", "killed", "abended" ] -
Default Value:
stoppedAllowed Values:[ "paused", "running", "stopping", "stopped", "killed", "uninitialized" ]
{
"description":"Item status",
"x-anyOf":[
{
"enum":[
"starting",
"running",
"stopped",
"killed",
"abended"
]
},
{
"enum":[
"paused",
"running",
"stopping",
"stopped",
"killed",
"uninitialized"
],
"default":"stopped"
}
]
}
Nested Schema : items
Type:
Show Source
object-
$schema:
Allowed Values:
[ "ogg:link" ] -
description:
string
Minimum Length:
1Maximum Length:4095A human-readable description that provides information and detail specific to this link. -
href(required):
string
Minimum Length:
2Maximum Length:4095Pattern:^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$An absolute URI for the link -
mediaType:
string
Minimum Length:
6Maximum Length:255Pattern:^(text|application)/[a-zA-Z0-9!#$&.+-^_]+$Media type - see RFC 4288 (https://tools.ietf.org/html/rfc4288) -
rel(required):
Allowed Values:
[ "alternate", "canonical", "current", "describedby", "describes", "enclosure", "parent", "related", "self", "first", "last", "next", "previous", "ogg://service" ]Relationship of href to the requested link
{
"type":"object",
"properties":{
"$schema":{
"enum":[
"ogg:link"
]
},
"rel":{
"description":"Relationship of href to the requested link",
"enum":[
"alternate",
"canonical",
"current",
"describedby",
"describes",
"enclosure",
"parent",
"related",
"self",
"first",
"last",
"next",
"previous",
"ogg://service"
]
},
"href":{
"description":"An absolute URI for the link",
"type":"string",
"pattern":"^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \\t]*$",
"minLength":2,
"maxLength":4095
},
"mediaType":{
"description":"Media type - see RFC 4288 (https://tools.ietf.org/html/rfc4288)",
"type":"string",
"pattern":"^(text|application)/[a-zA-Z0-9!#$&.+-^_]+$",
"minLength":6,
"maxLength":255
},
"description":{
"description":"A human-readable description that provides information and detail specific to this link.",
"type":"string",
"minLength":1,
"maxLength":4095
}
},
"required":[
"rel",
"href"
],
"additionalProperties":false
}
Nested Schema : details
Type:
Show Source
object-
$schema:
Allowed Values:
[ "ogg:dataStream" ] -
bufferSize:
integer
Minimum Value:
131072Maximum Value:10485760Default Value:1048576data buffer size in bytes before flush -
cloudEventsFormat:
boolean
Default Value:
falsedata records conform to cloudEvents format -
description:
string
Minimum Length:
1Maximum Length:4096Description for the data stream -
encoding:
encoding
data encoding method
-
qualityOfService:
string
Default Value:
exactlyOnceAllowed Values:[ "atLeastOnce", "exactlyOnce", "atMostOnce" ]The quality level of the data streaming service -
rules:
array rules
Minimum Number of Items:
1Maximum Number of Items:1024 -
source(required):
object source
source endpoint of the data stream.
-
tcpKeepAliveTimeout:
integer
Minimum Value:
1Maximum Value:10800Default Value:120Timeout (seconds) for keep-alive
{
"type":"object",
"properties":{
"tcpKeepAliveTimeout":{
"description":"Timeout (seconds) for keep-alive",
"type":"integer",
"default":120,
"minimum":1,
"maximum":10800
},
"qualityOfService":{
"description":"The quality level of the data streaming service ",
"type":"string",
"enum":[
"atLeastOnce",
"exactlyOnce",
"atMostOnce"
],
"default":"exactlyOnce"
},
"encoding":{
"description":"data encoding method",
"default":"json",
"x-oneOf":[
{
"description":"json encoding configuration",
"type":"object",
"properties":{
"json":{
"type":"object",
"properties":{
"beforeImageName":{
"description":"JSON element name for before image, applicable to op model only",
"type":"string",
"minLength":1,
"maxLength":32,
"default":"before"
},
"model":{
"description":"the model of records",
"enum":[
"op",
"row"
],
"default":"op"
},
"maxDDLTextSize":{
"description":"DDL text is truncated when exceeding this maximum size in bytes",
"type":"integer",
"minimum":1,
"maximum":"4294967295",
"default":1000000
},
"omitNullColumnValues":{
"description":"excludes columns with a null value",
"type":"boolean",
"default":false
},
"afterImageName":{
"description":"JSON element name for after image, applicable to op model only",
"type":"string",
"minLength":1,
"maxLength":32,
"default":"after"
},
"operationStrings":{
"description":"operation type string values",
"type":"object",
"properties":{
"insertOp":{
"default":"INSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"updateOp":{
"default":"UPDATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"deleteOp":{
"default":"DELETE",
"type":"string",
"minLength":1,
"maxLength":32
},
"truncateOp":{
"default":"TRUNCATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"upsertOp":{
"default":"UPSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"ddlOp":{
"default":"DDL",
"type":"string",
"minLength":1,
"maxLength":32
}
},
"additionalProperties":false
},
"$schema":{
"enum":[
"ogg:outputFormatJson"
]
},
"delimiter":{
"description":"delimiter between records",
"type":"string",
"minLength":0,
"maxLength":32
},
"metaFields":{
"description":"specifies metadata to include in records",
"type":"object",
"properties":{
"table":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"pos":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opType":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opSeqno":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"schema":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"transInd":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"currentTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"xid":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTs":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"env":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"currentTs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"qualifiedTable":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"primaryKeys":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"sys":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"csn":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"catalog":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"tokens":{
"default":null,
"x-oneOf":[
{
"enum":[
null,
"user",
"ggs",
"all"
]
},
{
"type":"object"
}
]
}
},
"additionalProperties":false
},
"includeJSONSchemaRecord":{
"description":"includes JSONSchema records describing every record in the stream including stream metadata record, object metadata record, DML record, and DDL record",
"type":"boolean",
"default":true
},
"maxLobSize":{
"description":"LOB data is truncated when exceeding this maximum size in bytes",
"type":"integer",
"minimum":1,
"maximum":"18446744073709552000",
"default":64000
},
"staticFields":{
"description":"specifies fields with static values in records",
"type":"object"
},
"treatAllColumnsAsStrings":{
"description":"writes all column values as strings instead of their native types",
"type":"boolean",
"default":false
},
"includeObjectMetadataRecords":{
"description":"includes metadata records describing a table, such as a list of its columns and types",
"type":"boolean",
"default":true
},
"flattenDelimiter":{
"description":"delimiter for concatenated JSON element names in before and after image columns, applicable to op model only",
"type":"string",
"minLength":0,
"maxLength":32
},
"maxRecordSize":{
"description":"record is truncated or chunked when exceeding this maximum size in bytes",
"type":"integer",
"minimum":131072,
"maximum":10485760,
"default":1048576
},
"flatten":{
"description":"flattens before and after image columns, applicable to op model only",
"type":"boolean",
"default":false
},
"includeStreamMetadataRecord":{
"description":"includes metadata record describing global information related to the source database and producer",
"type":"boolean",
"default":true
},
"truncateOrChunk":{
"description":"whether to truncate or chunk a record exceeding the maximum record size",
"enum":[
"truncate",
"chunk"
],
"default":"truncate"
}
},
"additionalProperties":false
}
},
"additionalProperties":false
},
{
"enum":[
"json"
]
}
]
},
"$schema":{
"enum":[
"ogg:dataStream"
]
},
"rules":{
"type":"array",
"items":{
"description":"data streaming rule",
"type":"object",
"properties":{
"description":{
"description":"Description for the rule",
"type":"string",
"minLength":1,
"maxLength":4095
},
"filter":{
"description":"data streams rule filter",
"x-oneOf":[
{
"description":"data record object names",
"type":"object",
"properties":{
"objectNames":{
"description":"set of object names",
"type":"array",
"items":{
"description":"Qualified table name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"objectNames"
],
"additionalProperties":false
},
{
"description":"data record operation types",
"type":"object",
"properties":{
"operationTypes":{
"description":"set of operation types",
"type":"array",
"items":{
"enum":[
"DML",
"DDL",
"INSERT",
"UPDATE",
"UPSERT",
"DELETE"
]
},
"minItems":1,
"maxItems":6
}
},
"required":[
"operationTypes"
],
"additionalProperties":false
},
{
"description":"data record column values",
"type":"object",
"properties":{
"columnValues":{
"description":"set of column values",
"type":"array",
"items":{
"type":"object",
"properties":{
"tableName":{
"description":"name of the table in which the column(s) reside",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"columnName":{
"description":"name of the column",
"type":"string",
"pattern":"^([^.*?\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":1,
"maxLength":130
},
"columnValue":{
"description":"column data, currently only support char and binary integer type",
"x-oneOf":[
{
"type":"string",
"minLength":0,
"maxLength":32767
},
{
"type":"number"
},
{
"type":"null"
}
]
},
"imageType":{
"description":"before or after column image. INSERT only has after image and DELETE only has before image, applies to cases where both before and after images are available.",
"enum":[
"before",
"after"
],
"default":"before"
},
"operator":{
"description":"comparison operator",
"enum":[
"equalTo",
"notEqualTo",
"lessThan",
"lessThanOrEqualTo",
"greaterThan",
"greaterThanOrEqualTo"
],
"default":"equalTo"
}
},
"required":[
"tableName",
"columnName",
"columnValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"columnValues"
],
"additionalProperties":false
},
{
"description":"data record tags",
"type":"object",
"properties":{
"tags":{
"description":"set of binary tags",
"x-oneOf":[
{
"type":"array",
"items":{
"x-oneOf":[
{
"description":"Binary string representing the tag value.",
"type":"object",
"properties":{
"binValue":{
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binValue"
],
"additionalProperties":false
},
{
"description":"Hexdecimal string representing the tag value.",
"type":"object",
"properties":{
"hexValue":{
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexValue"
],
"additionalProperties":false
},
{
"description":"binary tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"binMask":{
"description":"binary string representing the tag mask value.",
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binMask"
],
"additionalProperties":false
},
{
"description":"Hexdecimal tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"hexMask":{
"description":"Hexdecimal string representing the tag mask value.",
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexMask"
],
"additionalProperties":false
}
]
},
"minItems":1,
"maxItems":32767
},
{
"enum":[
"all",
"none"
]
}
]
}
},
"required":[
"tags"
],
"additionalProperties":false
},
{
"description":"data record partition names",
"type":"object",
"properties":{
"partitionNames":{
"description":"set of partition names",
"type":"array",
"items":{
"description":"Qualified partition name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":7,
"maxLength":523
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"partitionNames"
],
"additionalProperties":false
},
{
"description":"data record user tokens",
"type":"object",
"properties":{
"userTokens":{
"description":"set of user tokens",
"type":"array",
"items":{
"type":"object",
"properties":{
"tokenName":{
"description":"user token name",
"type":"string",
"minLength":1,
"maxLength":30
},
"tokenValue":{
"description":"user token value",
"type":"string",
"minLength":1,
"maxLength":32767
},
"matchType":{
"description":"how to match the filter value",
"enum":[
"exactCaseSensitive",
"exactCaseInsensitive",
"partialCaseSensitive",
"partialCaseInsensitive"
],
"default":"exactCaseSensistive"
}
},
"required":[
"tokenName",
"tokenValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"userTokens"
],
"additionalProperties":false
}
]
},
"action":{
"enum":[
"include",
"exclude"
]
}
},
"required":[
"filter",
"action"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":1024
},
"source":{
"description":"source endpoint of the data stream.",
"type":"object",
"properties":{
"trail":{
"description":"The name of the trail",
"type":"string",
"pattern":"^[a-zA-Z0-9_#$/-]*$",
"minLength":2,
"maxLength":512
},
"path":{
"description":"The path where trail data is stored",
"type":"string",
"minLength":1,
"maxLength":4096
}
},
"required":[
"trail"
],
"additionalProperties":false
},
"bufferSize":{
"description":"data buffer size in bytes before flush",
"type":"integer",
"minimum":131072,
"maximum":10485760,
"default":1048576
},
"cloudEventsFormat":{
"description":"data records conform to cloudEvents format",
"type":"boolean",
"default":false
},
"description":{
"description":"Description for the data stream",
"type":"string",
"minLength":1,
"maxLength":4096
}
},
"required":[
"source"
],
"additionalProperties":false
}
Nested Schema : encoding
data encoding method
Default Value:
jsonMatch One
Show Source
-
object encoding-x-oneOf[0]
json encoding configuration
-
Allowed Values:
[ "json" ]
{
"description":"data encoding method",
"default":"json",
"x-oneOf":[
{
"description":"json encoding configuration",
"type":"object",
"properties":{
"json":{
"type":"object",
"properties":{
"beforeImageName":{
"description":"JSON element name for before image, applicable to op model only",
"type":"string",
"minLength":1,
"maxLength":32,
"default":"before"
},
"model":{
"description":"the model of records",
"enum":[
"op",
"row"
],
"default":"op"
},
"maxDDLTextSize":{
"description":"DDL text is truncated when exceeding this maximum size in bytes",
"type":"integer",
"minimum":1,
"maximum":"4294967295",
"default":1000000
},
"omitNullColumnValues":{
"description":"excludes columns with a null value",
"type":"boolean",
"default":false
},
"afterImageName":{
"description":"JSON element name for after image, applicable to op model only",
"type":"string",
"minLength":1,
"maxLength":32,
"default":"after"
},
"operationStrings":{
"description":"operation type string values",
"type":"object",
"properties":{
"insertOp":{
"default":"INSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"updateOp":{
"default":"UPDATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"deleteOp":{
"default":"DELETE",
"type":"string",
"minLength":1,
"maxLength":32
},
"truncateOp":{
"default":"TRUNCATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"upsertOp":{
"default":"UPSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"ddlOp":{
"default":"DDL",
"type":"string",
"minLength":1,
"maxLength":32
}
},
"additionalProperties":false
},
"$schema":{
"enum":[
"ogg:outputFormatJson"
]
},
"delimiter":{
"description":"delimiter between records",
"type":"string",
"minLength":0,
"maxLength":32
},
"metaFields":{
"description":"specifies metadata to include in records",
"type":"object",
"properties":{
"table":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"pos":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opType":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opSeqno":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"schema":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"transInd":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"currentTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"xid":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTs":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"env":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"currentTs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"qualifiedTable":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"primaryKeys":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"sys":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"csn":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"catalog":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"tokens":{
"default":null,
"x-oneOf":[
{
"enum":[
null,
"user",
"ggs",
"all"
]
},
{
"type":"object"
}
]
}
},
"additionalProperties":false
},
"includeJSONSchemaRecord":{
"description":"includes JSONSchema records describing every record in the stream including stream metadata record, object metadata record, DML record, and DDL record",
"type":"boolean",
"default":true
},
"maxLobSize":{
"description":"LOB data is truncated when exceeding this maximum size in bytes",
"type":"integer",
"minimum":1,
"maximum":"18446744073709552000",
"default":64000
},
"staticFields":{
"description":"specifies fields with static values in records",
"type":"object"
},
"treatAllColumnsAsStrings":{
"description":"writes all column values as strings instead of their native types",
"type":"boolean",
"default":false
},
"includeObjectMetadataRecords":{
"description":"includes metadata records describing a table, such as a list of its columns and types",
"type":"boolean",
"default":true
},
"flattenDelimiter":{
"description":"delimiter for concatenated JSON element names in before and after image columns, applicable to op model only",
"type":"string",
"minLength":0,
"maxLength":32
},
"maxRecordSize":{
"description":"record is truncated or chunked when exceeding this maximum size in bytes",
"type":"integer",
"minimum":131072,
"maximum":10485760,
"default":1048576
},
"flatten":{
"description":"flattens before and after image columns, applicable to op model only",
"type":"boolean",
"default":false
},
"includeStreamMetadataRecord":{
"description":"includes metadata record describing global information related to the source database and producer",
"type":"boolean",
"default":true
},
"truncateOrChunk":{
"description":"whether to truncate or chunk a record exceeding the maximum record size",
"enum":[
"truncate",
"chunk"
],
"default":"truncate"
}
},
"additionalProperties":false
}
},
"additionalProperties":false
},
{
"enum":[
"json"
]
}
]
}
Nested Schema : rules
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
1024-
Array of:
object items
data streaming rule
{
"type":"array",
"items":{
"description":"data streaming rule",
"type":"object",
"properties":{
"description":{
"description":"Description for the rule",
"type":"string",
"minLength":1,
"maxLength":4095
},
"filter":{
"description":"data streams rule filter",
"x-oneOf":[
{
"description":"data record object names",
"type":"object",
"properties":{
"objectNames":{
"description":"set of object names",
"type":"array",
"items":{
"description":"Qualified table name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"objectNames"
],
"additionalProperties":false
},
{
"description":"data record operation types",
"type":"object",
"properties":{
"operationTypes":{
"description":"set of operation types",
"type":"array",
"items":{
"enum":[
"DML",
"DDL",
"INSERT",
"UPDATE",
"UPSERT",
"DELETE"
]
},
"minItems":1,
"maxItems":6
}
},
"required":[
"operationTypes"
],
"additionalProperties":false
},
{
"description":"data record column values",
"type":"object",
"properties":{
"columnValues":{
"description":"set of column values",
"type":"array",
"items":{
"type":"object",
"properties":{
"tableName":{
"description":"name of the table in which the column(s) reside",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"columnName":{
"description":"name of the column",
"type":"string",
"pattern":"^([^.*?\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":1,
"maxLength":130
},
"columnValue":{
"description":"column data, currently only support char and binary integer type",
"x-oneOf":[
{
"type":"string",
"minLength":0,
"maxLength":32767
},
{
"type":"number"
},
{
"type":"null"
}
]
},
"imageType":{
"description":"before or after column image. INSERT only has after image and DELETE only has before image, applies to cases where both before and after images are available.",
"enum":[
"before",
"after"
],
"default":"before"
},
"operator":{
"description":"comparison operator",
"enum":[
"equalTo",
"notEqualTo",
"lessThan",
"lessThanOrEqualTo",
"greaterThan",
"greaterThanOrEqualTo"
],
"default":"equalTo"
}
},
"required":[
"tableName",
"columnName",
"columnValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"columnValues"
],
"additionalProperties":false
},
{
"description":"data record tags",
"type":"object",
"properties":{
"tags":{
"description":"set of binary tags",
"x-oneOf":[
{
"type":"array",
"items":{
"x-oneOf":[
{
"description":"Binary string representing the tag value.",
"type":"object",
"properties":{
"binValue":{
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binValue"
],
"additionalProperties":false
},
{
"description":"Hexdecimal string representing the tag value.",
"type":"object",
"properties":{
"hexValue":{
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexValue"
],
"additionalProperties":false
},
{
"description":"binary tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"binMask":{
"description":"binary string representing the tag mask value.",
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binMask"
],
"additionalProperties":false
},
{
"description":"Hexdecimal tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"hexMask":{
"description":"Hexdecimal string representing the tag mask value.",
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexMask"
],
"additionalProperties":false
}
]
},
"minItems":1,
"maxItems":32767
},
{
"enum":[
"all",
"none"
]
}
]
}
},
"required":[
"tags"
],
"additionalProperties":false
},
{
"description":"data record partition names",
"type":"object",
"properties":{
"partitionNames":{
"description":"set of partition names",
"type":"array",
"items":{
"description":"Qualified partition name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":7,
"maxLength":523
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"partitionNames"
],
"additionalProperties":false
},
{
"description":"data record user tokens",
"type":"object",
"properties":{
"userTokens":{
"description":"set of user tokens",
"type":"array",
"items":{
"type":"object",
"properties":{
"tokenName":{
"description":"user token name",
"type":"string",
"minLength":1,
"maxLength":30
},
"tokenValue":{
"description":"user token value",
"type":"string",
"minLength":1,
"maxLength":32767
},
"matchType":{
"description":"how to match the filter value",
"enum":[
"exactCaseSensitive",
"exactCaseInsensitive",
"partialCaseSensitive",
"partialCaseInsensitive"
],
"default":"exactCaseSensistive"
}
},
"required":[
"tokenName",
"tokenValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"userTokens"
],
"additionalProperties":false
}
]
},
"action":{
"enum":[
"include",
"exclude"
]
}
},
"required":[
"filter",
"action"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":1024
}
Nested Schema : source
Type:
objectsource endpoint of the data stream.
Show Source
-
path:
string
Minimum Length:
1Maximum Length:4096The path where trail data is stored -
trail(required):
string
Minimum Length:
2Maximum Length:512Pattern:^[a-zA-Z0-9_#$/-]*$The name of the trail
{
"description":"source endpoint of the data stream.",
"type":"object",
"properties":{
"trail":{
"description":"The name of the trail",
"type":"string",
"pattern":"^[a-zA-Z0-9_#$/-]*$",
"minLength":2,
"maxLength":512
},
"path":{
"description":"The path where trail data is stored",
"type":"string",
"minLength":1,
"maxLength":4096
}
},
"required":[
"trail"
],
"additionalProperties":false
}
Nested Schema : encoding-x-oneOf[0]
Type:
objectjson encoding configuration
Show Source
{
"description":"json encoding configuration",
"type":"object",
"properties":{
"json":{
"type":"object",
"properties":{
"beforeImageName":{
"description":"JSON element name for before image, applicable to op model only",
"type":"string",
"minLength":1,
"maxLength":32,
"default":"before"
},
"model":{
"description":"the model of records",
"enum":[
"op",
"row"
],
"default":"op"
},
"maxDDLTextSize":{
"description":"DDL text is truncated when exceeding this maximum size in bytes",
"type":"integer",
"minimum":1,
"maximum":"4294967295",
"default":1000000
},
"omitNullColumnValues":{
"description":"excludes columns with a null value",
"type":"boolean",
"default":false
},
"afterImageName":{
"description":"JSON element name for after image, applicable to op model only",
"type":"string",
"minLength":1,
"maxLength":32,
"default":"after"
},
"operationStrings":{
"description":"operation type string values",
"type":"object",
"properties":{
"insertOp":{
"default":"INSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"updateOp":{
"default":"UPDATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"deleteOp":{
"default":"DELETE",
"type":"string",
"minLength":1,
"maxLength":32
},
"truncateOp":{
"default":"TRUNCATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"upsertOp":{
"default":"UPSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"ddlOp":{
"default":"DDL",
"type":"string",
"minLength":1,
"maxLength":32
}
},
"additionalProperties":false
},
"$schema":{
"enum":[
"ogg:outputFormatJson"
]
},
"delimiter":{
"description":"delimiter between records",
"type":"string",
"minLength":0,
"maxLength":32
},
"metaFields":{
"description":"specifies metadata to include in records",
"type":"object",
"properties":{
"table":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"pos":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opType":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opSeqno":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"schema":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"transInd":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"currentTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"xid":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTs":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"env":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"currentTs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"qualifiedTable":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"primaryKeys":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"sys":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"csn":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"catalog":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"tokens":{
"default":null,
"x-oneOf":[
{
"enum":[
null,
"user",
"ggs",
"all"
]
},
{
"type":"object"
}
]
}
},
"additionalProperties":false
},
"includeJSONSchemaRecord":{
"description":"includes JSONSchema records describing every record in the stream including stream metadata record, object metadata record, DML record, and DDL record",
"type":"boolean",
"default":true
},
"maxLobSize":{
"description":"LOB data is truncated when exceeding this maximum size in bytes",
"type":"integer",
"minimum":1,
"maximum":"18446744073709552000",
"default":64000
},
"staticFields":{
"description":"specifies fields with static values in records",
"type":"object"
},
"treatAllColumnsAsStrings":{
"description":"writes all column values as strings instead of their native types",
"type":"boolean",
"default":false
},
"includeObjectMetadataRecords":{
"description":"includes metadata records describing a table, such as a list of its columns and types",
"type":"boolean",
"default":true
},
"flattenDelimiter":{
"description":"delimiter for concatenated JSON element names in before and after image columns, applicable to op model only",
"type":"string",
"minLength":0,
"maxLength":32
},
"maxRecordSize":{
"description":"record is truncated or chunked when exceeding this maximum size in bytes",
"type":"integer",
"minimum":131072,
"maximum":10485760,
"default":1048576
},
"flatten":{
"description":"flattens before and after image columns, applicable to op model only",
"type":"boolean",
"default":false
},
"includeStreamMetadataRecord":{
"description":"includes metadata record describing global information related to the source database and producer",
"type":"boolean",
"default":true
},
"truncateOrChunk":{
"description":"whether to truncate or chunk a record exceeding the maximum record size",
"enum":[
"truncate",
"chunk"
],
"default":"truncate"
}
},
"additionalProperties":false
}
},
"additionalProperties":false
}
Nested Schema : json
Type:
Show Source
object-
$schema:
Allowed Values:
[ "ogg:outputFormatJson" ] -
afterImageName:
string
Minimum Length:
1Maximum Length:32Default Value:afterJSON element name for after image, applicable to op model only -
beforeImageName:
string
Minimum Length:
1Maximum Length:32Default Value:beforeJSON element name for before image, applicable to op model only -
delimiter:
string
Minimum Length:
0Maximum Length:32delimiter between records -
flatten:
boolean
Default Value:
falseflattens before and after image columns, applicable to op model only -
flattenDelimiter:
string
Minimum Length:
0Maximum Length:32delimiter for concatenated JSON element names in before and after image columns, applicable to op model only -
includeJSONSchemaRecord:
boolean
Default Value:
trueincludes JSONSchema records describing every record in the stream including stream metadata record, object metadata record, DML record, and DDL record -
includeObjectMetadataRecords:
boolean
Default Value:
trueincludes metadata records describing a table, such as a list of its columns and types -
includeStreamMetadataRecord:
boolean
Default Value:
trueincludes metadata record describing global information related to the source database and producer -
maxDDLTextSize:
integer
Minimum Value:
1Maximum Value:4294967295Default Value:1000000DDL text is truncated when exceeding this maximum size in bytes -
maxLobSize:
integer
Minimum Value:
1Maximum Value:18446744073709552000Default Value:64000LOB data is truncated when exceeding this maximum size in bytes -
maxRecordSize:
integer
Minimum Value:
131072Maximum Value:10485760Default Value:1048576record is truncated or chunked when exceeding this maximum size in bytes -
metaFields:
object metaFields
specifies metadata to include in records
-
model:
Default Value:
opAllowed Values:[ "op", "row" ]the model of records -
omitNullColumnValues:
boolean
Default Value:
falseexcludes columns with a null value -
operationStrings:
object operationStrings
operation type string values
-
staticFields:
object staticFields
specifies fields with static values in records
-
treatAllColumnsAsStrings:
boolean
Default Value:
falsewrites all column values as strings instead of their native types -
truncateOrChunk:
Default Value:
truncateAllowed Values:[ "truncate", "chunk" ]whether to truncate or chunk a record exceeding the maximum record size
{
"type":"object",
"properties":{
"beforeImageName":{
"description":"JSON element name for before image, applicable to op model only",
"type":"string",
"minLength":1,
"maxLength":32,
"default":"before"
},
"model":{
"description":"the model of records",
"enum":[
"op",
"row"
],
"default":"op"
},
"maxDDLTextSize":{
"description":"DDL text is truncated when exceeding this maximum size in bytes",
"type":"integer",
"minimum":1,
"maximum":"4294967295",
"default":1000000
},
"omitNullColumnValues":{
"description":"excludes columns with a null value",
"type":"boolean",
"default":false
},
"afterImageName":{
"description":"JSON element name for after image, applicable to op model only",
"type":"string",
"minLength":1,
"maxLength":32,
"default":"after"
},
"operationStrings":{
"description":"operation type string values",
"type":"object",
"properties":{
"insertOp":{
"default":"INSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"updateOp":{
"default":"UPDATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"deleteOp":{
"default":"DELETE",
"type":"string",
"minLength":1,
"maxLength":32
},
"truncateOp":{
"default":"TRUNCATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"upsertOp":{
"default":"UPSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"ddlOp":{
"default":"DDL",
"type":"string",
"minLength":1,
"maxLength":32
}
},
"additionalProperties":false
},
"$schema":{
"enum":[
"ogg:outputFormatJson"
]
},
"delimiter":{
"description":"delimiter between records",
"type":"string",
"minLength":0,
"maxLength":32
},
"metaFields":{
"description":"specifies metadata to include in records",
"type":"object",
"properties":{
"table":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"pos":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opType":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opSeqno":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"schema":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"transInd":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"currentTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"xid":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTs":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"env":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"currentTs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"qualifiedTable":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"primaryKeys":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"sys":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"csn":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"catalog":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"tokens":{
"default":null,
"x-oneOf":[
{
"enum":[
null,
"user",
"ggs",
"all"
]
},
{
"type":"object"
}
]
}
},
"additionalProperties":false
},
"includeJSONSchemaRecord":{
"description":"includes JSONSchema records describing every record in the stream including stream metadata record, object metadata record, DML record, and DDL record",
"type":"boolean",
"default":true
},
"maxLobSize":{
"description":"LOB data is truncated when exceeding this maximum size in bytes",
"type":"integer",
"minimum":1,
"maximum":"18446744073709552000",
"default":64000
},
"staticFields":{
"description":"specifies fields with static values in records",
"type":"object"
},
"treatAllColumnsAsStrings":{
"description":"writes all column values as strings instead of their native types",
"type":"boolean",
"default":false
},
"includeObjectMetadataRecords":{
"description":"includes metadata records describing a table, such as a list of its columns and types",
"type":"boolean",
"default":true
},
"flattenDelimiter":{
"description":"delimiter for concatenated JSON element names in before and after image columns, applicable to op model only",
"type":"string",
"minLength":0,
"maxLength":32
},
"maxRecordSize":{
"description":"record is truncated or chunked when exceeding this maximum size in bytes",
"type":"integer",
"minimum":131072,
"maximum":10485760,
"default":1048576
},
"flatten":{
"description":"flattens before and after image columns, applicable to op model only",
"type":"boolean",
"default":false
},
"includeStreamMetadataRecord":{
"description":"includes metadata record describing global information related to the source database and producer",
"type":"boolean",
"default":true
},
"truncateOrChunk":{
"description":"whether to truncate or chunk a record exceeding the maximum record size",
"enum":[
"truncate",
"chunk"
],
"default":"truncate"
}
},
"additionalProperties":false
}
Nested Schema : metaFields
Type:
objectspecifies metadata to include in records
Show Source
-
catalog:
catalog
-
csn:
csn
-
currentTs:
currentTs
-
currentTsMicroSecs:
currentTsMicroSecs
-
env:
env
-
opSeqno:
opSeqno
-
opTs:
opTs
-
opTsMicroSecs:
opTsMicroSecs
-
opType:
opType
-
pos:
pos
-
primaryKeys:
primaryKeys
-
qualifiedTable:
qualifiedTable
-
schema:
schema
-
sys:
sys
-
table:
table
-
tokens:
tokens
-
transInd:
transInd
-
xid:
xid
{
"description":"specifies metadata to include in records",
"type":"object",
"properties":{
"table":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"pos":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opType":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opSeqno":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"schema":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"transInd":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"currentTsMicroSecs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"xid":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"opTs":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"env":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"currentTs":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"qualifiedTable":{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"primaryKeys":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"sys":{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
},
"csn":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"catalog":{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
},
"tokens":{
"default":null,
"x-oneOf":[
{
"enum":[
null,
"user",
"ggs",
"all"
]
},
{
"type":"object"
}
]
}
},
"additionalProperties":false
}
Nested Schema : operationStrings
Type:
objectoperation type string values
Show Source
-
ddlOp:
string
Minimum Length:
1Maximum Length:32Default Value:DDL -
deleteOp:
string
Minimum Length:
1Maximum Length:32Default Value:DELETE -
insertOp:
string
Minimum Length:
1Maximum Length:32Default Value:INSERT -
truncateOp:
string
Minimum Length:
1Maximum Length:32Default Value:TRUNCATE -
updateOp:
string
Minimum Length:
1Maximum Length:32Default Value:UPDATE -
upsertOp:
string
Minimum Length:
1Maximum Length:32Default Value:UPSERT
{
"description":"operation type string values",
"type":"object",
"properties":{
"insertOp":{
"default":"INSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"updateOp":{
"default":"UPDATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"deleteOp":{
"default":"DELETE",
"type":"string",
"minLength":1,
"maxLength":32
},
"truncateOp":{
"default":"TRUNCATE",
"type":"string",
"minLength":1,
"maxLength":32
},
"upsertOp":{
"default":"UPSERT",
"type":"string",
"minLength":1,
"maxLength":32
},
"ddlOp":{
"default":"DDL",
"type":"string",
"minLength":1,
"maxLength":32
}
},
"additionalProperties":false
}
Nested Schema : staticFields
Type:
objectspecifies fields with static values in records
Nested Schema : catalog
Default Value:
falseMatch One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
}
Nested Schema : csn
Default Value:
falseMatch One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
}
Nested Schema : currentTs
Default Value:
falseMatch One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
}
Nested Schema : currentTsMicroSecs
Default Value:
falseMatch One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
}
Nested Schema : env
Default Value:
oracle.doceng.json.BetterJsonNull@1abd1a28Match One
Show Source
-
Allowed Values:
[ null ] -
object env-x-oneOf[1]
{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
}
Nested Schema : opSeqno
Default Value:
falseMatch One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
}
Nested Schema : opTs
Default Value:
trueMatch One
Show Source
{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
}
Nested Schema : opTsMicroSecs
Default Value:
falseMatch One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
}
Nested Schema : opType
Default Value:
trueMatch One
Show Source
{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
}
Nested Schema : pos
Default Value:
trueMatch One
Show Source
{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
}
Nested Schema : primaryKeys
Default Value:
falseMatch One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
}
Nested Schema : qualifiedTable
Default Value:
trueMatch One
Show Source
{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
}
Nested Schema : schema
Default Value:
falseMatch One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
}
Nested Schema : sys
Default Value:
oracle.doceng.json.BetterJsonNull@3f1d4ecfMatch One
Show Source
-
Allowed Values:
[ null ] -
object sys-x-oneOf[1]
{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
}
Nested Schema : table
Default Value:
falseMatch One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
}
Nested Schema : tokens
Default Value:
oracle.doceng.json.BetterJsonNull@1016b44eMatch One
Show Source
-
Allowed Values:
[ null, "user", "ggs", "all" ] -
object tokens-x-oneOf[1]
{
"default":null,
"x-oneOf":[
{
"enum":[
null,
"user",
"ggs",
"all"
]
},
{
"type":"object"
}
]
}
Nested Schema : transInd
Default Value:
falseMatch One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
}
Nested Schema : xid
Default Value:
trueMatch One
Show Source
{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":1,
"maxLength":255
}
]
}
Nested Schema : env-x-oneOf[1]
Type:
objectNested Schema : sys-x-oneOf[1]
Type:
objectNested Schema : tokens-x-oneOf[1]
Type:
objectNested Schema : items
Type:
objectdata streaming rule
Show Source
-
action(required):
Allowed Values:
[ "include", "exclude" ] -
description:
string
Minimum Length:
1Maximum Length:4095Description for the rule -
filter(required):
filter
data streams rule filter
{
"description":"data streaming rule",
"type":"object",
"properties":{
"description":{
"description":"Description for the rule",
"type":"string",
"minLength":1,
"maxLength":4095
},
"filter":{
"description":"data streams rule filter",
"x-oneOf":[
{
"description":"data record object names",
"type":"object",
"properties":{
"objectNames":{
"description":"set of object names",
"type":"array",
"items":{
"description":"Qualified table name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"objectNames"
],
"additionalProperties":false
},
{
"description":"data record operation types",
"type":"object",
"properties":{
"operationTypes":{
"description":"set of operation types",
"type":"array",
"items":{
"enum":[
"DML",
"DDL",
"INSERT",
"UPDATE",
"UPSERT",
"DELETE"
]
},
"minItems":1,
"maxItems":6
}
},
"required":[
"operationTypes"
],
"additionalProperties":false
},
{
"description":"data record column values",
"type":"object",
"properties":{
"columnValues":{
"description":"set of column values",
"type":"array",
"items":{
"type":"object",
"properties":{
"tableName":{
"description":"name of the table in which the column(s) reside",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"columnName":{
"description":"name of the column",
"type":"string",
"pattern":"^([^.*?\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":1,
"maxLength":130
},
"columnValue":{
"description":"column data, currently only support char and binary integer type",
"x-oneOf":[
{
"type":"string",
"minLength":0,
"maxLength":32767
},
{
"type":"number"
},
{
"type":"null"
}
]
},
"imageType":{
"description":"before or after column image. INSERT only has after image and DELETE only has before image, applies to cases where both before and after images are available.",
"enum":[
"before",
"after"
],
"default":"before"
},
"operator":{
"description":"comparison operator",
"enum":[
"equalTo",
"notEqualTo",
"lessThan",
"lessThanOrEqualTo",
"greaterThan",
"greaterThanOrEqualTo"
],
"default":"equalTo"
}
},
"required":[
"tableName",
"columnName",
"columnValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"columnValues"
],
"additionalProperties":false
},
{
"description":"data record tags",
"type":"object",
"properties":{
"tags":{
"description":"set of binary tags",
"x-oneOf":[
{
"type":"array",
"items":{
"x-oneOf":[
{
"description":"Binary string representing the tag value.",
"type":"object",
"properties":{
"binValue":{
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binValue"
],
"additionalProperties":false
},
{
"description":"Hexdecimal string representing the tag value.",
"type":"object",
"properties":{
"hexValue":{
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexValue"
],
"additionalProperties":false
},
{
"description":"binary tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"binMask":{
"description":"binary string representing the tag mask value.",
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binMask"
],
"additionalProperties":false
},
{
"description":"Hexdecimal tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"hexMask":{
"description":"Hexdecimal string representing the tag mask value.",
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexMask"
],
"additionalProperties":false
}
]
},
"minItems":1,
"maxItems":32767
},
{
"enum":[
"all",
"none"
]
}
]
}
},
"required":[
"tags"
],
"additionalProperties":false
},
{
"description":"data record partition names",
"type":"object",
"properties":{
"partitionNames":{
"description":"set of partition names",
"type":"array",
"items":{
"description":"Qualified partition name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":7,
"maxLength":523
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"partitionNames"
],
"additionalProperties":false
},
{
"description":"data record user tokens",
"type":"object",
"properties":{
"userTokens":{
"description":"set of user tokens",
"type":"array",
"items":{
"type":"object",
"properties":{
"tokenName":{
"description":"user token name",
"type":"string",
"minLength":1,
"maxLength":30
},
"tokenValue":{
"description":"user token value",
"type":"string",
"minLength":1,
"maxLength":32767
},
"matchType":{
"description":"how to match the filter value",
"enum":[
"exactCaseSensitive",
"exactCaseInsensitive",
"partialCaseSensitive",
"partialCaseInsensitive"
],
"default":"exactCaseSensistive"
}
},
"required":[
"tokenName",
"tokenValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"userTokens"
],
"additionalProperties":false
}
]
},
"action":{
"enum":[
"include",
"exclude"
]
}
},
"required":[
"filter",
"action"
],
"additionalProperties":false
}
Nested Schema : filter
data streams rule filter
Match One
Show Source
-
object filter-x-oneOf[0]
data record object names
-
object filter-x-oneOf[1]
data record operation types
-
object filter-x-oneOf[2]
data record column values
-
object filter-x-oneOf[3]
data record tags
-
object filter-x-oneOf[4]
data record partition names
-
object filter-x-oneOf[5]
data record user tokens
{
"description":"data streams rule filter",
"x-oneOf":[
{
"description":"data record object names",
"type":"object",
"properties":{
"objectNames":{
"description":"set of object names",
"type":"array",
"items":{
"description":"Qualified table name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"objectNames"
],
"additionalProperties":false
},
{
"description":"data record operation types",
"type":"object",
"properties":{
"operationTypes":{
"description":"set of operation types",
"type":"array",
"items":{
"enum":[
"DML",
"DDL",
"INSERT",
"UPDATE",
"UPSERT",
"DELETE"
]
},
"minItems":1,
"maxItems":6
}
},
"required":[
"operationTypes"
],
"additionalProperties":false
},
{
"description":"data record column values",
"type":"object",
"properties":{
"columnValues":{
"description":"set of column values",
"type":"array",
"items":{
"type":"object",
"properties":{
"tableName":{
"description":"name of the table in which the column(s) reside",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"columnName":{
"description":"name of the column",
"type":"string",
"pattern":"^([^.*?\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":1,
"maxLength":130
},
"columnValue":{
"description":"column data, currently only support char and binary integer type",
"x-oneOf":[
{
"type":"string",
"minLength":0,
"maxLength":32767
},
{
"type":"number"
},
{
"type":"null"
}
]
},
"imageType":{
"description":"before or after column image. INSERT only has after image and DELETE only has before image, applies to cases where both before and after images are available.",
"enum":[
"before",
"after"
],
"default":"before"
},
"operator":{
"description":"comparison operator",
"enum":[
"equalTo",
"notEqualTo",
"lessThan",
"lessThanOrEqualTo",
"greaterThan",
"greaterThanOrEqualTo"
],
"default":"equalTo"
}
},
"required":[
"tableName",
"columnName",
"columnValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"columnValues"
],
"additionalProperties":false
},
{
"description":"data record tags",
"type":"object",
"properties":{
"tags":{
"description":"set of binary tags",
"x-oneOf":[
{
"type":"array",
"items":{
"x-oneOf":[
{
"description":"Binary string representing the tag value.",
"type":"object",
"properties":{
"binValue":{
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binValue"
],
"additionalProperties":false
},
{
"description":"Hexdecimal string representing the tag value.",
"type":"object",
"properties":{
"hexValue":{
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexValue"
],
"additionalProperties":false
},
{
"description":"binary tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"binMask":{
"description":"binary string representing the tag mask value.",
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binMask"
],
"additionalProperties":false
},
{
"description":"Hexdecimal tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"hexMask":{
"description":"Hexdecimal string representing the tag mask value.",
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexMask"
],
"additionalProperties":false
}
]
},
"minItems":1,
"maxItems":32767
},
{
"enum":[
"all",
"none"
]
}
]
}
},
"required":[
"tags"
],
"additionalProperties":false
},
{
"description":"data record partition names",
"type":"object",
"properties":{
"partitionNames":{
"description":"set of partition names",
"type":"array",
"items":{
"description":"Qualified partition name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":7,
"maxLength":523
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"partitionNames"
],
"additionalProperties":false
},
{
"description":"data record user tokens",
"type":"object",
"properties":{
"userTokens":{
"description":"set of user tokens",
"type":"array",
"items":{
"type":"object",
"properties":{
"tokenName":{
"description":"user token name",
"type":"string",
"minLength":1,
"maxLength":30
},
"tokenValue":{
"description":"user token value",
"type":"string",
"minLength":1,
"maxLength":32767
},
"matchType":{
"description":"how to match the filter value",
"enum":[
"exactCaseSensitive",
"exactCaseInsensitive",
"partialCaseSensitive",
"partialCaseInsensitive"
],
"default":"exactCaseSensistive"
}
},
"required":[
"tokenName",
"tokenValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"userTokens"
],
"additionalProperties":false
}
]
}
Nested Schema : filter-x-oneOf[0]
Type:
objectdata record object names
Show Source
-
objectNames(required):
array objectNames
Minimum Number of Items:
1Maximum Number of Items:65535set of object names
{
"description":"data record object names",
"type":"object",
"properties":{
"objectNames":{
"description":"set of object names",
"type":"array",
"items":{
"description":"Qualified table name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"objectNames"
],
"additionalProperties":false
}
Nested Schema : filter-x-oneOf[1]
Type:
objectdata record operation types
Show Source
-
operationTypes(required):
array operationTypes
Minimum Number of Items:
1Maximum Number of Items:6set of operation types
{
"description":"data record operation types",
"type":"object",
"properties":{
"operationTypes":{
"description":"set of operation types",
"type":"array",
"items":{
"enum":[
"DML",
"DDL",
"INSERT",
"UPDATE",
"UPSERT",
"DELETE"
]
},
"minItems":1,
"maxItems":6
}
},
"required":[
"operationTypes"
],
"additionalProperties":false
}
Nested Schema : filter-x-oneOf[2]
Type:
objectdata record column values
Show Source
-
columnValues(required):
array columnValues
Minimum Number of Items:
1Maximum Number of Items:65535set of column values
{
"description":"data record column values",
"type":"object",
"properties":{
"columnValues":{
"description":"set of column values",
"type":"array",
"items":{
"type":"object",
"properties":{
"tableName":{
"description":"name of the table in which the column(s) reside",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"columnName":{
"description":"name of the column",
"type":"string",
"pattern":"^([^.*?\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":1,
"maxLength":130
},
"columnValue":{
"description":"column data, currently only support char and binary integer type",
"x-oneOf":[
{
"type":"string",
"minLength":0,
"maxLength":32767
},
{
"type":"number"
},
{
"type":"null"
}
]
},
"imageType":{
"description":"before or after column image. INSERT only has after image and DELETE only has before image, applies to cases where both before and after images are available.",
"enum":[
"before",
"after"
],
"default":"before"
},
"operator":{
"description":"comparison operator",
"enum":[
"equalTo",
"notEqualTo",
"lessThan",
"lessThanOrEqualTo",
"greaterThan",
"greaterThanOrEqualTo"
],
"default":"equalTo"
}
},
"required":[
"tableName",
"columnName",
"columnValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"columnValues"
],
"additionalProperties":false
}
Nested Schema : filter-x-oneOf[3]
Type:
objectdata record tags
Show Source
-
tags(required):
tags
set of binary tags
{
"description":"data record tags",
"type":"object",
"properties":{
"tags":{
"description":"set of binary tags",
"x-oneOf":[
{
"type":"array",
"items":{
"x-oneOf":[
{
"description":"Binary string representing the tag value.",
"type":"object",
"properties":{
"binValue":{
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binValue"
],
"additionalProperties":false
},
{
"description":"Hexdecimal string representing the tag value.",
"type":"object",
"properties":{
"hexValue":{
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexValue"
],
"additionalProperties":false
},
{
"description":"binary tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"binMask":{
"description":"binary string representing the tag mask value.",
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binMask"
],
"additionalProperties":false
},
{
"description":"Hexdecimal tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"hexMask":{
"description":"Hexdecimal string representing the tag mask value.",
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexMask"
],
"additionalProperties":false
}
]
},
"minItems":1,
"maxItems":32767
},
{
"enum":[
"all",
"none"
]
}
]
}
},
"required":[
"tags"
],
"additionalProperties":false
}
Nested Schema : filter-x-oneOf[4]
Type:
objectdata record partition names
Show Source
-
partitionNames(required):
array partitionNames
Minimum Number of Items:
1Maximum Number of Items:65535set of partition names
{
"description":"data record partition names",
"type":"object",
"properties":{
"partitionNames":{
"description":"set of partition names",
"type":"array",
"items":{
"description":"Qualified partition name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":7,
"maxLength":523
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"partitionNames"
],
"additionalProperties":false
}
Nested Schema : filter-x-oneOf[5]
Type:
objectdata record user tokens
Show Source
-
userTokens(required):
array userTokens
Minimum Number of Items:
1Maximum Number of Items:65535set of user tokens
{
"description":"data record user tokens",
"type":"object",
"properties":{
"userTokens":{
"description":"set of user tokens",
"type":"array",
"items":{
"type":"object",
"properties":{
"tokenName":{
"description":"user token name",
"type":"string",
"minLength":1,
"maxLength":30
},
"tokenValue":{
"description":"user token value",
"type":"string",
"minLength":1,
"maxLength":32767
},
"matchType":{
"description":"how to match the filter value",
"enum":[
"exactCaseSensitive",
"exactCaseInsensitive",
"partialCaseSensitive",
"partialCaseInsensitive"
],
"default":"exactCaseSensistive"
}
},
"required":[
"tokenName",
"tokenValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
},
"required":[
"userTokens"
],
"additionalProperties":false
}
Nested Schema : objectNames
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
65535set of object names
Show Source
{
"description":"set of object names",
"type":"array",
"items":{
"description":"Qualified table name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
Nested Schema : items
Qualified table name where any name component may contain wildcard characters
Match Any
Show Source
-
string
Minimum Length:
3Maximum Length:261Pattern:^([^."]{1,128}|["].{1,128}["])[.]([^."]{1,128}|["].{1,128}["])$ -
string
Minimum Length:
5Maximum Length:392Pattern:^([^."]{1,128}|["].{1,128}["])[.]([^."]{1,128}|["].{1,128}["])[.]([^."]{1,128}|["].{1,128}["])$
{
"description":"Qualified table name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
}
Nested Schema : operationTypes
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
6set of operation types
Show Source
-
Array of:
Allowed Values:
[ "DML", "DDL", "INSERT", "UPDATE", "UPSERT", "DELETE" ]
{
"description":"set of operation types",
"type":"array",
"items":{
"enum":[
"DML",
"DDL",
"INSERT",
"UPDATE",
"UPSERT",
"DELETE"
]
},
"minItems":1,
"maxItems":6
}
Nested Schema : columnValues
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
65535set of column values
Show Source
{
"description":"set of column values",
"type":"array",
"items":{
"type":"object",
"properties":{
"tableName":{
"description":"name of the table in which the column(s) reside",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"columnName":{
"description":"name of the column",
"type":"string",
"pattern":"^([^.*?\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":1,
"maxLength":130
},
"columnValue":{
"description":"column data, currently only support char and binary integer type",
"x-oneOf":[
{
"type":"string",
"minLength":0,
"maxLength":32767
},
{
"type":"number"
},
{
"type":"null"
}
]
},
"imageType":{
"description":"before or after column image. INSERT only has after image and DELETE only has before image, applies to cases where both before and after images are available.",
"enum":[
"before",
"after"
],
"default":"before"
},
"operator":{
"description":"comparison operator",
"enum":[
"equalTo",
"notEqualTo",
"lessThan",
"lessThanOrEqualTo",
"greaterThan",
"greaterThanOrEqualTo"
],
"default":"equalTo"
}
},
"required":[
"tableName",
"columnName",
"columnValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
Nested Schema : items
Type:
Show Source
object-
columnName(required):
string
Minimum Length:
1Maximum Length:130Pattern:^([^.*?"]{1,128}|["].{1,128}["])$name of the column -
columnValue(required):
columnValue
column data, currently only support char and binary integer type
-
imageType:
Default Value:
beforeAllowed Values:[ "before", "after" ]before or after column image. INSERT only has after image and DELETE only has before image, applies to cases where both before and after images are available. -
operator:
Default Value:
equalToAllowed Values:[ "equalTo", "notEqualTo", "lessThan", "lessThanOrEqualTo", "greaterThan", "greaterThanOrEqualTo" ]comparison operator -
tableName(required):
tableName
name of the table in which the column(s) reside
{
"type":"object",
"properties":{
"tableName":{
"description":"name of the table in which the column(s) reside",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"columnName":{
"description":"name of the column",
"type":"string",
"pattern":"^([^.*?\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":1,
"maxLength":130
},
"columnValue":{
"description":"column data, currently only support char and binary integer type",
"x-oneOf":[
{
"type":"string",
"minLength":0,
"maxLength":32767
},
{
"type":"number"
},
{
"type":"null"
}
]
},
"imageType":{
"description":"before or after column image. INSERT only has after image and DELETE only has before image, applies to cases where both before and after images are available.",
"enum":[
"before",
"after"
],
"default":"before"
},
"operator":{
"description":"comparison operator",
"enum":[
"equalTo",
"notEqualTo",
"lessThan",
"lessThanOrEqualTo",
"greaterThan",
"greaterThanOrEqualTo"
],
"default":"equalTo"
}
},
"required":[
"tableName",
"columnName",
"columnValue"
],
"additionalProperties":false
}
Nested Schema : columnValue
column data, currently only support char and binary integer type
Match One
Show Source
{
"description":"column data, currently only support char and binary integer type",
"x-oneOf":[
{
"type":"string",
"minLength":0,
"maxLength":32767
},
{
"type":"number"
},
{
"type":"null"
}
]
}
Nested Schema : tableName
name of the table in which the column(s) reside
Match Any
Show Source
-
string
Minimum Length:
3Maximum Length:261Pattern:^([^."]{1,128}|["].{1,128}["])[.]([^."]{1,128}|["].{1,128}["])$ -
string
Minimum Length:
5Maximum Length:392Pattern:^([^."]{1,128}|["].{1,128}["])[.]([^."]{1,128}|["].{1,128}["])[.]([^."]{1,128}|["].{1,128}["])$
{
"description":"name of the table in which the column(s) reside",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":3,
"maxLength":261
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
}
Nested Schema : tags
set of binary tags
Match One
Show Source
-
array tags-x-oneOf[0]
Minimum Number of Items:
1Maximum Number of Items:32767 -
Allowed Values:
[ "all", "none" ]
{
"description":"set of binary tags",
"x-oneOf":[
{
"type":"array",
"items":{
"x-oneOf":[
{
"description":"Binary string representing the tag value.",
"type":"object",
"properties":{
"binValue":{
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binValue"
],
"additionalProperties":false
},
{
"description":"Hexdecimal string representing the tag value.",
"type":"object",
"properties":{
"hexValue":{
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexValue"
],
"additionalProperties":false
},
{
"description":"binary tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"binMask":{
"description":"binary string representing the tag mask value.",
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binMask"
],
"additionalProperties":false
},
{
"description":"Hexdecimal tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"hexMask":{
"description":"Hexdecimal string representing the tag mask value.",
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexMask"
],
"additionalProperties":false
}
]
},
"minItems":1,
"maxItems":32767
},
{
"enum":[
"all",
"none"
]
}
]
}
Nested Schema : tags-x-oneOf[0]
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
32767{
"type":"array",
"items":{
"x-oneOf":[
{
"description":"Binary string representing the tag value.",
"type":"object",
"properties":{
"binValue":{
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binValue"
],
"additionalProperties":false
},
{
"description":"Hexdecimal string representing the tag value.",
"type":"object",
"properties":{
"hexValue":{
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexValue"
],
"additionalProperties":false
},
{
"description":"binary tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"binMask":{
"description":"binary string representing the tag mask value.",
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binMask"
],
"additionalProperties":false
},
{
"description":"Hexdecimal tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"hexMask":{
"description":"Hexdecimal string representing the tag mask value.",
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexMask"
],
"additionalProperties":false
}
]
},
"minItems":1,
"maxItems":32767
}
Nested Schema : items
Match One
Show Source
-
object items-x-oneOf[0]
Binary string representing the tag value.
-
object items-x-oneOf[1]
Hexdecimal string representing the tag value.
-
object items-x-oneOf[2]
binary tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.
-
object items-x-oneOf[3]
Hexdecimal tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.
{
"x-oneOf":[
{
"description":"Binary string representing the tag value.",
"type":"object",
"properties":{
"binValue":{
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binValue"
],
"additionalProperties":false
},
{
"description":"Hexdecimal string representing the tag value.",
"type":"object",
"properties":{
"hexValue":{
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexValue"
],
"additionalProperties":false
},
{
"description":"binary tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"binMask":{
"description":"binary string representing the tag mask value.",
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binMask"
],
"additionalProperties":false
},
{
"description":"Hexdecimal tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"hexMask":{
"description":"Hexdecimal string representing the tag mask value.",
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexMask"
],
"additionalProperties":false
}
]
}
Nested Schema : items-x-oneOf[0]
Type:
objectBinary string representing the tag value.
Show Source
-
binValue(required):
string
Minimum Length:
1Maximum Length:2000Pattern:^[01]{1,2000}$
{
"description":"Binary string representing the tag value.",
"type":"object",
"properties":{
"binValue":{
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binValue"
],
"additionalProperties":false
}
Nested Schema : items-x-oneOf[1]
Type:
objectHexdecimal string representing the tag value.
Show Source
-
hexValue(required):
string
Minimum Length:
1Maximum Length:2000Pattern:^[A-Fa-f0-9]{1,2000}$
{
"description":"Hexdecimal string representing the tag value.",
"type":"object",
"properties":{
"hexValue":{
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexValue"
],
"additionalProperties":false
}
Nested Schema : items-x-oneOf[2]
Type:
objectbinary tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.
Show Source
-
binMask(required):
string
Minimum Length:
1Maximum Length:2000Pattern:^[01]{1,2000}$binary string representing the tag mask value.
{
"description":"binary tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"binMask":{
"description":"binary string representing the tag mask value.",
"type":"string",
"pattern":"^[01]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"binMask"
],
"additionalProperties":false
}
Nested Schema : items-x-oneOf[3]
Type:
objectHexdecimal tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.
Show Source
-
hexMask(required):
string
Minimum Length:
1Maximum Length:2000Pattern:^[A-Fa-f0-9]{1,2000}$Hexdecimal string representing the tag mask value.
{
"description":"Hexdecimal tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.",
"type":"object",
"properties":{
"hexMask":{
"description":"Hexdecimal string representing the tag mask value.",
"type":"string",
"pattern":"^[A-Fa-f0-9]{1,2000}$",
"minLength":1,
"maxLength":2000
}
},
"required":[
"hexMask"
],
"additionalProperties":false
}
Nested Schema : partitionNames
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
65535set of partition names
Show Source
{
"description":"set of partition names",
"type":"array",
"items":{
"description":"Qualified partition name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":7,
"maxLength":523
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
},
"minItems":1,
"maxItems":65535
}
Nested Schema : items
Qualified partition name where any name component may contain wildcard characters
Match Any
Show Source
-
string
Minimum Length:
7Maximum Length:523Pattern:^([^."]{1,128}|["].{1,128}["])[.]([^."]{1,128}|["].{1,128}["])[.]([^."]{1,128}|["].{1,128}["])[.]([^."]{1,128}|["].{1,128}["])$ -
string
Minimum Length:
5Maximum Length:392Pattern:^([^."]{1,128}|["].{1,128}["])[.]([^."]{1,128}|["].{1,128}["])[.]([^."]{1,128}|["].{1,128}["])$
{
"description":"Qualified partition name where any name component may contain wildcard characters",
"x-anyOf":[
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":7,
"maxLength":523
},
{
"type":"string",
"pattern":"^([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])[.]([^.\"]{1,128}|[\"].{1,128}[\"])$",
"minLength":5,
"maxLength":392
}
]
}
Nested Schema : userTokens
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
65535set of user tokens
Show Source
{
"description":"set of user tokens",
"type":"array",
"items":{
"type":"object",
"properties":{
"tokenName":{
"description":"user token name",
"type":"string",
"minLength":1,
"maxLength":30
},
"tokenValue":{
"description":"user token value",
"type":"string",
"minLength":1,
"maxLength":32767
},
"matchType":{
"description":"how to match the filter value",
"enum":[
"exactCaseSensitive",
"exactCaseInsensitive",
"partialCaseSensitive",
"partialCaseInsensitive"
],
"default":"exactCaseSensistive"
}
},
"required":[
"tokenName",
"tokenValue"
],
"additionalProperties":false
},
"minItems":1,
"maxItems":65535
}
Nested Schema : items
Type:
Show Source
object-
matchType:
Default Value:
exactCaseSensistiveAllowed Values:[ "exactCaseSensitive", "exactCaseInsensitive", "partialCaseSensitive", "partialCaseInsensitive" ]how to match the filter value -
tokenName(required):
string
Minimum Length:
1Maximum Length:30user token name -
tokenValue(required):
string
Minimum Length:
1Maximum Length:32767user token value
{
"type":"object",
"properties":{
"tokenName":{
"description":"user token name",
"type":"string",
"minLength":1,
"maxLength":30
},
"tokenValue":{
"description":"user token value",
"type":"string",
"minLength":1,
"maxLength":32767
},
"matchType":{
"description":"how to match the filter value",
"enum":[
"exactCaseSensitive",
"exactCaseInsensitive",
"partialCaseSensitive",
"partialCaseInsensitive"
],
"default":"exactCaseSensistive"
}
},
"required":[
"tokenName",
"tokenValue"
],
"additionalProperties":false
}
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"rel":"canonical",
"href":"http://localhost:9002/services/v2/stream",
"mediaType":"application/json"
},
{
"rel":"self",
"href":"http://localhost:9002/services/v2/stream",
"mediaType":"application/json"
},
{
"rel":"describedby",
"href":"http://localhost:9002/services/v2/metadata-catalog/stream",
"mediaType":"application/schema+json"
}
],
"messages":[
],
"response":{
"$schema":"ogg:collection",
"items":[
{
"links":[
{
"rel":"parent",
"href":"http://localhost:9002/services/v2/stream",
"mediaType":"application/json"
},
{
"rel":"canonical",
"href":"http://localhost:9002/services/v2/stream/mystream2",
"mediaType":"application/json"
}
],
"$schema":"ogg:collectionItem",
"name":"mystream2"
},
{
"links":[
{
"rel":"parent",
"href":"http://localhost:9002/services/v2/stream",
"mediaType":"application/json"
},
{
"rel":"canonical",
"href":"http://localhost:9002/services/v2/stream/mystream1",
"mediaType":"application/json"
}
],
"$schema":"ogg:collectionItem",
"name":"mystream1"
}
]
}
}