//! Wire types for `POST /api/v1/nodes` (register a new HSM
//! component).
useserde::{Deserialize, Serialize};useutoipa::ToSchema;/// Request body for `POST /api/v1/nodes`.
#[derive(Debug, Serialize, Deserialize, ToSchema)]pubstructAddNodeRequest{/// Physical location ID (xname) of the node, e.g. `x3000c0s1b0n0`.
pubid: String,
/// Initial HSM group the node belongs to.
pubgroup: String,
/// Whether to register the node as enabled. Defaults to `false`
/// (disabled) per serde's default for `bool`; the CLI's
/// `manta add node` flips the polarity via `--disabled`.
#[serde(default)]pubenabled:bool,
/// Optional architecture tag: `"X86"`, `"ARM"`, or `"Other"`.
pubarch:Option<String>,
}