OBJECT

Item

Item

link GraphQL Schema definition

  • type Item {
  • # The basic item type (token, scope or graft)
  • type: String!
  • # The type-dependent subtype of the item
  • subType: String!
  • # The content of the item (the text for tokens, the label for scopes and the
  • # sequence id for grafts)
  • #
  • # Arguments
  • # normalizeSpace: If true, turn all whitespace into a normal
  • # space
  • # includeChars: A whitelist of characters to include
  • # excludeChars: A blacklist of characters to exclude
  • payload(
  • normalizeSpace: Boolean,
  • includeChars: [String!],
  • excludeChars: [String!]
  • ): String!
  • # If 'includeContext' was selected, and for tokens, the index of the token from
  • # the start of the sequence
  • #
  • # Arguments
  • # startsWith: Only include scopes that begin with this value
  • position(startsWith: [String!]): Int
  • # If 'includeContext' was selected, a list of scopes that are open around the item
  • #
  • # Arguments
  • # startsWith: Only include scopes that begin with this value
  • scopes(startsWith: [String!]): [String!]
  • }