{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-timestream/json-schema/amazon-timestream-create-database-request-schema.json",
  "title": "CreateDatabaseRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-timestream-databases-api-openapi.yml#/components/schemas/CreateDatabaseRequest",
  "type": "object",
  "properties": {
    "DatabaseName": {
      "type": "string",
      "description": "The name of the Timestream database."
    },
    "KmsKeyId": {
      "type": "string",
      "description": "The KMS key for the database. If the KMS key is not specified, the database will be encrypted with a Timestream managed KMS key located in your account. For more information, see Amazon Web Services managed keys."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/IngestTimestreamTag"
      },
      "description": "A list of key-value pairs to label the table."
    }
  },
  "required": [
    "DatabaseName"
  ],
  "$defs": {
    "IngestTimestreamTag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the tag. Tag keys are case sensitive."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag. Tag values are case-sensitive and can be null."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}