Skip to main content

Specification

Represents information about a specification.

type Specification {
id: ID!
isLocked: Boolean!
isOverdue: Boolean!
daysOverdue: Int
_groupMeta: GroupMeta
number: String
name: String
status: RelatedStatusType
startAt: Date
receivedAt: Date
agreedAt: Date
dueAt: Date
type: SpecificationType
allowedTypes: [SpecificationType!]!
processingPeriod: Int
filesPath: String
description: String
terms: String
geometry: JSON
isMember: Boolean
isResponsible: Boolean
comments: [Comment!]!
followers: [User!]
creator: User
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
members(
where: SpecificationMembersWhereWhereConditions
orderBy: [SpecificationMembersOrderByOrderByClause!]
first: Int!
after: String
): SpecificationMembersEdgeConnection!
responsible(
first: Int!
after: String
): SpecificationMembersEdgeConnection!
contacts(
where: SpecificationContactsWhereWhereConditions
orderBy: [SpecificationContactsOrderByOrderByClause!]
first: Int!
after: String
): ContactConnection!
properties(
where: SpecificationPropertiesWhereWhereConditions
orderBy: [SpecificationPropertiesOrderByOrderByClause!]
first: Int!
after: String
): PropertyConnection!
projects(
where: SpecificationProjectsWhereWhereConditions
orderBy: [SpecificationProjectsOrderByOrderByClause!]
first: Int!
after: String
): ProjectConnection!
tasks(
where: SpecificationTasksWhereWhereConditions
orderBy: [SpecificationTasksOrderByOrderByClause!]
first: Int!
after: String
): TaskConnection!
letters(
where: SpecificationLettersWhereWhereConditions
orderBy: [SpecificationLettersOrderByOrderByClause!]
first: Int!
after: String
): LetterConnection!
submissions(
where: SpecificationSubmissionsWhereWhereConditions
orderBy: [SpecificationSubmissionsOrderByOrderByClause!]
first: Int!
after: String
): SubmissionConnection!
invoices(
where: SpecificationInvoicesWhereWhereConditions
orderBy: [SpecificationInvoicesOrderByOrderByClause!]
first: Int!
after: String
): InvoiceConnection!
coordinations(
where: SpecificationCoordinationsWhereWhereConditions
orderBy: [SpecificationCoordinationsOrderByOrderByClause!]
first: Int!
after: String
): CoordinationConnection!
meters(
where: SpecificationMetersWhereWhereConditions
orderBy: [SpecificationMetersOrderByOrderByClause!]
first: Int!
after: String
): MeterConnection!
tags(
where: SpecificationTagsWhereWhereConditions
orderBy: [SpecificationTagsOrderByOrderByClause!]
first: Int!
after: String
): TagConnection!
files(
where: SpecificationFilesWhereWhereConditions
orderBy: [SpecificationFilesOrderByOrderByClause!]
first: Int!
after: String
): FileConnection!
}

Fields​

Specification.id ● ID! non-null scalar​

Specification's unique identifier.

Specification.isLocked ● Boolean! non-null scalar​

Whether this entity is locked from edits to its contractual fields by its current status.

Specification.isOverdue ● Boolean! non-null scalar​

Whether the due date has passed while the record is still unsettled. Counted in Estonian time, from the day after the due date.

Specification.daysOverdue ● Int scalar​

How many days past its due date an overdue record is. Null when the record is not overdue.

Specification._groupMeta ● GroupMeta object​

Grouping metadata when results are grouped.

Specification.number ● String scalar​

The specification's number.

Specification.name ● String scalar​

The specification's name.

Specification.status ● RelatedStatusType object​

The specification's status.

Specification.startAt ● Date scalar​

Start date of the specification.

Specification.receivedAt ● Date scalar​

Received date of the specification.

Specification.agreedAt ● Date scalar​

Agreed date of the specification.

Specification.dueAt ● Date scalar​

Due date of the specification.

Specification.type ● SpecificationType object​

The specification's type.

Specification.allowedTypes ● [SpecificationType!]! non-null object​

Types this specification may be switched to without breaking its numbering. Limited to types in the same active numbering series — foreign and expired series are excluded. Resolved on demand.

Specification.processingPeriod ● Int scalar​

The specification's processing period (in days).

Specification.filesPath ● String scalar​

The specification's files path.

Specification.description ● String scalar​

The specification's description.

Specification.terms ● String scalar​

The specification's terms.

Specification.geometry ● JSON scalar​

The specification's geometry as GeoJSON. Optional top-level "color" (hex bg/line), "iconColor" (hex glyph) and "icon" (Iconify id) keys provide map styling.

Specification.isMember ● Boolean scalar​

Determine whether the current user is this specification's member.

Specification.isResponsible ● Boolean scalar​

Determine whether the current user is this specification's responsible member.

Specification.comments ● [Comment!]! non-null object​

The specification's comments.

Specification.followers ● [User!] list object​

The specification's followers.

Specification.creator ● User object​

The user who created this specification.

Specification.createdAt ● DateTimeTz! non-null scalar​

The date and time when the specification was created.

Specification.updatedAt ● DateTimeTz! non-null scalar​

The date and time when the specification was last updated.

Specification.deletedAt ● DateTimeTz scalar​

The date and time when the specification was deleted.

Specification.members ● SpecificationMembersEdgeConnection! non-null object​

The specification's members.

Specification.members.where ● SpecificationMembersWhereWhereConditions input​
Specification.members.orderBy ● [SpecificationMembersOrderByOrderByClause!] list input​
Specification.members.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Specification.members.after ● String scalar​

A cursor after which elements are returned.

Specification.responsible ● SpecificationMembersEdgeConnection! non-null object​

The specification's responsible member.

Specification.responsible.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Specification.responsible.after ● String scalar​

A cursor after which elements are returned.

Specification.contacts ● ContactConnection! non-null object​

The specification's contacts.

Specification.contacts.where ● SpecificationContactsWhereWhereConditions input​
Specification.contacts.orderBy ● [SpecificationContactsOrderByOrderByClause!] list input​
Specification.contacts.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Specification.contacts.after ● String scalar​

A cursor after which elements are returned.

Specification.properties ● PropertyConnection! non-null object​

A list of properties associated with the specification.

Specification.properties.where ● SpecificationPropertiesWhereWhereConditions input​
Specification.properties.orderBy ● [SpecificationPropertiesOrderByOrderByClause!] list input​
Specification.properties.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Specification.properties.after ● String scalar​

A cursor after which elements are returned.

Specification.projects ● ProjectConnection! non-null object​

A list of projects associated with the specification.

Specification.projects.where ● SpecificationProjectsWhereWhereConditions input​
Specification.projects.orderBy ● [SpecificationProjectsOrderByOrderByClause!] list input​
Specification.projects.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Specification.projects.after ● String scalar​

A cursor after which elements are returned.

Specification.tasks ● TaskConnection! non-null object​

A list of tasks associated with the specification.

Specification.tasks.where ● SpecificationTasksWhereWhereConditions input​
Specification.tasks.orderBy ● [SpecificationTasksOrderByOrderByClause!] list input​
Specification.tasks.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Specification.tasks.after ● String scalar​

A cursor after which elements are returned.

Specification.letters ● LetterConnection! non-null object​

A list of letters associated with the specification.

Specification.letters.where ● SpecificationLettersWhereWhereConditions input​
Specification.letters.orderBy ● [SpecificationLettersOrderByOrderByClause!] list input​
Specification.letters.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Specification.letters.after ● String scalar​

A cursor after which elements are returned.

Specification.submissions ● SubmissionConnection! non-null object​

A list of submissions associated with the specification.

Specification.submissions.where ● SpecificationSubmissionsWhereWhereConditions input​
Specification.submissions.orderBy ● [SpecificationSubmissionsOrderByOrderByClause!] list input​
Specification.submissions.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Specification.submissions.after ● String scalar​

A cursor after which elements are returned.

Specification.invoices ● InvoiceConnection! non-null object​

A list of invoices associated with the specification.

Specification.invoices.where ● SpecificationInvoicesWhereWhereConditions input​
Specification.invoices.orderBy ● [SpecificationInvoicesOrderByOrderByClause!] list input​
Specification.invoices.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Specification.invoices.after ● String scalar​

A cursor after which elements are returned.

Specification.coordinations ● CoordinationConnection! non-null object​

A list of coordinations associated with the specification.

Specification.coordinations.where ● SpecificationCoordinationsWhereWhereConditions input​
Specification.coordinations.orderBy ● [SpecificationCoordinationsOrderByOrderByClause!] list input​
Specification.coordinations.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Specification.coordinations.after ● String scalar​

A cursor after which elements are returned.

Specification.meters ● MeterConnection! non-null object​

A list of meters associated with the specification.

Specification.meters.where ● SpecificationMetersWhereWhereConditions input​
Specification.meters.orderBy ● [SpecificationMetersOrderByOrderByClause!] list input​
Specification.meters.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Specification.meters.after ● String scalar​

A cursor after which elements are returned.

Specification.tags ● TagConnection! non-null object​

The specification's tags.

Specification.tags.where ● SpecificationTagsWhereWhereConditions input​
Specification.tags.orderBy ● [SpecificationTagsOrderByOrderByClause!] list input​
Specification.tags.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Specification.tags.after ● String scalar​

A cursor after which elements are returned.

Specification.files ● FileConnection! non-null object​

The specification's files.

Specification.files.where ● SpecificationFilesWhereWhereConditions input​
Specification.files.orderBy ● [SpecificationFilesOrderByOrderByClause!] list input​
Specification.files.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Specification.files.after ● String scalar​

A cursor after which elements are returned.

Returned By​

createSpecification mutation ● deleteSpecification mutation ● duplicateSpecification mutation ● restoreSpecification mutation ● specification query ● updateSpecification mutation

Member Of​

SpecificationEdge object