{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hostinger/main/json-schema/hostinger-agency-hosting-v1-websites-databases-create-database-request-schema.json",
  "title": "AgencyHosting.V1.Websites.Databases.CreateDatabaseRequest",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hostinger-agency-hosting-databases-api-openapi.yml#/components/schemas/AgencyHosting.V1.Websites.Databases.CreateDatabaseRequest",
  "required": [
    "database_name",
    "database_user",
    "password"
  ],
  "properties": {
    "database_name": {
      "description": "Database name to create (alphanumeric characters).",
      "type": "string",
      "maxLength": 30,
      "minLength": 3
    },
    "database_user": {
      "description": "Database username to create alongside the database (alphanumeric characters).",
      "type": "string",
      "maxLength": 12,
      "minLength": 3
    },
    "password": {
      "description": "Password for the database user (requires mixed case, letters, and numbers).",
      "type": "string",
      "format": "password",
      "maxLength": 50,
      "minLength": 8
    }
  },
  "type": "object"
}