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
notes: String
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
Use parentId
instead
The ordinance's related ordinance.
Ordinance.related
● Ordinance
deprecated object
Use parent
instead
The related ordinance.
Ordinance.signedAt
● Date
scalar
Signes date of the ordinance.
Ordinance.startAt
● Date
scalar
Start date of the ordinance.
Ordinance.dueAt
● Date
scalar
Due date of the ordinance.
Ordinance.completedAt
● Date
scalar
Completed date of the ordinance.
Ordinance.isSubordinance
● Boolean
scalar
Determine whether the ordinance is a subordinance.
Ordinance.parent
● Ordinance
object
The parent ordinance.
Ordinance.type
● OrdinanceType
object
The ordinance's type.
Ordinance.filePath
● String
deprecated scalar
Use filesPath
instead
The ordinance's file path.
Ordinance.filesPath
● String
scalar
The ordinance's files path.
Ordinance.notes
● String
scalar
The ordinance's notes.
Ordinance.comments
● [Comment!]!
non-null object
The ordinance's comments.
Ordinance.followers
● [User!]
list object
The ordinance's followers.
Ordinance.creator
● User
object
The user who created this ordinance.
Ordinance.createdAt
● DateTimeTz!
non-null scalar
The date and time when the ordinance was created.
Ordinance.updatedAt
● DateTimeTz!
non-null scalar
The date and time when the ordinance was last updated.
Ordinance.deletedAt
● DateTimeTz
scalar
The date and time when the ordinance was deleted.
Ordinance.children
● OrdinanceConnection!
non-null object
The child ordinances.
Ordinance.children.where
● OrdinanceChildrenWhereWhereConditions
input
Ordinance.children.orderBy
● [OrdinanceChildrenOrderByOrderByClause!]
list input
Ordinance.children.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Ordinance.children.after
● String
scalar
A cursor after which elements are returned.
Ordinance.members
● OrdinanceMembersEdgeConnection!
non-null object
The ordinance's members.
Ordinance.members.where
● OrdinanceMembersWhereWhereConditions
input
Ordinance.members.orderBy
● [OrdinanceMembersOrderByOrderByClause!]
list input
Ordinance.members.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Ordinance.members.after
● String
scalar
A cursor after which elements are returned.
Ordinance.responsible
● OrdinanceMembersEdgeConnection!
non-null object
The ordinance's responsible member.
Ordinance.responsible.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Ordinance.responsible.after
● String
scalar
A cursor after which elements are returned.
Ordinance.projects
● ProjectConnection!
non-null object
A list of projects associated with the ordinance.
Ordinance.projects.where
● OrdinanceProjectsWhereWhereConditions
input
Ordinance.projects.orderBy
● [OrdinanceProjectsOrderByOrderByClause!]
list input
Ordinance.projects.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Ordinance.projects.after
● String
scalar
A cursor after which elements are returned.
Ordinance.tasks
● TaskConnection!
non-null object
A list of tasks associated with the ordinance.
Ordinance.tasks.where
● OrdinanceTasksWhereWhereConditions
input
Ordinance.tasks.orderBy
● [OrdinanceTasksOrderByOrderByClause!]
list input
Ordinance.tasks.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Ordinance.tasks.after
● String
scalar
A cursor after which elements are returned.
Ordinance.letters
● LetterConnection!
non-null object
A list of letters associated with the ordinance.
Ordinance.letters.where
● OrdinanceLettersWhereWhereConditions
input
Ordinance.letters.orderBy
● [OrdinanceLettersOrderByOrderByClause!]
list input
Ordinance.letters.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Ordinance.letters.after
● String
scalar
A cursor after which elements are returned.
Ordinance.files
● FileConnection!
non-null object
The ordinance's files.
Ordinance.files.where
● OrdinanceFilesWhereWhereConditions
input
Ordinance.files.orderBy
● [OrdinanceFilesOrderByOrderByClause!]
list input
Ordinance.files.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Ordinance.files.after
● String
scalar
A cursor after which elements are returned.
Returned By
createOrdinance
mutation ● deleteOrdinance
mutation ● duplicateOrdinance
mutation ● ordinance
query ● restoreOrdinance
mutation ● updateOrdinance
mutation
Member Of
Ordinance
object ● OrdinanceEdge
object