Skip to main content

CapacityPool

Seat capacity for one event (SPEC-030 Stack T). capacity is the only stored number — what remains is computed from live claims, so there is no availability counter to drift.

type CapacityPool implements Node {
id: ID!
name: String!
capacity: Int!
startsAt: DateTime
endsAt: DateTime
createdAt: DateTime!
updatedAt: DateTime!
seller: Seller!
allocations: [CapacityAllocation!]!
usage: CapacityUsage!
}

Fields​

CapacityPool.id ● ID! non-null scalar​

The Globally Unique ID of this object

CapacityPool.name ● String! non-null scalar​

Operator-facing label, e.g. "Main hall — Sat night".

CapacityPool.capacity ● Int! non-null scalar​

Total seats. 0 is legal and pauses sales without touching sold seats.

CapacityPool.startsAt ● DateTime scalar​

Event window start; null means unbounded. Drives scan validity.

CapacityPool.endsAt ● DateTime scalar​

Event window end; null means unbounded.

CapacityPool.createdAt ● DateTime! non-null scalar​

Row creation time.

CapacityPool.updatedAt ● DateTime! non-null scalar​

Row last-modified time.

CapacityPool.seller ● Seller! non-null object​

The seller whose event capacity this is.

CapacityPool.allocations ● [CapacityAllocation!]! non-null object​

The ticket classes (variants) drawing on this capacity.

CapacityPool.usage ● CapacityUsage! non-null object​

Computed seat usage across all allocated variants.

Interfaces​

Node interface​

An object with a Globally Unique ID

Returned By​

capacityPool query

Member Of​

CapacityAllocation object ● CapacityPoolCountableEdge object ● CapacityPoolCreate object ● CapacityPoolUpdate object

Was this page helpful?