New: Kith open-sources its ATS.Read why
Skip to Content
Objects

Restriction

A do-not-contact rule on a person or a company. This is the record: nothing in Kith ATS refuses a sourcing push or a draft because of it, so whoever sources or writes outreach reads it first.

type Restriction {
  company: Company
  id: ID!
  isInForce: Boolean!
  kind: RestrictionKind!
  person: Person
  reason: String
  setAt: DateTime!
  setBy: User
  source: RestrictionSource
  until: Date
}

Fields

Restriction.company · Company object

The company it is on.

Restriction.id · ID! non-null scalar

The rule's id.

Restriction.isInForce · Boolean! non-null scalar

True when the rule holds today: until is empty or not yet past.

Restriction.kind · RestrictionKind! non-null enum

What must not be done.

Restriction.person · Person object

The person it is on. Exactly one of person and company is set.

Restriction.reason · String scalar

Why, in words.

Restriction.setAt · DateTime! non-null scalar

When it was set.

Restriction.setBy · User object

The member who set it. Null when an automatic process did, or they have left the workspace.

Restriction.source · RestrictionSource enum

Where the rule came from.

Restriction.until · Date scalar

The last day it holds. Null means it has no end.

Member Of

AddRestrictionPayload object · RestrictionEdge object · UpdateRestrictionPayload object