OBJECT
Document
A document, typically corresponding to USFM for one book
link GraphQL Schema definition
- type Document {
- # The id of the document
- String! :
- # A parsed version of the id header
- idParts! :
- # The id of the docSet to which this document belongs
- String! :
- # USFM header information such as TOC
- KeyValue!]! : [
- # One USFM header
- #
- # Arguments
- # id: The header id, corresponding to the tag name minus any
- # trailing '1'
- String!): String ( :
- # The main sequence
- Sequence! :
- # The number of sequences
- Int! :
- # A list of sequences for this document
- #
- # Arguments
- # ids: ids of sequences to include, if found
- # types: types of sequences to include, if found
- # withTags: Only return sequences with all the specified tags
- # withoutTags: Only return sequences with none of the specified
- # tags
- (
- String!], : [
- String!], : [
- String!], : [
- String!] : [
- ): [Sequence!]!
- # A list of table sequences for this document
- #
- # Arguments
- # ids: ids of sequences to include, if found
- # withTags: Only return sequences with all the specified tags
- # withoutTags: Only return sequences with none of the specified
- # tags
- (
- String!], : [
- String!], : [
- String!] : [
- ): [tableSequence!]!
- # A list of tree sequences for this document
- #
- # Arguments
- # ids: ids of sequences to include, if found
- # withTags: Only return sequences with all the specified tags
- # withoutTags: Only return sequences with none of the specified
- # tags
- (
- String!], : [
- String!], : [
- String!] : [
- ): [treeSequence!]!
- # A list of key-value sequences for this document
- #
- # Arguments
- # ids: ids of sequences to include, if found
- # withTags: Only return sequences with all the specified tags
- # withoutTags: Only return sequences with none of the specified
- # tags
- String!], : [String!], : [String!]): [kvSequence!]! ( : [
- # A list of text (ie non-table, non-tree, non-kv) sequences for this document
- #
- # Arguments
- # ids: ids of sequences to include, if found
- # withTags: Only return sequences with all the specified tags
- # withoutTags: Only return sequences with none of the specified
- # tags
- (
- String!], : [
- String!], : [
- String!] : [
- ): [Sequence!]!
- # The sequence with the specified id
- #
- # Arguments
- # id: id of the sequence
- String!): Sequence ( :
- # The table sequence with the specified id
- #
- # Arguments
- # id: id of the sequence
- String!): tableSequence ( :
- # The tree sequence with the specified id
- #
- # Arguments
- # id: id of the sequence
- String!): treeSequence ( :
- # The key-value sequence with the specified id
- #
- # Arguments
- # id: id of the sequence
- String!): kvSequence ( :
- # The blocks of the main sequence
- Block!]! : [
- # The items for each block of the main sequence
- Item!]!]! : [[
- # The tokens for each block of the main sequence
- Item!]!]! : [[
- # The text for each block of the main sequence
- #
- # Arguments
- # normalizeSpace: If true, converts each whitespace character to
- # a single space
- Boolean): [String!]! ( :
- # The text for the main sequence
- #
- # Arguments
- # normalizeSpace: If true, converts each whitespace character to
- # a single space
- Boolean): String! ( :
- # A list of the tags of this document
- String!]! : [
- # A list of the tags of this document as key/value tuples
- KeyValue!]! : [
- # 'Whether or not the document has the specified tag
- #
- # Arguments
- # tagName: [Not documented]
- String!): Boolean! ( :
- # Content for a Scripture reference within this document, using local
- # versification
- #
- # Arguments
- # chapter: The chapter number (as a string)
- # verses: 'A list of verse numbers (as strings)
- # chapterVerses: A chapterVerse Reference (ch:v-ch:v)
- # includeContext: If true, adds scope and nextToken information
- # to each token
- (
- String, :
- String!], : [
- String, :
- Boolean :
- ): [ItemGroup!]!
- # Content for a Scripture reference within this document, using the versification
- # of the specified docSet
- #
- # Arguments
- # chapter: The chapter number (as a string)
- # mappedDocSetId: The id of the mapped docSet
- # verses: A list of verse numbers (as strings)
- # includeContext: If true, adds scope and nextToken information
- # to each token
- (
- String!, :
- String!, :
- String!]!, : [
- Boolean :
- ): [ItemGroup!]!
- # Content for each verse of a chapter within this document, using the
- # versification of the specified docSet
- #
- # Arguments
- # chapter: The chapter number (as a string)
- # mappedDocSetId: The id of the mapped docSet
- # includeContext: If true, adds scope and nextToken information
- # to each token
- (
- String!, :
- String!, :
- Boolean :
- ): [[ItemGroup!]!]!
- # What's previous and next with respect to the specified verse
- #
- # Arguments
- # chapter: The chapter number (as a string)
- # verse: A verse number (as a string)
- String!, : String!): cvNavigation ( :
- # The content of the main sequence indexed by chapterVerse
- cvIndex]! : [
- # The content of the specified chapter indexed by chapterVerse
- #
- # Arguments
- # chapter: The chapter number
- Int!): cvIndex! ( :
- # The content of the main sequence indexed by chapter
- cIndex]! : [
- # The content of a chapter
- #
- # Arguments
- # chapter: 'The chapter number
- Int!): cIndex! ( :
- # Verses matching the arguments
- #
- # Arguments
- # withChars: Return verses containing a token whose payload is an
- # exact match to one of the specified strings
- # withMatchingChars: Return verses containing a token whose
- # payload matches the specified regexes
- # withScopes: Only return blocks where the list of scopes is open
- # allChars: If true, verses where all regexes match will be
- # included
- # allScopes: If true, verses where all scopes match will be
- # included
- (
- String!], : [
- String!], : [
- String!], : [
- Boolean, :
- Boolean :
- ): [ItemGroup!]!
- }