{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/quant/main/json-schema/quant-network-schema.json",
  "title": "Network",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/quant-overledger-server-openapi.yml#/components/schemas/Network",
  "type": "object",
  "required": [
    "networkId",
    "name",
    "type",
    "isFusion",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "_id": {
      "type": "string"
    },
    "networkId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "type": {
      "$ref": "#/$defs/DltType"
    },
    "environment": {
      "type": "string",
      "enum": [
        "mainnet",
        "testnet",
        "devnet"
      ]
    },
    "visibility": {
      "type": "string",
      "enum": [
        "public",
        "permissioned",
        "private"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "paused",
        "deprecated"
      ]
    },
    "capacity": {
      "type": "string",
      "enum": [
        "PROVISIONED",
        "ENHANCED",
        "SCALED"
      ]
    },
    "isFusion": {
      "type": "boolean"
    },
    "rpc": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "DltType": {
      "type": "string",
      "enum": [
        "EVM",
        "HEDERA",
        "SOLANA",
        "SUI",
        "APTOS",
        "COSMOS"
      ]
    }
  }
}