10 KiB
Database Entity
database
https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/data/database.json
Entity that represents a database
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | Yes | Unknown status | No | Forbidden | Allowed | none | database.json |
Database entity Type
object
[Database entity](database.md)
Database entity Properties
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
id | string |
Optional | cannot be null | Common type |
name | string |
Required | cannot be null | Database entity |
fullyQualifiedName | string |
Optional | cannot be null | Database entity |
description | string |
Optional | cannot be null | Database entity |
href | string |
Optional | cannot be null | Common type |
owner | object |
Optional | cannot be null | Common type |
service | object |
Required | cannot be null | Common type |
usageSummary | object |
Optional | cannot be null | Common type |
tables | array |
Optional | cannot be null | Common type |
id
Unique id used to identify an entity
id
- is optional
- Type:
string
- cannot be null
- defined in: Common type
id Type
string
id Constraints
UUID: the string must be a UUID, according to RFC 4122
name
Name that identifies the database
name
- is required
- Type:
string
- cannot be null
- defined in: Database entity
name Type
string
name Constraints
maximum length: the maximum number of characters for this string is: 64
minimum length: the minimum number of characters for this string is: 1
pattern: the string must match the following regular expression:
^[^.]*$
fullyQualifiedName
Name that uniquely identifies a database in the format 'ServiceName.DatabaseName'
fullyQualifiedName
- is optional
- Type:
string
- cannot be null
- defined in: Database entity
fullyQualifiedName Type
string
description
Description of the database instance. What it has and how to use it.
description
- is optional
- Type:
string
- cannot be null
- defined in: Database entity
description Type
string
href
Link to the resource corresponding to this entity
Link to the resource
href
- is optional
- Type:
string
- cannot be null
- defined in: Common type
href Type
string
href Constraints
URI: the string must be a URI, according to RFC 3986
owner
Owner of this database
Entity reference that includes entity ID and entity type
owner
- is optional
- Type:
object
[Details](../types/common.md#common-definitions-entityreference)
- cannot be null
- defined in: Common type
owner Type
object
[Details](../types/common.md#common-definitions-entityreference)
service
Link to the database cluster/service where this database is hosted in
Entity reference that includes entity ID and entity type
service
- is required
- Type:
object
[Details](../types/common.md#common-definitions-entityreference)
- cannot be null
- defined in: Common type
service Type
object
[Details](../types/common.md#common-definitions-entityreference)
usageSummary
Latest usage information for this database
Type used to return usage details
usageSummary
- is optional
- Type:
object
[Details](../types/common.md#common-definitions-usagedetails)
- cannot be null
- defined in: Common type
usageSummary Type
object
[Details](../types/common.md#common-definitions-usagedetails)
tables
References to tables in the database
tables
- is optional
- Type:
object[]
[Details](../types/common.md#common-definitions-entityreference)
- cannot be null
- defined in: Common type
tables Type
object[]
[Details](../types/common.md#common-definitions-entityreference)
Database entity Definitions
Definitions group databaseName
Reference this group by using
{"$ref":"https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/data/database.json#/definitions/databaseName"}
Property | Type | Required | Nullable | Defined by |
---|
database-definitions-databasename
https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/data/database.json#/definitions/databaseName
Name that identifies the database
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | database.json* |
databaseName Type
string
databaseName Constraints
maximum length: the maximum number of characters for this string is: 64
minimum length: the minimum number of characters for this string is: 1
pattern: the string must match the following regular expression:
^[^.]*$
database-definitions
https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/data/database.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 | database.json* |
definitions Type
unknown
database-properties-description
https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/data/database.json#/properties/description
Description of the database instance. What it has and how to use it.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | database.json* |
description Type
string
database-properties-fullyqualifiedname
https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/data/database.json#/properties/fullyQualifiedName
Name that uniquely identifies a database in the format 'ServiceName.DatabaseName'
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | database.json* |
fullyQualifiedName Type
string
database-properties-name
https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/data/database.json#/properties/name
Name that identifies the database
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | database.json* |
name Type
string
name Constraints
maximum length: the maximum number of characters for this string is: 64
minimum length: the minimum number of characters for this string is: 1
pattern: the string must match the following regular expression:
^[^.]*$