{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-sql-server/json-schema/microsoft-sql-server-database-schema.json",
  "title": "Database",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-sql-server-azure-sql-databases-api-openapi.yml#/components/schemas/Database",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "location": {
      "type": "string"
    },
    "sku": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "tier": {
          "type": "string"
        },
        "capacity": {
          "type": "integer"
        }
      }
    },
    "properties": {
      "type": "object",
      "properties": {
        "collation": {
          "type": "string"
        },
        "maxSizeBytes": {
          "type": "integer"
        },
        "status": {
          "type": "string"
        },
        "creationDate": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}