UpsertCapabilityInput
Input for creating or replacing a capability. Supplying id overwrites that capability wholesale (unset fields become null) and preserves its createdAt; omitting id creates one.
TypeID (prefix "cpb") of an existing capability to overwrite. Omit to create a new capability with a server-generated id.
codeString!Capability code, unique within the tenant. Must match ^[A-Z][A-Z0-9_]{0,63}$ (uppercase letters, digits, underscores).
nameString!Human-readable capability name. Must not be blank.
descriptionStringOptional free-text explanation of the capability.
constraintSchema[String!]Constraint discriminants work centers may set for this capability. Each entry's prefix must be a known CapabilityConstraint discriminant. Omit for a capability that takes no constraints.
View exact SDL
"""
Input for creating or replacing a capability. Supplying id overwrites that capability wholesale (unset fields become null) and preserves its createdAt; omitting id creates one.
"""
input UpsertCapabilityInput {
"""
TypeID (prefix "cpb") of an existing capability to overwrite. Omit to create a new capability with a server-generated id.
"""
id: CapabilityID
"""
Capability code, unique within the tenant. Must match ^[A-Z][A-Z0-9_]{0,63}$ (uppercase letters, digits, underscores).
"""
code: String!
"""Human-readable capability name. Must not be blank."""
name: String!
"""Optional free-text explanation of the capability."""
description: String
"""
Constraint discriminants work centers may set for this capability. Each entry's prefix must be a known CapabilityConstraint discriminant. Omit for a capability that takes no constraints.
"""
constraintSchema: [String!]
}One stable address across all schema views. Follow a field’s type to explore connections between domains.