{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apache-hive/json-schema/apache-hive-database-schema.json",
  "title": "Database",
  "description": "Hive database (schema) in the metastore",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apache-hive-databases-api-openapi.yml#/components/schemas/Database",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Database name"
    },
    "comment": {
      "type": "string",
      "description": "Database description"
    },
    "location": {
      "type": "string",
      "description": "HDFS location URI"
    },
    "ownerName": {
      "type": "string",
      "description": "Owner of the database"
    },
    "ownerType": {
      "type": "string",
      "description": "Owner type (USER or ROLE)"
    }
  }
}