-
Notifications
You must be signed in to change notification settings - Fork 877
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
f080481
commit 28807f8
Showing
8 changed files
with
215 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
catalog-rest-service/src/main/resources/json/schema/api/feed/threadCount.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"$id": "https://open-metadata.org/schema/api/feed/threadCount.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Count of threads related to an entity", | ||
"description": "This schema defines the type for reporting the count of threads related to an entity.", | ||
"type": "object", | ||
"javaType": "org.openmetadata.catalog.api.feed.ThreadCount", | ||
"definitions": { | ||
"entityLinkThreadCount": { | ||
"description": "Type used to return thread count per entity link.", | ||
"type": "object", | ||
"javaType": "org.openmetadata.catalog.api.feed.EntityLinkThreadCount", | ||
"properties": { | ||
"count": { | ||
"description": "Count of threads for the given entity link.", | ||
"type": "integer", | ||
"minimum": 0 | ||
}, | ||
"entityLink": { | ||
"$ref": "../../type/basic.json#/definitions/entityLink" | ||
} | ||
}, | ||
"required": ["count", "entityLink"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"properties": { | ||
"totalCount": { | ||
"description": "Total count of all the threads.", | ||
"type": "integer", | ||
"minimum": 0 | ||
}, | ||
"counts": { | ||
"description": "", | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/entityLinkThreadCount" | ||
} | ||
} | ||
}, | ||
"required": ["counts", "totalCount"], | ||
"additionalProperties": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters