2021-08-04 07:49:14 +00:00

17 KiB

thread

https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/feed/thread.json

Entity that represents a feed

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated Yes Unknown status No Forbidden Allowed none thread.json

Feed entity Type

object (Feed entity)

Feed entity Properties

Property Type Required Nullable Defined by
id string Required cannot be null Basic type
href string Optional cannot be null Basic type
threadTs Not specified Optional cannot be null Feed entity
about string Required cannot be null Basic type
addressedTo string Optional cannot be null Basic type
posts array Required cannot be null Feed entity

id

Unique id used to identify an entity

id

  • is required

  • Type: string

  • cannot be null

  • defined in: Basic type

id Type

string

id Constraints

UUID: the string must be a UUID, according to RFC 4122

href

Link to the resource corresponding to this entity

Link to the resource

href

  • is optional

  • Type: string

  • cannot be null

  • defined in: Basic type

href Type

string

href Constraints

URI: the string must be a URI, according to RFC 3986

threadTs

Timestamp of the when the first post created the thread

threadTs

  • is optional

  • Type: unknown

  • cannot be null

  • defined in: Feed entity

threadTs Type

unknown

threadTs Constraints

date time: the string must be a date time string, according to RFC 3339, section 5.6

about

Entity or field thread is created for with format <#E/{enties}/{entityName}/{field}/{fieldValue}

about

  • is required

  • Type: string

  • cannot be null

  • defined in: Basic type

about Type

string

about Constraints

pattern: the string must match the following regular expression:

^<#E/\S+/\S+>$

try pattern

addressedTo

Entity or field thread is created for with format <#E/{enties}/{entityName}/{field}/{fieldValue}

addressedTo

  • is optional

  • Type: string

  • cannot be null

  • defined in: Basic type

addressedTo Type

string

addressedTo Constraints

pattern: the string must match the following regular expression:

^<#E/\S+/\S+>$

try pattern

posts

posts

posts Type

object[] (Details)

Feed entity Definitions

Definitions group post

Reference this group by using

{"$ref":"https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/feed/thread.json#/definitions/post"}
Property Type Required Nullable Defined by
message string Required cannot be null Feed entity
postTs string Optional cannot be null Feed entity
from string Required cannot be null Basic type

message

Message in markdown format. See markdown support for more details.

message

  • is required

  • Type: string

  • cannot be null

  • defined in: Feed entity

message Type

string

postTs

Timestamp of the post

postTs

  • is optional

  • Type: string

  • cannot be null

  • defined in: Feed entity

postTs Type

string

postTs Constraints

date time: the string must be a date time string, according to RFC 3339, section 5.6

from

Unique id used to identify an entity

from

  • is required

  • Type: string

  • cannot be null

  • defined in: Basic type

from Type

string

from Constraints

UUID: the string must be a UUID, according to RFC 4122

thread-definitions-post-properties-message

https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/feed/thread.json#/definitions/post/properties/message

Message in markdown format. See markdown support for more details.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status Unknown identifiability Forbidden Allowed none thread.json*

message Type

string

thread-definitions-post-properties-postts

https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/feed/thread.json#/definitions/post/properties/postTs

Timestamp of the post

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status Unknown identifiability Forbidden Allowed none thread.json*

postTs Type

string

postTs Constraints

date time: the string must be a date time string, according to RFC 3339, section 5.6

thread-definitions-post

https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/feed/thread.json#/properties/posts/items

Post within a feed

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Allowed none thread.json*

items Type

object (Details)

items Properties

Property Type Required Nullable Defined by
message string Required cannot be null Feed entity
postTs string Optional cannot be null Feed entity
from string Required cannot be null Basic type

message

Message in markdown format. See markdown support for more details.

message

  • is required

  • Type: string

  • cannot be null

  • defined in: Feed entity

message Type

string

postTs

Timestamp of the post

postTs

  • is optional

  • Type: string

  • cannot be null

  • defined in: Feed entity

postTs Type

string

postTs Constraints

date time: the string must be a date time string, according to RFC 3339, section 5.6

from

Unique id used to identify an entity

from

  • is required

  • Type: string

  • cannot be null

  • defined in: Basic type

from Type

string

from Constraints

UUID: the string must be a UUID, according to RFC 4122

thread-definitions

https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/feed/thread.json#/definitions
Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status Unknown identifiability Forbidden Allowed none thread.json*

definitions Type

unknown

thread-properties-posts

https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/feed/thread.json#/properties/posts
Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status Unknown identifiability Forbidden Allowed none thread.json*

posts Type

object[] (Details)

thread-properties-threadts

https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/feed/thread.json#/properties/threadTs

Timestamp of the when the first post created the thread

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status Unknown identifiability Forbidden Allowed none thread.json*

threadTs Type

unknown

threadTs Constraints

date time: the string must be a date time string, according to RFC 3339, section 5.6