{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-network-zones-post-schema.json",
  "title": "NetworkZonesPost",
  "description": "NetworkZonesPost represents the fields of a new LXD network zone",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canonical-network-zones-api-openapi.yml#/components/schemas/NetworkZonesPost",
  "properties": {
    "config": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Zone configuration map (refer to doc/network-zones.md)",
      "type": "object",
      "x-go-name": "Config"
    },
    "description": {
      "description": "Description of the network zone",
      "type": "string",
      "x-go-name": "Description"
    },
    "name": {
      "description": "The name of the zone (DNS domain name)",
      "type": "string",
      "x-go-name": "Name"
    }
  },
  "type": "object",
  "x-go-package": "github.com/canonical/lxd/shared/api"
}