{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-network-peer-schema.json", "title": "NetworkPeer used for displaying a LXD network peering.", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/canonical-network-peers-api-openapi.yml#/components/schemas/NetworkPeer", "properties": { "config": { "additionalProperties": { "type": "string" }, "description": "Peer configuration map (refer to doc/network-peers.md)", "type": "object", "x-go-name": "Config" }, "description": { "description": "Description of the peer", "type": "string", "x-go-name": "Description" }, "name": { "description": "Name of the peer", "readOnly": true, "type": "string", "x-go-name": "Name" }, "status": { "description": "The state of the peering", "readOnly": true, "type": "string", "x-go-name": "Status" }, "target_network": { "description": "Name of the target network", "readOnly": true, "type": "string", "x-go-name": "TargetNetwork" }, "target_project": { "description": "Name of the target project", "readOnly": true, "type": "string", "x-go-name": "TargetProject" }, "used_by": { "description": "List of URLs of objects using this network peering", "items": { "type": "string" }, "readOnly": true, "type": "array", "x-go-name": "UsedBy" } }, "type": "object", "x-go-package": "github.com/canonical/lxd/shared/api" }