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.
Fields
TypeID (prefix "cpb") of an existing capability to overwrite. Omit to create a new capability with a server-generated id.
Capability code, unique within the tenant. Must match ^[A-Z][A-Z0-9_]{0,63}$ (uppercase letters, digits, underscores).
Human-readable capability name. Must not be blank.
Optional free-text explanation of the capability.
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.
Referenced by (1)
Exact type 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!]
}