json.schema.entity.services.storageService.json Maven / Gradle / Ivy
{
"$id": "https://open-metadata.org/schema/entity/services/storageService.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Storage Service",
"description": "This schema defines the Storage Service entity, such as S3, GCS or AZURE.",
"type": "object",
"javaType": "org.openmetadata.schema.entity.services.StorageService",
"javaInterfaces": [
"org.openmetadata.schema.EntityInterface",
"org.openmetadata.schema.ServiceEntityInterface"
],
"definitions": {
"storageServiceType": {
"description": "Type of storage service such as S3, GFS, AZURE...",
"javaInterfaces": [
"org.openmetadata.schema.EnumInterface"
],
"type": "string",
"enum": [
"S3",
"ADLS",
"GCS",
"CustomStorage"
],
"javaEnums": [
{
"name": "S3"
},
{
"name": "ADLS"
},
{
"name": "GCS"
},
{
"name": "CustomStorage"
}
]
},
"storageConnection": {
"type": "object",
"javaType": "org.openmetadata.schema.type.StorageConnection",
"description": "Storage Connection.",
"javaInterfaces": [
"org.openmetadata.schema.ServiceConnectionEntityInterface"
],
"properties": {
"config": {
"mask": true,
"oneOf": [
{
"$ref": "connections/storage/s3Connection.json"
},
{
"$ref": "connections/storage/adlsConnection.json"
},
{
"$ref": "connections/storage/gcsConnection.json"
},
{
"$ref": "connections/storage/customStorageConnection.json"
}
]
}
},
"additionalProperties": false
}
},
"properties": {
"id": {
"description": "Unique identifier of this storage service instance.",
"$ref": "../../type/basic.json#/definitions/uuid"
},
"name": {
"description": "Name that identifies this storage service.",
"$ref": "../../type/basic.json#/definitions/entityName"
},
"fullyQualifiedName": {
"description": "FullyQualifiedName same as `name`.",
"$ref": "../../type/basic.json#/definitions/fullyQualifiedEntityName"
},
"displayName": {
"description": "Display Name that identifies this storage service.",
"type": "string"
},
"serviceType": {
"description": "Type of storage service such as S3, GCS, AZURE...",
"$ref": "#/definitions/storageServiceType"
},
"description": {
"description": "Description of a storage service instance.",
"$ref": "../../type/basic.json#/definitions/markdown"
},
"connection": {
"$ref": "#/definitions/storageConnection"
},
"pipelines": {
"description": "References to pipelines deployed for this storage service to extract metadata, usage, lineage etc..",
"$ref": "../../type/entityReferenceList.json"
},
"testConnectionResult": {
"description": "Last test connection results for this service",
"$ref": "connections/testConnectionResult.json"
},
"tags": {
"description": "Tags for this storage Service.",
"type": "array",
"items": {
"$ref": "../../type/tagLabel.json"
},
"default": []
},
"version": {
"description": "Metadata version of the entity.",
"$ref": "../../type/entityHistory.json#/definitions/entityVersion"
},
"updatedAt": {
"description": "Last update time corresponding to the new version of the entity in Unix epoch time milliseconds.",
"$ref": "../../type/basic.json#/definitions/timestamp"
},
"updatedBy": {
"description": "User who made the update.",
"type": "string"
},
"href": {
"description": "Link to the resource corresponding to this storage service.",
"$ref": "../../type/basic.json#/definitions/href"
},
"owners": {
"description": "Owners of this storage service.",
"$ref": "../../type/entityReferenceList.json"
},
"changeDescription": {
"description": "Change that lead to this version of the entity.",
"$ref": "../../type/entityHistory.json#/definitions/changeDescription"
},
"deleted": {
"description": "When `true` indicates the entity has been soft deleted.",
"type": "boolean",
"default": false
},
"dataProducts" : {
"description": "List of data products this entity is part of.",
"$ref" : "../../type/entityReferenceList.json"
},
"domain" : {
"description": "Domain the Storage service belongs to.",
"$ref": "../../type/entityReference.json"
}
},
"required": ["id", "name", "serviceType"],
"additionalProperties": false
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy