Ordinance
Represents information about an ordinance.
type Ordinance {
id: ID!
parentId: ID
number: String
name: String
status: RelatedStatusType
externalCode: String
affectedParty: String
isPublic: Boolean
relatedId: ID @deprecated
related: Ordinance @deprecated
signedAt: Date
startAt: Date
dueAt: Date
completedAt: Date
isSubordinance: Boolean
parent: Ordinance
type: OrdinanceType
filePath: String @deprecated
filesPath: String
description: String
notes: String @deprecated
isMember: Boolean
isResponsible: Boolean
comments: [Comment!]!
followers: [User!]
creator: User
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
children(
where: OrdinanceChildrenWhereWhereConditions
orderBy: [OrdinanceChildrenOrderByOrderByClause!]
first: Int! = 10
after: String
): OrdinanceConnection!
members(
where: OrdinanceMembersWhereWhereConditions
orderBy: [OrdinanceMembersOrderByOrderByClause!]
first: Int! = 10
after: String
): OrdinanceMembersEdgeConnection!
responsible(first: Int! = 10, after: String): OrdinanceMembersEdgeConnection!
projects(
where: OrdinanceProjectsWhereWhereConditions
orderBy: [OrdinanceProjectsOrderByOrderByClause!]
first: Int! = 10
after: String
): ProjectConnection!
tasks(
where: OrdinanceTasksWhereWhereConditions
orderBy: [OrdinanceTasksOrderByOrderByClause!]
first: Int! = 10
after: String
): TaskConnection!
letters(
where: OrdinanceLettersWhereWhereConditions
orderBy: [OrdinanceLettersOrderByOrderByClause!]
first: Int! = 10
after: String
): LetterConnection!
files(
where: OrdinanceFilesWhereWhereConditions
orderBy: [OrdinanceFilesOrderByOrderByClause!]
first: Int! = 10
after: String
): FileConnection!
}
Fields
Ordinance.id ● ID! non-null scalar
Ordinance's unique identifier.
Ordinance.parentId ● ID scalar
The ordinance's parent ordinance.
Ordinance.number ● String scalar
The ordinance's number.
Ordinance.name ● String scalar
The ordinance's name.
Ordinance.status ● RelatedStatusType object
The ordinance's status.
Ordinance.externalCode ● String scalar
The ordinance's external code.
Ordinance.affectedParty ● String scalar
The ordinance's affected party.
Ordinance.isPublic ● Boolean scalar
True if the ordinance is public to the organization. If false, do not share this ordinance with other users in this organization without explicitly checking to see if they have access.
Ordinance.relatedId ● ID deprecated scalar
DEPRECATED
Use parentId instead
The ordinance's related ordinance.