{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/robosystems-ai/json-schema/robosystems-ai-database-info-response-schema.json",
  "title": "DatabaseInfoResponse",
  "description": "Response model for database information and statistics.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/robosystems-ai-graph-info-api-openapi.yml#/components/schemas/DatabaseInfoResponse",
  "properties": {
    "graph_id": {
      "type": "string",
      "title": "Graph Id",
      "description": "Graph database identifier"
    },
    "database_name": {
      "type": "string",
      "title": "Database Name",
      "description": "Database name"
    },
    "database_size_bytes": {
      "type": "integer",
      "title": "Database Size Bytes",
      "description": "Database size in bytes"
    },
    "database_size_mb": {
      "type": "number",
      "title": "Database Size Mb",
      "description": "Database size in MB"
    },
    "node_count": {
      "type": "integer",
      "title": "Node Count",
      "description": "Total number of nodes"
    },
    "relationship_count": {
      "type": "integer",
      "title": "Relationship Count",
      "description": "Total number of relationships"
    },
    "node_labels": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Node Labels",
      "description": "List of node labels"
    },
    "relationship_types": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Relationship Types",
      "description": "List of relationship types"
    },
    "created_at": {
      "type": "string",
      "title": "Created At",
      "description": "Database creation timestamp"
    },
    "last_modified": {
      "type": "string",
      "title": "Last Modified",
      "description": "Last modification timestamp"
    },
    "schema_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Schema Version",
      "description": "Schema version"
    },
    "read_only": {
      "type": "boolean",
      "title": "Read Only",
      "description": "Whether database is read-only"
    },
    "backup_count": {
      "type": "integer",
      "title": "Backup Count",
      "description": "Number of available backups"
    },
    "last_backup_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Backup Date",
      "description": "Date of last backup"
    }
  },
  "type": "object",
  "required": [
    "graph_id",
    "database_name",
    "database_size_bytes",
    "database_size_mb",
    "node_count",
    "relationship_count",
    "node_labels",
    "relationship_types",
    "created_at",
    "last_modified",
    "read_only",
    "backup_count"
  ]
}