2021-12-09 18:19:32 +05:30
|
|
|
# Location
|
2021-11-15 21:35:54 +05:30
|
|
|
|
|
|
|
This schema defines the Location entity. A Location can contain the data of a table or group other sublocation together.
|
|
|
|
|
|
|
|
**$id:**[**https://open-metadata.org/schema/entity/data/location.json**](https://open-metadata.org/schema/entity/data/location.json)
|
|
|
|
|
|
|
|
Type: `object`
|
|
|
|
|
2021-12-09 18:19:32 +05:30
|
|
|
This schema <u>does not</u> accept additional properties.
|
|
|
|
|
2021-11-15 21:35:54 +05:30
|
|
|
## Properties
|
2022-01-25 22:19:15 +05:30
|
|
|
- **id**
|
|
|
|
- Unique identifier of this location instance.
|
|
|
|
- $ref: [../../type/basic.json#/definitions/uuid](../types/basic.md#uuid)
|
|
|
|
- **name** `required`
|
|
|
|
- Name of a location without the service. For example s3://bucket/path1/path2.
|
|
|
|
- $ref: [#/definitions/locationName](#locationname)
|
|
|
|
- **displayName**
|
|
|
|
- Display Name that identifies this table. It could be title or label from the source services.
|
|
|
|
- Type: `string`
|
|
|
|
- **fullyQualifiedName**
|
|
|
|
- Fully qualified name of a location in the form `serviceName.locationName`.
|
|
|
|
- Type: `string`
|
|
|
|
- **description**
|
|
|
|
- Description of a location.
|
|
|
|
- Type: `string`
|
|
|
|
- **version**
|
|
|
|
- Metadata version of the entity.
|
|
|
|
- $ref: [../../type/entityHistory.json#/definitions/entityVersion](../types/entityhistory.md#entityversion)
|
|
|
|
- **updatedAt**
|
|
|
|
- Last update time corresponding to the new version of the entity in Unix epoch time milliseconds.
|
|
|
|
- $ref: [../../type/basic.json#/definitions/timestamp](../types/basic.md#timestamp)
|
|
|
|
- **updatedBy**
|
|
|
|
- User who made the update.
|
|
|
|
- Type: `string`
|
|
|
|
- **href**
|
|
|
|
- Link to this location resource.
|
|
|
|
- $ref: [../../type/basic.json#/definitions/href](../types/basic.md#href)
|
|
|
|
- **locationType**
|
|
|
|
- $ref: [#/definitions/locationType](#locationtype)
|
|
|
|
- **owner**
|
|
|
|
- Owner of this location.
|
|
|
|
- $ref: [../../type/entityReference.json](../types/entityreference.md)
|
|
|
|
- **followers**
|
|
|
|
- Followers of this location.
|
|
|
|
- $ref: [../../type/entityReference.json#/definitions/entityReferenceList](../types/entityreference.md#entityreferencelist)
|
|
|
|
- **tags**
|
|
|
|
- Tags for this location.
|
|
|
|
- Type: `array`
|
|
|
|
- **Items**
|
|
|
|
- $ref: [../../type/tagLabel.json](../types/taglabel.md)
|
|
|
|
- **service** `required`
|
|
|
|
- Link to the database cluster/service where this database is hosted in.
|
|
|
|
- $ref: [../../type/entityReference.json](../types/entityreference.md)
|
|
|
|
- **serviceType**
|
|
|
|
- Service type where this storage location is hosted in.
|
|
|
|
- $ref: [../../type/storage.json#/definitions/storageServiceType](../types/storage.md#storageservicetype)
|
|
|
|
- **changeDescription**
|
|
|
|
- Change that lead to this version of the entity.
|
|
|
|
- $ref: [../../type/entityHistory.json#/definitions/changeDescription](../types/entityhistory.md#changedescription)
|
|
|
|
- **deleted**
|
|
|
|
- When `true` indicates the entity has been soft deleted.
|
|
|
|
- Type: `boolean`
|
|
|
|
- Default: _false_
|
2021-11-15 21:35:54 +05:30
|
|
|
|
|
|
|
|
|
|
|
## Type definitions in this schema
|
2021-12-09 18:19:32 +05:30
|
|
|
### locationName
|
2022-01-25 22:19:15 +05:30
|
|
|
|
|
|
|
- Local name (not fully qualified name) of a location.
|
|
|
|
- Type: `string`
|
|
|
|
- Length: between 1 and 128
|
2021-12-09 18:19:32 +05:30
|
|
|
|
2021-11-15 21:35:54 +05:30
|
|
|
|
|
|
|
### locationType
|
|
|
|
|
2022-01-25 22:19:15 +05:30
|
|
|
- This schema defines the type used for describing different types of Location.
|
|
|
|
- Type: `string`
|
|
|
|
- The value is restricted to the following:
|
|
|
|
1. _"Bucket"_
|
|
|
|
2. _"Prefix"_
|
|
|
|
3. _"Database"_
|
|
|
|
4. _"Table"_
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-15 21:35:54 +05:30
|
|
|
|
2022-03-08 09:23:53 +05:30
|
|
|
_This document was updated on: Monday, March 7, 2022_
|