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:
object
Title:
Show Source
Oracle GoldenGate DataStream Collection
-
$schema:
Allowed Values:
[ "ogg:dataStreamCollection" ]
-
items(required):
array items
Minimum Number of Items:
0
Maximum 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:
array
Minimum Number of Items:
0
Maximum 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:
object
Additional Properties Allowed:
Show Source
true
-
$schema:
string
Minimum Length:
1
Maximum Length:255
Default Value:ogg:collectionItem
Name of schema for collection item, defaults to this schema -
links(required):
array links
Minimum Number of Items:
1
Maximum Number of Items:16
Links for item -
name(required):
string
Minimum Length:
1
Maximum Length:255
Item 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:
object
Additional 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:
array
Minimum Number of Items:
1
Maximum Number of Items:
16
Links 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:
stopped
Allowed 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:
1
Maximum Length:4095
A human-readable description that provides information and detail specific to this link. -
href(required):
string
Minimum Length:
2
Maximum Length:4095
Pattern:^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$
An absolute URI for the link -
mediaType:
string
Minimum Length:
6
Maximum Length:255
Pattern:^(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:
131072
Maximum Value:10485760
Default Value:1048576
data buffer size in bytes before flush -
cloudEventsFormat:
boolean
Default Value:
false
data records conform to cloudEvents format -
description:
string
Minimum Length:
1
Maximum Length:4096
Description for the data stream -
encoding:
encoding
data encoding method
-
qualityOfService:
string
Default Value:
exactlyOnce
Allowed Values:[ "atLeastOnce", "exactlyOnce", "atMostOnce" ]
The quality level of the data streaming service -
rules:
array rules
Minimum Number of Items:
1
Maximum Number of Items:1024
-
source(required):
object source
source endpoint of the data stream.
-
tcpKeepAliveTimeout:
integer
Minimum Value:
1
Maximum Value:10800
Default Value:120
Timeout (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:
json
Match 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:
array
Minimum Number of Items:
1
Maximum 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:
object
source endpoint of the data stream.
Show Source
-
path:
string
Minimum Length:
1
Maximum Length:4096
The path where trail data is stored -
trail(required):
string
Minimum Length:
2
Maximum Length:512
Pattern:^[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:
object
json 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:
1
Maximum Length:32
Default Value:after
JSON element name for after image, applicable to op model only -
beforeImageName:
string
Minimum Length:
1
Maximum Length:32
Default Value:before
JSON element name for before image, applicable to op model only -
delimiter:
string
Minimum Length:
0
Maximum Length:32
delimiter between records -
flatten:
boolean
Default Value:
false
flattens before and after image columns, applicable to op model only -
flattenDelimiter:
string
Minimum Length:
0
Maximum Length:32
delimiter for concatenated JSON element names in before and after image columns, applicable to op model only -
includeJSONSchemaRecord:
boolean
Default Value:
true
includes JSONSchema records describing every record in the stream including stream metadata record, object metadata record, DML record, and DDL record -
includeObjectMetadataRecords:
boolean
Default Value:
true
includes metadata records describing a table, such as a list of its columns and types -
includeStreamMetadataRecord:
boolean
Default Value:
true
includes metadata record describing global information related to the source database and producer -
maxDDLTextSize:
integer
Minimum Value:
1
Maximum Value:4294967295
Default Value:1000000
DDL text is truncated when exceeding this maximum size in bytes -
maxLobSize:
integer
Minimum Value:
1
Maximum Value:18446744073709552000
Default Value:64000
LOB data is truncated when exceeding this maximum size in bytes -
maxRecordSize:
integer
Minimum Value:
131072
Maximum Value:10485760
Default Value:1048576
record is truncated or chunked when exceeding this maximum size in bytes -
metaFields:
object metaFields
specifies metadata to include in records
-
model:
Default Value:
op
Allowed Values:[ "op", "row" ]
the model of records -
omitNullColumnValues:
boolean
Default Value:
false
excludes 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:
false
writes all column values as strings instead of their native types -
truncateOrChunk:
Default Value:
truncate
Allowed 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:
object
specifies 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:
object
operation type string values
Show Source
-
ddlOp:
string
Minimum Length:
1
Maximum Length:32
Default Value:DDL
-
deleteOp:
string
Minimum Length:
1
Maximum Length:32
Default Value:DELETE
-
insertOp:
string
Minimum Length:
1
Maximum Length:32
Default Value:INSERT
-
truncateOp:
string
Minimum Length:
1
Maximum Length:32
Default Value:TRUNCATE
-
updateOp:
string
Minimum Length:
1
Maximum Length:32
Default Value:UPDATE
-
upsertOp:
string
Minimum Length:
1
Maximum Length:32
Default 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:
object
specifies fields with static values in records
Nested Schema : catalog
Default Value:
false
Match One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":"1",
"maxLength":"255"
}
]
}
Nested Schema : csn
Default Value:
false
Match One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":"1",
"maxLength":"255"
}
]
}
Nested Schema : currentTs
Default Value:
false
Match One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":"1",
"maxLength":"255"
}
]
}
Nested Schema : currentTsMicroSecs
Default Value:
false
Match One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":"1",
"maxLength":"255"
}
]
}
Nested Schema : env
Default Value:
oracle.doceng.json.BetterJsonNull@129348e8
Match One
Show Source
-
Allowed Values:
[ null ]
-
object env-x-oneOf[1]
{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
}
Nested Schema : opSeqno
Default Value:
false
Match One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":"1",
"maxLength":"255"
}
]
}
Nested Schema : opTs
Default Value:
true
Match One
Show Source
{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":"1",
"maxLength":"255"
}
]
}
Nested Schema : opTsMicroSecs
Default Value:
false
Match One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":"1",
"maxLength":"255"
}
]
}
Nested Schema : opType
Default Value:
true
Match One
Show Source
{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":"1",
"maxLength":"255"
}
]
}
Nested Schema : pos
Default Value:
true
Match One
Show Source
{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":"1",
"maxLength":"255"
}
]
}
Nested Schema : primaryKeys
Default Value:
false
Match One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":"1",
"maxLength":"255"
}
]
}
Nested Schema : qualifiedTable
Default Value:
true
Match One
Show Source
{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":"1",
"maxLength":"255"
}
]
}
Nested Schema : schema
Default Value:
false
Match One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":"1",
"maxLength":"255"
}
]
}
Nested Schema : sys
Default Value:
oracle.doceng.json.BetterJsonNull@22349ad3
Match One
Show Source
-
Allowed Values:
[ null ]
-
object sys-x-oneOf[1]
{
"default":null,
"x-oneOf":[
{
"enum":[
null
]
},
{
"type":"object"
}
]
}
Nested Schema : table
Default Value:
false
Match One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":"1",
"maxLength":"255"
}
]
}
Nested Schema : tokens
Default Value:
oracle.doceng.json.BetterJsonNull@341c0dfc
Match 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:
false
Match One
Show Source
{
"default":false,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":"1",
"maxLength":"255"
}
]
}
Nested Schema : xid
Default Value:
true
Match One
Show Source
{
"default":true,
"x-oneOf":[
{
"type":"boolean"
},
{
"type":"string",
"minLength":"1",
"maxLength":"255"
}
]
}
Nested Schema : env-x-oneOf[1]
Type:
object
Nested Schema : sys-x-oneOf[1]
Type:
object
Nested Schema : tokens-x-oneOf[1]
Type:
object
Nested Schema : items
Type:
object
data streaming rule
Show Source
-
action(required):
Allowed Values:
[ "include", "exclude" ]
-
description:
string
Minimum Length:
1
Maximum Length:4095
Description 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:
object
data record object names
Show Source
-
objectNames(required):
array objectNames
Minimum Number of Items:
1
Maximum Number of Items:65535
set 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:
object
data record operation types
Show Source
-
operationTypes(required):
array operationTypes
Minimum Number of Items:
1
Maximum Number of Items:6
set 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:
object
data record column values
Show Source
-
columnValues(required):
array columnValues
Minimum Number of Items:
1
Maximum Number of Items:65535
set 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:
object
data 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:
object
data record partition names
Show Source
-
partitionNames(required):
array partitionNames
Minimum Number of Items:
1
Maximum Number of Items:65535
set 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:
object
data record user tokens
Show Source
-
userTokens(required):
array userTokens
Minimum Number of Items:
1
Maximum Number of Items:65535
set 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:
array
Minimum Number of Items:
1
Maximum Number of Items:
65535
set 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:
3
Maximum Length:261
Pattern:^([^."]{1,128}|["].{1,128}["])[.]([^."]{1,128}|["].{1,128}["])$
-
string
Minimum Length:
5
Maximum Length:392
Pattern:^([^."]{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:
array
Minimum Number of Items:
1
Maximum Number of Items:
6
set 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:
array
Minimum Number of Items:
1
Maximum Number of Items:
65535
set 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:
1
Maximum Length:130
Pattern:^([^.*?"]{1,128}|["].{1,128}["])$
name of the column -
columnValue(required):
columnValue
column data, currently only support char and binary integer type
-
imageType:
Default Value:
before
Allowed 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:
equalTo
Allowed 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:
3
Maximum Length:261
Pattern:^([^."]{1,128}|["].{1,128}["])[.]([^."]{1,128}|["].{1,128}["])$
-
string
Minimum Length:
5
Maximum Length:392
Pattern:^([^."]{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:
1
Maximum 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:
array
Minimum Number of Items:
1
Maximum 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:
object
Binary string representing the tag value.
Show Source
-
binValue(required):
string
Minimum Length:
1
Maximum Length:2000
Pattern:^[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:
object
Hexdecimal string representing the tag value.
Show Source
-
hexValue(required):
string
Minimum Length:
1
Maximum Length:2000
Pattern:^[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:
object
binary tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.
Show Source
-
binMask(required):
string
Minimum Length:
1
Maximum Length:2000
Pattern:^[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:
object
Hexdecimal tag bitmask value, bitwise AND operation will be performed against the tag associated with the LCR.
Show Source
-
hexMask(required):
string
Minimum Length:
1
Maximum Length:2000
Pattern:^[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:
array
Minimum Number of Items:
1
Maximum Number of Items:
65535
set 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:
7
Maximum Length:523
Pattern:^([^."]{1,128}|["].{1,128}["])[.]([^."]{1,128}|["].{1,128}["])[.]([^."]{1,128}|["].{1,128}["])[.]([^."]{1,128}|["].{1,128}["])$
-
string
Minimum Length:
5
Maximum Length:392
Pattern:^([^."]{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:
array
Minimum Number of Items:
1
Maximum Number of Items:
65535
set 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:
exactCaseSensistive
Allowed Values:[ "exactCaseSensitive", "exactCaseInsensitive", "partialCaseSensitive", "partialCaseInsensitive" ]
how to match the filter value -
tokenName(required):
string
Minimum Length:
1
Maximum Length:30
user token name -
tokenValue(required):
string
Minimum Length:
1
Maximum Length:32767
user 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"
}
]
}
}