{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-rds/json-schema/amazon-rds-tenant-databases-message-schema.json",
  "title": "TenantDatabasesMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-rds-tenant-database-api-openapi.yml#/components/schemas/TenantDatabasesMessage",
  "type": "object",
  "properties": {
    "Marker": {
      "type": "string",
      "description": "An optional pagination token provided by a previous DescribeTenantDatabases request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords."
    },
    "TenantDatabases": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TenantDatabase"
      },
      "description": "An array of the tenant databases requested by the DescribeTenantDatabases operation."
    }
  },
  "$defs": {
    "MasterUserSecret": {
      "type": "object",
      "properties": {
        "SecretArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the secret."
        },
        "SecretStatus": {
          "type": "string",
          "description": "The status of the secret. The possible status values include the following: creating - The secret is being created. active - The secret is available for normal use and rotation. rotating - The secret is being rotated. impaired - The secret can be used to access database credentials, but it can't be rotated. A secret might have this status if, for example, permissions are changed so that RDS can no longer access either the secret or the KMS key for the secret. When a secret has this status, you can correct the condition that caused the status. Alternatively, modify the DB instance to turn off a"
        },
        "KmsKeyId": {
          "type": "string",
          "description": "The Amazon Web Services KMS key identifier that is used to encrypt the secret."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with aws: or rds:. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-@]*)$\")."
        },
        "Value": {
          "type": "string",
          "description": "A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with aws: or rds:. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-@]*)$\")."
        }
      }
    },
    "TenantDatabase": {
      "type": "object",
      "properties": {
        "TenantDatabaseCreateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The creation time of the tenant database."
        },
        "DBInstanceIdentifier": {
          "type": "string",
          "description": "The ID of the DB instance that contains the tenant database."
        },
        "TenantDBName": {
          "type": "string",
          "description": "The database name of the tenant database."
        },
        "Status": {
          "type": "string",
          "description": "The status of the tenant database."
        },
        "MasterUsername": {
          "type": "string",
          "description": "The master username of the tenant database."
        },
        "DbiResourceId": {
          "type": "string",
          "description": "The Amazon Web Services Region-unique, immutable identifier for the DB instance."
        },
        "TenantDatabaseResourceId": {
          "type": "string",
          "description": "The Amazon Web Services Region-unique, immutable identifier for the tenant database."
        },
        "TenantDatabaseARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) for the tenant database."
        },
        "CharacterSetName": {
          "type": "string",
          "description": "The character set of the tenant database."
        },
        "NcharCharacterSetName": {
          "type": "string",
          "description": "The NCHAR character set name of the tenant database."
        },
        "DeletionProtection": {
          "type": "boolean",
          "description": "Specifies whether deletion protection is enabled for the DB instance."
        },
        "PendingModifiedValues": {
          "$ref": "#/$defs/TenantDatabasePendingModifiedValues"
        },
        "MasterUserSecret": {
          "$ref": "#/$defs/MasterUserSecret"
        },
        "TagList": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          }
        }
      }
    },
    "TenantDatabasePendingModifiedValues": {
      "type": "object",
      "properties": {
        "MasterUserPassword": {
          "type": "string",
          "description": "The master password for the tenant database."
        },
        "TenantDBName": {
          "type": "string",
          "description": "The name of the tenant database."
        }
      }
    }
  }
}