parthp2107 d52297e28f
updated schema documentaiton (#1188)
* updated schema documentaiton

* id correction
2021-11-15 08:05:54 -08:00

71 lines
2.5 KiB
Markdown

# Table
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`
## Properties
- **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.
- Type: `string`
- **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.
- $ref: [../../type/basic.json#/definitions/dateTime](../types/basic.md#datetime)
- **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)
- **changeDescription**
- Change that lead to this version of the entity.
- $ref: [../../type/entityHistory.json#/definitions/changeDescription](../types/entityhistory.md#changedescription)
## Type definitions in this schema
### locationType
- 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"_
_This document was updated on: Monday, November 15, 2021_