{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-project-state-schema.json", "title": "ProjectState", "description": "ProjectState represents the current running state of a LXD project", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/canonical-projects-api-openapi.yml#/components/schemas/ProjectState", "properties": { "resources": { "additionalProperties": { "$ref": "#/$defs/ProjectStateResource" }, "description": "Allocated and used resources", "readOnly": true, "type": "object", "x-go-name": "Resources" } }, "type": "object", "x-go-package": "github.com/canonical/lxd/shared/api", "$defs": { "ProjectStateResource": { "description": "ProjectStateResource represents the state of a particular resource in a LXD project", "properties": { "Limit": { "description": "Limit for the resource (-1 if none)", "format": "int64", "type": "integer" }, "Usage": { "description": "Current usage for the resource", "format": "int64", "type": "integer" } }, "type": "object", "x-go-package": "github.com/canonical/lxd/shared/api" } } }