{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-cloudstack/refs/heads/main/json-schema/cloudstack-api-network-schema.json",
  "title": "Network",
  "description": "A CloudStack network resource providing connectivity for virtual machines.",
  "type": "object",
  "properties": {
    "id": { "type": "string", "description": "UUID of the network.", "example": "net-uuid-1234" },
    "name": { "type": "string", "description": "Display name of the network.", "example": "default-network" },
    "state": { "type": "string", "description": "Current state of the network.", "example": "Implemented" },
    "zoneid": { "type": "string", "description": "UUID of the zone containing the network.", "example": "zone-uuid-abcd" },
    "type": { "type": "string", "description": "Type of network (Isolated, Shared, L2).", "example": "Isolated" },
    "cidr": { "type": "string", "description": "CIDR block of the network.", "example": "10.0.0.0/24" }
  }
}
