DOCUMENTAI

documentai.operations.delete

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.documents.batchProcess

valid {
    input.Body.requests[_].automlParams.model == STRING
    input.Body.requests[_].documentType == STRING
    input.Body.requests[_].entityExtractionParams.enabled == BOOLEAN
    input.Body.requests[_].entityExtractionParams.modelVersion == STRING
    input.Body.requests[_].formExtractionParams.enabled == BOOLEAN
    input.Body.requests[_].formExtractionParams.keyValuePairHints[_].key == STRING
    input.Body.requests[_].formExtractionParams.keyValuePairHints[_].valueTypes[_] == STRING
    input.Body.requests[_].formExtractionParams.modelVersion == STRING
    input.Body.requests[_].inputConfig.contents == STRING
    input.Body.requests[_].inputConfig.gcsSource.uri == STRING
    input.Body.requests[_].inputConfig.mimeType == STRING
    input.Body.requests[_].ocrParams.languageHints[_] == STRING
    input.Body.requests[_].outputConfig.gcsDestination.uri == STRING
    input.Body.requests[_].outputConfig.pagesPerShard == INTEGER
    input.Body.requests[_].parent == STRING
    input.Body.requests[_].tableExtractionParams.enabled == BOOLEAN
    input.Body.requests[_].tableExtractionParams.headerHints[_] == STRING
    input.Body.requests[_].tableExtractionParams.modelVersion == STRING
    input.Body.requests[_].tableExtractionParams.tableBoundHints[_].boundingBox.normalizedVertices[_].x == NUMBER
    input.Body.requests[_].tableExtractionParams.tableBoundHints[_].boundingBox.normalizedVertices[_].y == NUMBER
    input.Body.requests[_].tableExtractionParams.tableBoundHints[_].boundingBox.vertices[_].x == INTEGER
    input.Body.requests[_].tableExtractionParams.tableBoundHints[_].boundingBox.vertices[_].y == INTEGER
    input.Body.requests[_].tableExtractionParams.tableBoundHints[_].pageNumber == INTEGER
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.documents.process

valid {
    input.Body.automlParams.model == STRING
    input.Body.documentType == STRING
    input.Body.entityExtractionParams.enabled == BOOLEAN
    input.Body.entityExtractionParams.modelVersion == STRING
    input.Body.formExtractionParams.enabled == BOOLEAN
    input.Body.formExtractionParams.keyValuePairHints[_].key == STRING
    input.Body.formExtractionParams.keyValuePairHints[_].valueTypes[_] == STRING
    input.Body.formExtractionParams.modelVersion == STRING
    input.Body.inputConfig.contents == STRING
    input.Body.inputConfig.gcsSource.uri == STRING
    input.Body.inputConfig.mimeType == STRING
    input.Body.ocrParams.languageHints[_] == STRING
    input.Body.outputConfig.gcsDestination.uri == STRING
    input.Body.outputConfig.pagesPerShard == INTEGER
    input.Body.parent == STRING
    input.Body.tableExtractionParams.enabled == BOOLEAN
    input.Body.tableExtractionParams.headerHints[_] == STRING
    input.Body.tableExtractionParams.modelVersion == STRING
    input.Body.tableExtractionParams.tableBoundHints[_].boundingBox.normalizedVertices[_].x == NUMBER
    input.Body.tableExtractionParams.tableBoundHints[_].boundingBox.normalizedVertices[_].y == NUMBER
    input.Body.tableExtractionParams.tableBoundHints[_].boundingBox.vertices[_].x == INTEGER
    input.Body.tableExtractionParams.tableBoundHints[_].boundingBox.vertices[_].y == INTEGER
    input.Body.tableExtractionParams.tableBoundHints[_].pageNumber == INTEGER
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.documents.batchProcess

valid {
    input.Body.requests[_].automlParams.model == STRING
    input.Body.requests[_].documentType == STRING
    input.Body.requests[_].entityExtractionParams.enabled == BOOLEAN
    input.Body.requests[_].entityExtractionParams.modelVersion == STRING
    input.Body.requests[_].formExtractionParams.enabled == BOOLEAN
    input.Body.requests[_].formExtractionParams.keyValuePairHints[_].key == STRING
    input.Body.requests[_].formExtractionParams.keyValuePairHints[_].valueTypes[_] == STRING
    input.Body.requests[_].formExtractionParams.modelVersion == STRING
    input.Body.requests[_].inputConfig.contents == STRING
    input.Body.requests[_].inputConfig.gcsSource.uri == STRING
    input.Body.requests[_].inputConfig.mimeType == STRING
    input.Body.requests[_].ocrParams.languageHints[_] == STRING
    input.Body.requests[_].outputConfig.gcsDestination.uri == STRING
    input.Body.requests[_].outputConfig.pagesPerShard == INTEGER
    input.Body.requests[_].parent == STRING
    input.Body.requests[_].tableExtractionParams.enabled == BOOLEAN
    input.Body.requests[_].tableExtractionParams.headerHints[_] == STRING
    input.Body.requests[_].tableExtractionParams.modelVersion == STRING
    input.Body.requests[_].tableExtractionParams.tableBoundHints[_].boundingBox.normalizedVertices[_].x == NUMBER
    input.Body.requests[_].tableExtractionParams.tableBoundHints[_].boundingBox.normalizedVertices[_].y == NUMBER
    input.Body.requests[_].tableExtractionParams.tableBoundHints[_].boundingBox.vertices[_].x == INTEGER
    input.Body.requests[_].tableExtractionParams.tableBoundHints[_].boundingBox.vertices[_].y == INTEGER
    input.Body.requests[_].tableExtractionParams.tableBoundHints[_].pageNumber == INTEGER
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.documents.process

valid {
    input.Body.automlParams.model == STRING
    input.Body.documentType == STRING
    input.Body.entityExtractionParams.enabled == BOOLEAN
    input.Body.entityExtractionParams.modelVersion == STRING
    input.Body.formExtractionParams.enabled == BOOLEAN
    input.Body.formExtractionParams.keyValuePairHints[_].key == STRING
    input.Body.formExtractionParams.keyValuePairHints[_].valueTypes[_] == STRING
    input.Body.formExtractionParams.modelVersion == STRING
    input.Body.inputConfig.contents == STRING
    input.Body.inputConfig.gcsSource.uri == STRING
    input.Body.inputConfig.mimeType == STRING
    input.Body.ocrParams.languageHints[_] == STRING
    input.Body.outputConfig.gcsDestination.uri == STRING
    input.Body.outputConfig.pagesPerShard == INTEGER
    input.Body.parent == STRING
    input.Body.tableExtractionParams.enabled == BOOLEAN
    input.Body.tableExtractionParams.headerHints[_] == STRING
    input.Body.tableExtractionParams.modelVersion == STRING
    input.Body.tableExtractionParams.tableBoundHints[_].boundingBox.normalizedVertices[_].x == NUMBER
    input.Body.tableExtractionParams.tableBoundHints[_].boundingBox.normalizedVertices[_].y == NUMBER
    input.Body.tableExtractionParams.tableBoundHints[_].boundingBox.vertices[_].x == INTEGER
    input.Body.tableExtractionParams.tableBoundHints[_].boundingBox.vertices[_].y == INTEGER
    input.Body.tableExtractionParams.tableBoundHints[_].pageNumber == INTEGER
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.fetchProcessorTypes

valid {
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.list

valid {
    input.ReqMap.name == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.operations.cancel

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.operations.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.operations.list

valid {
    input.ReqMap.name == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processorTypes.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processorTypes.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.batchProcess

enum_GoogleCloudDocumentaiV1DocumentSchemaEntityTypePropertyOccurrenceType := [ "OCCURRENCE_TYPE_UNSPECIFIED", "OPTIONAL_ONCE", "OPTIONAL_MULTIPLE", "REQUIRED_ONCE", "REQUIRED_MULTIPLE" ]

valid {
    input.Body.documentOutputConfig.gcsOutputConfig.fieldMask == STRING
    input.Body.documentOutputConfig.gcsOutputConfig.gcsUri == STRING
    input.Body.documentOutputConfig.gcsOutputConfig.shardingConfig.pagesOverlap == INTEGER
    input.Body.documentOutputConfig.gcsOutputConfig.shardingConfig.pagesPerShard == INTEGER
    input.Body.inputDocuments.gcsDocuments.documents[_].gcsUri == STRING
    input.Body.inputDocuments.gcsDocuments.documents[_].mimeType == STRING
    input.Body.inputDocuments.gcsPrefix.gcsUriPrefix == STRING
    input.Body.labels.STRING == STRING
    input.Body.processOptions.fromEnd == INTEGER
    input.Body.processOptions.fromStart == INTEGER
    input.Body.processOptions.individualPageSelector.pages[_] == INTEGER
    input.Body.processOptions.ocrConfig.advancedOcrOptions[_] == STRING
    input.Body.processOptions.ocrConfig.computeStyleInfo == BOOLEAN
    input.Body.processOptions.ocrConfig.disableCharacterBoxesDetection == BOOLEAN
    input.Body.processOptions.ocrConfig.enableImageQualityScores == BOOLEAN
    input.Body.processOptions.ocrConfig.enableNativePdfParsing == BOOLEAN
    input.Body.processOptions.ocrConfig.enableSymbol == BOOLEAN
    input.Body.processOptions.ocrConfig.hints.languageHints[_] == STRING
    input.Body.processOptions.ocrConfig.premiumFeatures.computeStyleInfo == BOOLEAN
    input.Body.processOptions.ocrConfig.premiumFeatures.enableMathOcr == BOOLEAN
    input.Body.processOptions.ocrConfig.premiumFeatures.enableSelectionMarkDetection == BOOLEAN
    input.Body.processOptions.schemaOverride.description == STRING
    input.Body.processOptions.schemaOverride.displayName == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].baseTypes[_] == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].displayName == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].enumValues.values[_] == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].name == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].properties[_].displayName == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].properties[_].name == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].properties[_].occurrenceType == enum_GoogleCloudDocumentaiV1DocumentSchemaEntityTypePropertyOccurrenceType[_]
    input.Body.processOptions.schemaOverride.entityTypes[_].properties[_].valueType == STRING
    input.Body.processOptions.schemaOverride.metadata.documentAllowMultipleLabels == BOOLEAN
    input.Body.processOptions.schemaOverride.metadata.documentSplitter == BOOLEAN
    input.Body.processOptions.schemaOverride.metadata.prefixedNamingOnProperties == BOOLEAN
    input.Body.processOptions.schemaOverride.metadata.skipNamingValidation == BOOLEAN
    input.Body.skipHumanReview == BOOLEAN
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.create

valid {
    input.Body.createTime == STRING
    input.Body.defaultProcessorVersion == STRING
    input.Body.displayName == STRING
    input.Body.kmsKeyName == STRING
    input.Body.type == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.dataset.batchDeleteDocuments

enum_GoogleCloudDocumentaiV1beta3RevisionRefRevisionCase := [ "REVISION_CASE_UNSPECIFIED", "LATEST_HUMAN_REVIEW", "LATEST_TIMESTAMP", "BASE_OCR_REVISION" ]

valid {
    input.Body.datasetDocuments.filter == STRING
    input.Body.datasetDocuments.individualDocumentIds.documentIds[_].gcsManagedDocId.cwDocId == STRING
    input.Body.datasetDocuments.individualDocumentIds.documentIds[_].gcsManagedDocId.gcsUri == STRING
    input.Body.datasetDocuments.individualDocumentIds.documentIds[_].revisionRef.latestProcessorVersion == STRING
    input.Body.datasetDocuments.individualDocumentIds.documentIds[_].revisionRef.revisionCase == enum_GoogleCloudDocumentaiV1beta3RevisionRefRevisionCase[_]
    input.Body.datasetDocuments.individualDocumentIds.documentIds[_].revisionRef.revisionId == STRING
    input.Body.datasetDocuments.individualDocumentIds.documentIds[_].unmanagedDocId.docId == STRING
    input.ReqMap.dataset == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.dataset.getDatasetSchema

valid {
    input.ReqMap.name == STRING
    input.Qs.visibleFieldsOnly == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.dataset.getDocument

enum_DocumentId.revisionRef.revisionCaseParameter := [ "REVISION_CASE_UNSPECIFIED", "LATEST_HUMAN_REVIEW", "LATEST_TIMESTAMP", "BASE_OCR_REVISION" ]

valid {
    input.ReqMap.dataset == STRING
    input.Qs.documentId.gcsManagedDocId.cwDocId == STRING
    input.Qs.documentId.gcsManagedDocId.gcsUri == STRING
    input.Qs.documentId.revisionRef.latestProcessorVersion == STRING
    input.Qs.documentId.revisionRef.revisionCase == enum_DocumentId.revisionRef.revisionCaseParameter[_]
    input.Qs.documentId.revisionRef.revisionId == STRING
    input.Qs.documentId.unmanagedDocId.docId == STRING
    input.Qs.pageRange.end == INTEGER
    input.Qs.pageRange.start == INTEGER
    input.Qs.readMask == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.dataset.importDocuments

enum_GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigDatasetSplit := [ "DATASET_SPLIT_TYPE_UNSPECIFIED", "DATASET_SPLIT_TRAIN", "DATASET_SPLIT_TEST", "DATASET_SPLIT_UNASSIGNED" ]

valid {
    input.Body.batchDocumentsImportConfigs[_].autoSplitConfig.trainingSplitRatio == NUMBER
    input.Body.batchDocumentsImportConfigs[_].batchInputConfig.gcsDocuments.documents[_].gcsUri == STRING
    input.Body.batchDocumentsImportConfigs[_].batchInputConfig.gcsDocuments.documents[_].mimeType == STRING
    input.Body.batchDocumentsImportConfigs[_].batchInputConfig.gcsPrefix.gcsUriPrefix == STRING
    input.Body.batchDocumentsImportConfigs[_].datasetSplit == enum_GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigDatasetSplit[_]
    input.ReqMap.dataset == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.dataset.listDocuments

valid {
    input.Body.filter == STRING
    input.Body.pageSize == INTEGER
    input.Body.pageToken == STRING
    input.Body.returnTotalSize == BOOLEAN
    input.Body.skip == INTEGER
    input.ReqMap.dataset == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.dataset.updateDatasetSchema

enum_GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypePropertyOccurrenceType := [ "OCCURRENCE_TYPE_UNSPECIFIED", "OPTIONAL_ONCE", "OPTIONAL_MULTIPLE", "REQUIRED_ONCE", "REQUIRED_MULTIPLE" ]
enum_GoogleCloudDocumentaiV1beta3SummaryOptionsFormat := [ "FORMAT_UNSPECIFIED", "PARAGRAPH", "BULLETS" ]
enum_GoogleCloudDocumentaiV1beta3SummaryOptionsLength := [ "LENGTH_UNSPECIFIED", "BRIEF", "MODERATE", "COMPREHENSIVE" ]

valid {
    input.Body.documentSchema.description == STRING
    input.Body.documentSchema.displayName == STRING
    input.Body.documentSchema.entityTypes[_].baseTypes[_] == STRING
    input.Body.documentSchema.entityTypes[_].displayName == STRING
    input.Body.documentSchema.entityTypes[_].entityTypeMetadata.inactive == BOOLEAN
    input.Body.documentSchema.entityTypes[_].enumValues.values[_] == STRING
    input.Body.documentSchema.entityTypes[_].name == STRING
    input.Body.documentSchema.entityTypes[_].properties[_].displayName == STRING
    input.Body.documentSchema.entityTypes[_].properties[_].name == STRING
    input.Body.documentSchema.entityTypes[_].properties[_].occurrenceType == enum_GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypePropertyOccurrenceType[_]
    input.Body.documentSchema.entityTypes[_].properties[_].propertyMetadata.fieldExtractionMetadata.summaryOptions.format == enum_GoogleCloudDocumentaiV1beta3SummaryOptionsFormat[_]
    input.Body.documentSchema.entityTypes[_].properties[_].propertyMetadata.fieldExtractionMetadata.summaryOptions.length == enum_GoogleCloudDocumentaiV1beta3SummaryOptionsLength[_]
    input.Body.documentSchema.entityTypes[_].properties[_].propertyMetadata.inactive == BOOLEAN
    input.Body.documentSchema.entityTypes[_].properties[_].valueType == STRING
    input.Body.documentSchema.metadata.documentAllowMultipleLabels == BOOLEAN
    input.Body.documentSchema.metadata.documentSplitter == BOOLEAN
    input.Body.documentSchema.metadata.prefixedNamingOnProperties == BOOLEAN
    input.Body.documentSchema.metadata.skipNamingValidation == BOOLEAN
    input.Body.name == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.delete

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.disable

valid {
    input.Body.STRING == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.enable

valid {
    input.Body.STRING == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.humanReviewConfig.reviewDocument

enum_GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType := [ "LAYOUT_TYPE_UNSPECIFIED", "BLOCK", "PARAGRAPH", "LINE", "TOKEN", "VISUAL_ELEMENT", "TABLE", "FORM_FIELD" ]
enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation := [ "ORIENTATION_UNSPECIFIED", "PAGE_UP", "PAGE_RIGHT", "PAGE_DOWN", "PAGE_LEFT" ]
enum_GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType := [ "TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN" ]
enum_GoogleCloudDocumentaiV1DocumentProvenanceType := [ "OPERATION_TYPE_UNSPECIFIED", "ADD", "REMOVE", "UPDATE", "REPLACE", "EVAL_REQUESTED", "EVAL_APPROVED", "EVAL_SKIPPED" ]
enum_GoogleCloudDocumentaiV1DocumentSchemaEntityTypePropertyOccurrenceType := [ "OCCURRENCE_TYPE_UNSPECIFIED", "OPTIONAL_ONCE", "OPTIONAL_MULTIPLE", "REQUIRED_ONCE", "REQUIRED_MULTIPLE" ]
enum_GoogleCloudDocumentaiV1ReviewDocumentRequestPriority := [ "DEFAULT", "URGENT" ]

valid {
    input.Body.documentSchema.description == STRING
    input.Body.documentSchema.displayName == STRING
    input.Body.documentSchema.entityTypes[_].baseTypes[_] == STRING
    input.Body.documentSchema.entityTypes[_].displayName == STRING
    input.Body.documentSchema.entityTypes[_].enumValues.values[_] == STRING
    input.Body.documentSchema.entityTypes[_].name == STRING
    input.Body.documentSchema.entityTypes[_].properties[_].displayName == STRING
    input.Body.documentSchema.entityTypes[_].properties[_].name == STRING
    input.Body.documentSchema.entityTypes[_].properties[_].occurrenceType == enum_GoogleCloudDocumentaiV1DocumentSchemaEntityTypePropertyOccurrenceType[_]
    input.Body.documentSchema.entityTypes[_].properties[_].valueType == STRING
    input.Body.documentSchema.metadata.documentAllowMultipleLabels == BOOLEAN
    input.Body.documentSchema.metadata.documentSplitter == BOOLEAN
    input.Body.documentSchema.metadata.prefixedNamingOnProperties == BOOLEAN
    input.Body.documentSchema.metadata.skipNamingValidation == BOOLEAN
    input.Body.enableSchemaValidation == BOOLEAN
    input.Body.inlineDocument.content == STRING
    input.Body.inlineDocument.entities[_].confidence == NUMBER
    input.Body.inlineDocument.entities[_].id == STRING
    input.Body.inlineDocument.entities[_].mentionId == STRING
    input.Body.inlineDocument.entities[_].mentionText == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.addressLines[_] == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.administrativeArea == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.languageCode == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.locality == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.organization == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.postalCode == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.recipients[_] == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.regionCode == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.revision == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.sortingCode == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.sublocality == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.booleanValue == BOOLEAN
    input.Body.inlineDocument.entities[_].normalizedValue.dateValue.day == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.dateValue.month == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.dateValue.year == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.day == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.hours == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.minutes == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.month == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.nanos == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.seconds == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.timeZone.id == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.timeZone.version == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.utcOffset == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.year == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.floatValue == NUMBER
    input.Body.inlineDocument.entities[_].normalizedValue.integerValue == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.moneyValue.currencyCode == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.moneyValue.nanos == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.moneyValue.units == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.text == STRING
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].confidence == NUMBER
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].layoutId == STRING
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].layoutType == enum_GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType[_]
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].page == STRING
    input.Body.inlineDocument.entities[_].properties[_] == NESTED
    input.Body.inlineDocument.entities[_].provenance.id == INTEGER
    input.Body.inlineDocument.entities[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.entities[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.entities[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.entities[_].provenance.revision == INTEGER
    input.Body.inlineDocument.entities[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.entities[_].redacted == BOOLEAN
    input.Body.inlineDocument.entities[_].textAnchor.content == STRING
    input.Body.inlineDocument.entities[_].textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.entities[_].textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.entities[_].type == STRING
    input.Body.inlineDocument.entityRelations[_].objectId == STRING
    input.Body.inlineDocument.entityRelations[_].relation == STRING
    input.Body.inlineDocument.entityRelations[_].subjectId == STRING
    input.Body.inlineDocument.error.code == INTEGER
    input.Body.inlineDocument.error.details[_].STRING == ANY
    input.Body.inlineDocument.error.message == STRING
    input.Body.inlineDocument.mimeType == STRING
    input.Body.inlineDocument.pages[_].blocks[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].blocks[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].blocks[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].blocks[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].blocks[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].blocks[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].blocks[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].blocks[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].blocks[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].blocks[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].barcode.format == STRING
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].barcode.rawValue == STRING
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].barcode.valueFormat == STRING
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].dimension.height == NUMBER
    input.Body.inlineDocument.pages[_].dimension.unit == STRING
    input.Body.inlineDocument.pages[_].dimension.width == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].correctedKeyText == STRING
    input.Body.inlineDocument.pages[_].formFields[_].correctedValueText == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.confidence == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.confidence == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].formFields[_].nameDetectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].nameDetectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].formFields[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].formFields[_].valueDetectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].valueDetectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].formFields[_].valueType == STRING
    input.Body.inlineDocument.pages[_].image.content == STRING
    input.Body.inlineDocument.pages[_].image.height == INTEGER
    input.Body.inlineDocument.pages[_].image.mimeType == STRING
    input.Body.inlineDocument.pages[_].image.width == INTEGER
    input.Body.inlineDocument.pages[_].imageQualityScores.detectedDefects[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].imageQualityScores.detectedDefects[_].type == STRING
    input.Body.inlineDocument.pages[_].imageQualityScores.qualityScore == NUMBER
    input.Body.inlineDocument.pages[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].lines[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].lines[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].lines[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].lines[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].lines[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].lines[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].lines[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].lines[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].lines[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].lines[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].pageNumber == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].paragraphs[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].symbols[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].symbols[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].symbols[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].symbols[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].symbols[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].symbols[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].symbols[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].symbols[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].symbols[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].symbols[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].symbols[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].colSpan == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].rowSpan == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].colSpan == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].rowSpan == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].tables[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].tables[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].tokens[_].detectedBreak.type == enum_GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType[_]
    input.Body.inlineDocument.pages[_].tokens[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].tokens[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].tokens[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].tokens[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].tokens[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].tokens[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.backgroundColor.alpha == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.backgroundColor.blue == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.backgroundColor.green == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.backgroundColor.red == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.bold == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.fontSize == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.fontType == STRING
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.fontWeight == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.handwritten == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.italic == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.letterSpacing == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.pixelFontSize == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.smallcaps == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.strikeout == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.subscript == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.superscript == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.textColor.alpha == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.textColor.blue == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.textColor.green == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.textColor.red == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.underlined == BOOLEAN
    input.Body.inlineDocument.pages[_].transforms[_].cols == INTEGER
    input.Body.inlineDocument.pages[_].transforms[_].data == STRING
    input.Body.inlineDocument.pages[_].transforms[_].rows == INTEGER
    input.Body.inlineDocument.pages[_].transforms[_].type == INTEGER
    input.Body.inlineDocument.pages[_].visualElements[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].visualElements[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].visualElements[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].visualElements[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].visualElements[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].visualElements[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].visualElements[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].visualElements[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].visualElements[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].visualElements[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].visualElements[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].visualElements[_].type == STRING
    input.Body.inlineDocument.revisions[_].agent == STRING
    input.Body.inlineDocument.revisions[_].createTime == STRING
    input.Body.inlineDocument.revisions[_].humanReview.state == STRING
    input.Body.inlineDocument.revisions[_].humanReview.stateMessage == STRING
    input.Body.inlineDocument.revisions[_].id == STRING
    input.Body.inlineDocument.revisions[_].parent[_] == INTEGER
    input.Body.inlineDocument.revisions[_].parentIds[_] == STRING
    input.Body.inlineDocument.revisions[_].processor == STRING
    input.Body.inlineDocument.shardInfo.shardCount == STRING
    input.Body.inlineDocument.shardInfo.shardIndex == STRING
    input.Body.inlineDocument.shardInfo.textOffset == STRING
    input.Body.inlineDocument.text == STRING
    input.Body.inlineDocument.textChanges[_].changedText == STRING
    input.Body.inlineDocument.textChanges[_].provenance[_].id == INTEGER
    input.Body.inlineDocument.textChanges[_].provenance[_].parents[_].id == INTEGER
    input.Body.inlineDocument.textChanges[_].provenance[_].parents[_].index == INTEGER
    input.Body.inlineDocument.textChanges[_].provenance[_].parents[_].revision == INTEGER
    input.Body.inlineDocument.textChanges[_].provenance[_].revision == INTEGER
    input.Body.inlineDocument.textChanges[_].provenance[_].type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.textChanges[_].textAnchor.content == STRING
    input.Body.inlineDocument.textChanges[_].textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.textChanges[_].textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.textStyles[_].backgroundColor.alpha == NUMBER
    input.Body.inlineDocument.textStyles[_].backgroundColor.blue == NUMBER
    input.Body.inlineDocument.textStyles[_].backgroundColor.green == NUMBER
    input.Body.inlineDocument.textStyles[_].backgroundColor.red == NUMBER
    input.Body.inlineDocument.textStyles[_].color.alpha == NUMBER
    input.Body.inlineDocument.textStyles[_].color.blue == NUMBER
    input.Body.inlineDocument.textStyles[_].color.green == NUMBER
    input.Body.inlineDocument.textStyles[_].color.red == NUMBER
    input.Body.inlineDocument.textStyles[_].fontFamily == STRING
    input.Body.inlineDocument.textStyles[_].fontSize.size == NUMBER
    input.Body.inlineDocument.textStyles[_].fontSize.unit == STRING
    input.Body.inlineDocument.textStyles[_].fontWeight == STRING
    input.Body.inlineDocument.textStyles[_].textAnchor.content == STRING
    input.Body.inlineDocument.textStyles[_].textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.textStyles[_].textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.textStyles[_].textDecoration == STRING
    input.Body.inlineDocument.textStyles[_].textStyle == STRING
    input.Body.inlineDocument.uri == STRING
    input.Body.priority == enum_GoogleCloudDocumentaiV1ReviewDocumentRequestPriority[_]
    input.ReqMap.humanReviewConfig == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.process

enum_GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType := [ "LAYOUT_TYPE_UNSPECIFIED", "BLOCK", "PARAGRAPH", "LINE", "TOKEN", "VISUAL_ELEMENT", "TABLE", "FORM_FIELD" ]
enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation := [ "ORIENTATION_UNSPECIFIED", "PAGE_UP", "PAGE_RIGHT", "PAGE_DOWN", "PAGE_LEFT" ]
enum_GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType := [ "TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN" ]
enum_GoogleCloudDocumentaiV1DocumentProvenanceType := [ "OPERATION_TYPE_UNSPECIFIED", "ADD", "REMOVE", "UPDATE", "REPLACE", "EVAL_REQUESTED", "EVAL_APPROVED", "EVAL_SKIPPED" ]
enum_GoogleCloudDocumentaiV1DocumentSchemaEntityTypePropertyOccurrenceType := [ "OCCURRENCE_TYPE_UNSPECIFIED", "OPTIONAL_ONCE", "OPTIONAL_MULTIPLE", "REQUIRED_ONCE", "REQUIRED_MULTIPLE" ]

valid {
    input.Body.fieldMask == STRING
    input.Body.gcsDocument.gcsUri == STRING
    input.Body.gcsDocument.mimeType == STRING
    input.Body.inlineDocument.content == STRING
    input.Body.inlineDocument.entities[_].confidence == NUMBER
    input.Body.inlineDocument.entities[_].id == STRING
    input.Body.inlineDocument.entities[_].mentionId == STRING
    input.Body.inlineDocument.entities[_].mentionText == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.addressLines[_] == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.administrativeArea == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.languageCode == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.locality == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.organization == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.postalCode == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.recipients[_] == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.regionCode == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.revision == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.sortingCode == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.sublocality == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.booleanValue == BOOLEAN
    input.Body.inlineDocument.entities[_].normalizedValue.dateValue.day == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.dateValue.month == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.dateValue.year == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.day == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.hours == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.minutes == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.month == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.nanos == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.seconds == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.timeZone.id == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.timeZone.version == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.utcOffset == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.year == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.floatValue == NUMBER
    input.Body.inlineDocument.entities[_].normalizedValue.integerValue == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.moneyValue.currencyCode == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.moneyValue.nanos == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.moneyValue.units == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.text == STRING
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].confidence == NUMBER
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].layoutId == STRING
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].layoutType == enum_GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType[_]
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].page == STRING
    input.Body.inlineDocument.entities[_].properties[_] == NESTED
    input.Body.inlineDocument.entities[_].provenance.id == INTEGER
    input.Body.inlineDocument.entities[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.entities[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.entities[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.entities[_].provenance.revision == INTEGER
    input.Body.inlineDocument.entities[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.entities[_].redacted == BOOLEAN
    input.Body.inlineDocument.entities[_].textAnchor.content == STRING
    input.Body.inlineDocument.entities[_].textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.entities[_].textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.entities[_].type == STRING
    input.Body.inlineDocument.entityRelations[_].objectId == STRING
    input.Body.inlineDocument.entityRelations[_].relation == STRING
    input.Body.inlineDocument.entityRelations[_].subjectId == STRING
    input.Body.inlineDocument.error.code == INTEGER
    input.Body.inlineDocument.error.details[_].STRING == ANY
    input.Body.inlineDocument.error.message == STRING
    input.Body.inlineDocument.mimeType == STRING
    input.Body.inlineDocument.pages[_].blocks[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].blocks[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].blocks[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].blocks[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].blocks[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].blocks[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].blocks[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].blocks[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].blocks[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].blocks[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].barcode.format == STRING
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].barcode.rawValue == STRING
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].barcode.valueFormat == STRING
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].dimension.height == NUMBER
    input.Body.inlineDocument.pages[_].dimension.unit == STRING
    input.Body.inlineDocument.pages[_].dimension.width == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].correctedKeyText == STRING
    input.Body.inlineDocument.pages[_].formFields[_].correctedValueText == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.confidence == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.confidence == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].formFields[_].nameDetectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].nameDetectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].formFields[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].formFields[_].valueDetectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].valueDetectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].formFields[_].valueType == STRING
    input.Body.inlineDocument.pages[_].image.content == STRING
    input.Body.inlineDocument.pages[_].image.height == INTEGER
    input.Body.inlineDocument.pages[_].image.mimeType == STRING
    input.Body.inlineDocument.pages[_].image.width == INTEGER
    input.Body.inlineDocument.pages[_].imageQualityScores.detectedDefects[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].imageQualityScores.detectedDefects[_].type == STRING
    input.Body.inlineDocument.pages[_].imageQualityScores.qualityScore == NUMBER
    input.Body.inlineDocument.pages[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].lines[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].lines[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].lines[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].lines[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].lines[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].lines[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].lines[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].lines[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].lines[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].lines[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].pageNumber == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].paragraphs[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].symbols[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].symbols[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].symbols[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].symbols[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].symbols[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].symbols[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].symbols[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].symbols[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].symbols[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].symbols[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].symbols[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].colSpan == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].rowSpan == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].colSpan == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].rowSpan == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].tables[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].tables[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].tokens[_].detectedBreak.type == enum_GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType[_]
    input.Body.inlineDocument.pages[_].tokens[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].tokens[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].tokens[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].tokens[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].tokens[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].tokens[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.backgroundColor.alpha == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.backgroundColor.blue == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.backgroundColor.green == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.backgroundColor.red == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.bold == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.fontSize == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.fontType == STRING
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.fontWeight == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.handwritten == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.italic == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.letterSpacing == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.pixelFontSize == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.smallcaps == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.strikeout == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.subscript == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.superscript == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.textColor.alpha == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.textColor.blue == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.textColor.green == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.textColor.red == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.underlined == BOOLEAN
    input.Body.inlineDocument.pages[_].transforms[_].cols == INTEGER
    input.Body.inlineDocument.pages[_].transforms[_].data == STRING
    input.Body.inlineDocument.pages[_].transforms[_].rows == INTEGER
    input.Body.inlineDocument.pages[_].transforms[_].type == INTEGER
    input.Body.inlineDocument.pages[_].visualElements[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].visualElements[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].visualElements[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].visualElements[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].visualElements[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].visualElements[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].visualElements[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].visualElements[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].visualElements[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].visualElements[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].visualElements[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].visualElements[_].type == STRING
    input.Body.inlineDocument.revisions[_].agent == STRING
    input.Body.inlineDocument.revisions[_].createTime == STRING
    input.Body.inlineDocument.revisions[_].humanReview.state == STRING
    input.Body.inlineDocument.revisions[_].humanReview.stateMessage == STRING
    input.Body.inlineDocument.revisions[_].id == STRING
    input.Body.inlineDocument.revisions[_].parent[_] == INTEGER
    input.Body.inlineDocument.revisions[_].parentIds[_] == STRING
    input.Body.inlineDocument.revisions[_].processor == STRING
    input.Body.inlineDocument.shardInfo.shardCount == STRING
    input.Body.inlineDocument.shardInfo.shardIndex == STRING
    input.Body.inlineDocument.shardInfo.textOffset == STRING
    input.Body.inlineDocument.text == STRING
    input.Body.inlineDocument.textChanges[_].changedText == STRING
    input.Body.inlineDocument.textChanges[_].provenance[_].id == INTEGER
    input.Body.inlineDocument.textChanges[_].provenance[_].parents[_].id == INTEGER
    input.Body.inlineDocument.textChanges[_].provenance[_].parents[_].index == INTEGER
    input.Body.inlineDocument.textChanges[_].provenance[_].parents[_].revision == INTEGER
    input.Body.inlineDocument.textChanges[_].provenance[_].revision == INTEGER
    input.Body.inlineDocument.textChanges[_].provenance[_].type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.textChanges[_].textAnchor.content == STRING
    input.Body.inlineDocument.textChanges[_].textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.textChanges[_].textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.textStyles[_].backgroundColor.alpha == NUMBER
    input.Body.inlineDocument.textStyles[_].backgroundColor.blue == NUMBER
    input.Body.inlineDocument.textStyles[_].backgroundColor.green == NUMBER
    input.Body.inlineDocument.textStyles[_].backgroundColor.red == NUMBER
    input.Body.inlineDocument.textStyles[_].color.alpha == NUMBER
    input.Body.inlineDocument.textStyles[_].color.blue == NUMBER
    input.Body.inlineDocument.textStyles[_].color.green == NUMBER
    input.Body.inlineDocument.textStyles[_].color.red == NUMBER
    input.Body.inlineDocument.textStyles[_].fontFamily == STRING
    input.Body.inlineDocument.textStyles[_].fontSize.size == NUMBER
    input.Body.inlineDocument.textStyles[_].fontSize.unit == STRING
    input.Body.inlineDocument.textStyles[_].fontWeight == STRING
    input.Body.inlineDocument.textStyles[_].textAnchor.content == STRING
    input.Body.inlineDocument.textStyles[_].textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.textStyles[_].textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.textStyles[_].textDecoration == STRING
    input.Body.inlineDocument.textStyles[_].textStyle == STRING
    input.Body.inlineDocument.uri == STRING
    input.Body.labels.STRING == STRING
    input.Body.processOptions.fromEnd == INTEGER
    input.Body.processOptions.fromStart == INTEGER
    input.Body.processOptions.individualPageSelector.pages[_] == INTEGER
    input.Body.processOptions.ocrConfig.advancedOcrOptions[_] == STRING
    input.Body.processOptions.ocrConfig.computeStyleInfo == BOOLEAN
    input.Body.processOptions.ocrConfig.disableCharacterBoxesDetection == BOOLEAN
    input.Body.processOptions.ocrConfig.enableImageQualityScores == BOOLEAN
    input.Body.processOptions.ocrConfig.enableNativePdfParsing == BOOLEAN
    input.Body.processOptions.ocrConfig.enableSymbol == BOOLEAN
    input.Body.processOptions.ocrConfig.hints.languageHints[_] == STRING
    input.Body.processOptions.ocrConfig.premiumFeatures.computeStyleInfo == BOOLEAN
    input.Body.processOptions.ocrConfig.premiumFeatures.enableMathOcr == BOOLEAN
    input.Body.processOptions.ocrConfig.premiumFeatures.enableSelectionMarkDetection == BOOLEAN
    input.Body.processOptions.schemaOverride.description == STRING
    input.Body.processOptions.schemaOverride.displayName == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].baseTypes[_] == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].displayName == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].enumValues.values[_] == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].name == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].properties[_].displayName == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].properties[_].name == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].properties[_].occurrenceType == enum_GoogleCloudDocumentaiV1DocumentSchemaEntityTypePropertyOccurrenceType[_]
    input.Body.processOptions.schemaOverride.entityTypes[_].properties[_].valueType == STRING
    input.Body.processOptions.schemaOverride.metadata.documentAllowMultipleLabels == BOOLEAN
    input.Body.processOptions.schemaOverride.metadata.documentSplitter == BOOLEAN
    input.Body.processOptions.schemaOverride.metadata.prefixedNamingOnProperties == BOOLEAN
    input.Body.processOptions.schemaOverride.metadata.skipNamingValidation == BOOLEAN
    input.Body.rawDocument.content == STRING
    input.Body.rawDocument.displayName == STRING
    input.Body.rawDocument.mimeType == STRING
    input.Body.skipHumanReview == BOOLEAN
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.processorVersions.batchProcess

enum_GoogleCloudDocumentaiV1DocumentSchemaEntityTypePropertyOccurrenceType := [ "OCCURRENCE_TYPE_UNSPECIFIED", "OPTIONAL_ONCE", "OPTIONAL_MULTIPLE", "REQUIRED_ONCE", "REQUIRED_MULTIPLE" ]

valid {
    input.Body.documentOutputConfig.gcsOutputConfig.fieldMask == STRING
    input.Body.documentOutputConfig.gcsOutputConfig.gcsUri == STRING
    input.Body.documentOutputConfig.gcsOutputConfig.shardingConfig.pagesOverlap == INTEGER
    input.Body.documentOutputConfig.gcsOutputConfig.shardingConfig.pagesPerShard == INTEGER
    input.Body.inputDocuments.gcsDocuments.documents[_].gcsUri == STRING
    input.Body.inputDocuments.gcsDocuments.documents[_].mimeType == STRING
    input.Body.inputDocuments.gcsPrefix.gcsUriPrefix == STRING
    input.Body.labels.STRING == STRING
    input.Body.processOptions.fromEnd == INTEGER
    input.Body.processOptions.fromStart == INTEGER
    input.Body.processOptions.individualPageSelector.pages[_] == INTEGER
    input.Body.processOptions.ocrConfig.advancedOcrOptions[_] == STRING
    input.Body.processOptions.ocrConfig.computeStyleInfo == BOOLEAN
    input.Body.processOptions.ocrConfig.disableCharacterBoxesDetection == BOOLEAN
    input.Body.processOptions.ocrConfig.enableImageQualityScores == BOOLEAN
    input.Body.processOptions.ocrConfig.enableNativePdfParsing == BOOLEAN
    input.Body.processOptions.ocrConfig.enableSymbol == BOOLEAN
    input.Body.processOptions.ocrConfig.hints.languageHints[_] == STRING
    input.Body.processOptions.ocrConfig.premiumFeatures.computeStyleInfo == BOOLEAN
    input.Body.processOptions.ocrConfig.premiumFeatures.enableMathOcr == BOOLEAN
    input.Body.processOptions.ocrConfig.premiumFeatures.enableSelectionMarkDetection == BOOLEAN
    input.Body.processOptions.schemaOverride.description == STRING
    input.Body.processOptions.schemaOverride.displayName == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].baseTypes[_] == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].displayName == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].enumValues.values[_] == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].name == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].properties[_].displayName == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].properties[_].name == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].properties[_].occurrenceType == enum_GoogleCloudDocumentaiV1DocumentSchemaEntityTypePropertyOccurrenceType[_]
    input.Body.processOptions.schemaOverride.entityTypes[_].properties[_].valueType == STRING
    input.Body.processOptions.schemaOverride.metadata.documentAllowMultipleLabels == BOOLEAN
    input.Body.processOptions.schemaOverride.metadata.documentSplitter == BOOLEAN
    input.Body.processOptions.schemaOverride.metadata.prefixedNamingOnProperties == BOOLEAN
    input.Body.processOptions.schemaOverride.metadata.skipNamingValidation == BOOLEAN
    input.Body.skipHumanReview == BOOLEAN
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.processorVersions.delete

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.processorVersions.deploy

valid {
    input.Body.STRING == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.processorVersions.evaluateProcessorVersion

valid {
    input.Body.evaluationDocuments.gcsDocuments.documents[_].gcsUri == STRING
    input.Body.evaluationDocuments.gcsDocuments.documents[_].mimeType == STRING
    input.Body.evaluationDocuments.gcsPrefix.gcsUriPrefix == STRING
    input.ReqMap.processorVersion == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.processorVersions.evaluations.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.processorVersions.evaluations.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.processorVersions.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.processorVersions.importProcessorVersion

valid {
    input.Body.externalProcessorVersionSource.processorVersion == STRING
    input.Body.externalProcessorVersionSource.serviceEndpoint == STRING
    input.Body.processorVersionSource == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.processorVersions.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.processorVersions.process

enum_GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType := [ "LAYOUT_TYPE_UNSPECIFIED", "BLOCK", "PARAGRAPH", "LINE", "TOKEN", "VISUAL_ELEMENT", "TABLE", "FORM_FIELD" ]
enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation := [ "ORIENTATION_UNSPECIFIED", "PAGE_UP", "PAGE_RIGHT", "PAGE_DOWN", "PAGE_LEFT" ]
enum_GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType := [ "TYPE_UNSPECIFIED", "SPACE", "WIDE_SPACE", "HYPHEN" ]
enum_GoogleCloudDocumentaiV1DocumentProvenanceType := [ "OPERATION_TYPE_UNSPECIFIED", "ADD", "REMOVE", "UPDATE", "REPLACE", "EVAL_REQUESTED", "EVAL_APPROVED", "EVAL_SKIPPED" ]
enum_GoogleCloudDocumentaiV1DocumentSchemaEntityTypePropertyOccurrenceType := [ "OCCURRENCE_TYPE_UNSPECIFIED", "OPTIONAL_ONCE", "OPTIONAL_MULTIPLE", "REQUIRED_ONCE", "REQUIRED_MULTIPLE" ]

valid {
    input.Body.fieldMask == STRING
    input.Body.gcsDocument.gcsUri == STRING
    input.Body.gcsDocument.mimeType == STRING
    input.Body.inlineDocument.content == STRING
    input.Body.inlineDocument.entities[_].confidence == NUMBER
    input.Body.inlineDocument.entities[_].id == STRING
    input.Body.inlineDocument.entities[_].mentionId == STRING
    input.Body.inlineDocument.entities[_].mentionText == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.addressLines[_] == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.administrativeArea == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.languageCode == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.locality == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.organization == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.postalCode == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.recipients[_] == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.regionCode == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.revision == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.sortingCode == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.addressValue.sublocality == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.booleanValue == BOOLEAN
    input.Body.inlineDocument.entities[_].normalizedValue.dateValue.day == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.dateValue.month == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.dateValue.year == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.day == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.hours == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.minutes == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.month == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.nanos == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.seconds == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.timeZone.id == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.timeZone.version == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.utcOffset == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.datetimeValue.year == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.floatValue == NUMBER
    input.Body.inlineDocument.entities[_].normalizedValue.integerValue == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.moneyValue.currencyCode == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.moneyValue.nanos == INTEGER
    input.Body.inlineDocument.entities[_].normalizedValue.moneyValue.units == STRING
    input.Body.inlineDocument.entities[_].normalizedValue.text == STRING
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].confidence == NUMBER
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].layoutId == STRING
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].layoutType == enum_GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType[_]
    input.Body.inlineDocument.entities[_].pageAnchor.pageRefs[_].page == STRING
    input.Body.inlineDocument.entities[_].properties[_] == NESTED
    input.Body.inlineDocument.entities[_].provenance.id == INTEGER
    input.Body.inlineDocument.entities[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.entities[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.entities[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.entities[_].provenance.revision == INTEGER
    input.Body.inlineDocument.entities[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.entities[_].redacted == BOOLEAN
    input.Body.inlineDocument.entities[_].textAnchor.content == STRING
    input.Body.inlineDocument.entities[_].textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.entities[_].textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.entities[_].type == STRING
    input.Body.inlineDocument.entityRelations[_].objectId == STRING
    input.Body.inlineDocument.entityRelations[_].relation == STRING
    input.Body.inlineDocument.entityRelations[_].subjectId == STRING
    input.Body.inlineDocument.error.code == INTEGER
    input.Body.inlineDocument.error.details[_].STRING == ANY
    input.Body.inlineDocument.error.message == STRING
    input.Body.inlineDocument.mimeType == STRING
    input.Body.inlineDocument.pages[_].blocks[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].blocks[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].blocks[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].blocks[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].blocks[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].blocks[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].blocks[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].blocks[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].blocks[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].blocks[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].blocks[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].barcode.format == STRING
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].barcode.rawValue == STRING
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].barcode.valueFormat == STRING
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].detectedBarcodes[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].dimension.height == NUMBER
    input.Body.inlineDocument.pages[_].dimension.unit == STRING
    input.Body.inlineDocument.pages[_].dimension.width == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].correctedKeyText == STRING
    input.Body.inlineDocument.pages[_].formFields[_].correctedValueText == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.confidence == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldName.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.confidence == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].formFields[_].fieldValue.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].formFields[_].nameDetectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].nameDetectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].formFields[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].formFields[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].formFields[_].valueDetectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].formFields[_].valueDetectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].formFields[_].valueType == STRING
    input.Body.inlineDocument.pages[_].image.content == STRING
    input.Body.inlineDocument.pages[_].image.height == INTEGER
    input.Body.inlineDocument.pages[_].image.mimeType == STRING
    input.Body.inlineDocument.pages[_].image.width == INTEGER
    input.Body.inlineDocument.pages[_].imageQualityScores.detectedDefects[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].imageQualityScores.detectedDefects[_].type == STRING
    input.Body.inlineDocument.pages[_].imageQualityScores.qualityScore == NUMBER
    input.Body.inlineDocument.pages[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].lines[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].lines[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].lines[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].lines[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].lines[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].lines[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].lines[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].lines[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].lines[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].lines[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].lines[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].pageNumber == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].paragraphs[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].paragraphs[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].paragraphs[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].symbols[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].symbols[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].symbols[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].symbols[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].symbols[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].symbols[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].symbols[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].symbols[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].symbols[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].symbols[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].symbols[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].colSpan == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].bodyRows[_].cells[_].rowSpan == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].colSpan == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].headerRows[_].cells[_].rowSpan == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].tables[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].tables[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].tables[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].tables[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].tables[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].tokens[_].detectedBreak.type == enum_GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType[_]
    input.Body.inlineDocument.pages[_].tokens[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].tokens[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].tokens[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].tokens[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].tokens[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].tokens[_].provenance.id == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].provenance.parents[_].id == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].provenance.parents[_].index == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].provenance.parents[_].revision == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].provenance.revision == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].provenance.type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.backgroundColor.alpha == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.backgroundColor.blue == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.backgroundColor.green == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.backgroundColor.red == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.bold == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.fontSize == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.fontType == STRING
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.fontWeight == INTEGER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.handwritten == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.italic == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.letterSpacing == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.pixelFontSize == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.smallcaps == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.strikeout == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.subscript == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.superscript == BOOLEAN
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.textColor.alpha == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.textColor.blue == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.textColor.green == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.textColor.red == NUMBER
    input.Body.inlineDocument.pages[_].tokens[_].styleInfo.underlined == BOOLEAN
    input.Body.inlineDocument.pages[_].transforms[_].cols == INTEGER
    input.Body.inlineDocument.pages[_].transforms[_].data == STRING
    input.Body.inlineDocument.pages[_].transforms[_].rows == INTEGER
    input.Body.inlineDocument.pages[_].transforms[_].type == INTEGER
    input.Body.inlineDocument.pages[_].visualElements[_].detectedLanguages[_].confidence == NUMBER
    input.Body.inlineDocument.pages[_].visualElements[_].detectedLanguages[_].languageCode == STRING
    input.Body.inlineDocument.pages[_].visualElements[_].layout.boundingPoly.normalizedVertices[_].x == NUMBER
    input.Body.inlineDocument.pages[_].visualElements[_].layout.boundingPoly.normalizedVertices[_].y == NUMBER
    input.Body.inlineDocument.pages[_].visualElements[_].layout.boundingPoly.vertices[_].x == INTEGER
    input.Body.inlineDocument.pages[_].visualElements[_].layout.boundingPoly.vertices[_].y == INTEGER
    input.Body.inlineDocument.pages[_].visualElements[_].layout.confidence == NUMBER
    input.Body.inlineDocument.pages[_].visualElements[_].layout.orientation == enum_GoogleCloudDocumentaiV1DocumentPageLayoutOrientation[_]
    input.Body.inlineDocument.pages[_].visualElements[_].layout.textAnchor.content == STRING
    input.Body.inlineDocument.pages[_].visualElements[_].layout.textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.pages[_].visualElements[_].layout.textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.pages[_].visualElements[_].type == STRING
    input.Body.inlineDocument.revisions[_].agent == STRING
    input.Body.inlineDocument.revisions[_].createTime == STRING
    input.Body.inlineDocument.revisions[_].humanReview.state == STRING
    input.Body.inlineDocument.revisions[_].humanReview.stateMessage == STRING
    input.Body.inlineDocument.revisions[_].id == STRING
    input.Body.inlineDocument.revisions[_].parent[_] == INTEGER
    input.Body.inlineDocument.revisions[_].parentIds[_] == STRING
    input.Body.inlineDocument.revisions[_].processor == STRING
    input.Body.inlineDocument.shardInfo.shardCount == STRING
    input.Body.inlineDocument.shardInfo.shardIndex == STRING
    input.Body.inlineDocument.shardInfo.textOffset == STRING
    input.Body.inlineDocument.text == STRING
    input.Body.inlineDocument.textChanges[_].changedText == STRING
    input.Body.inlineDocument.textChanges[_].provenance[_].id == INTEGER
    input.Body.inlineDocument.textChanges[_].provenance[_].parents[_].id == INTEGER
    input.Body.inlineDocument.textChanges[_].provenance[_].parents[_].index == INTEGER
    input.Body.inlineDocument.textChanges[_].provenance[_].parents[_].revision == INTEGER
    input.Body.inlineDocument.textChanges[_].provenance[_].revision == INTEGER
    input.Body.inlineDocument.textChanges[_].provenance[_].type == enum_GoogleCloudDocumentaiV1DocumentProvenanceType[_]
    input.Body.inlineDocument.textChanges[_].textAnchor.content == STRING
    input.Body.inlineDocument.textChanges[_].textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.textChanges[_].textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.textStyles[_].backgroundColor.alpha == NUMBER
    input.Body.inlineDocument.textStyles[_].backgroundColor.blue == NUMBER
    input.Body.inlineDocument.textStyles[_].backgroundColor.green == NUMBER
    input.Body.inlineDocument.textStyles[_].backgroundColor.red == NUMBER
    input.Body.inlineDocument.textStyles[_].color.alpha == NUMBER
    input.Body.inlineDocument.textStyles[_].color.blue == NUMBER
    input.Body.inlineDocument.textStyles[_].color.green == NUMBER
    input.Body.inlineDocument.textStyles[_].color.red == NUMBER
    input.Body.inlineDocument.textStyles[_].fontFamily == STRING
    input.Body.inlineDocument.textStyles[_].fontSize.size == NUMBER
    input.Body.inlineDocument.textStyles[_].fontSize.unit == STRING
    input.Body.inlineDocument.textStyles[_].fontWeight == STRING
    input.Body.inlineDocument.textStyles[_].textAnchor.content == STRING
    input.Body.inlineDocument.textStyles[_].textAnchor.textSegments[_].endIndex == STRING
    input.Body.inlineDocument.textStyles[_].textAnchor.textSegments[_].startIndex == STRING
    input.Body.inlineDocument.textStyles[_].textDecoration == STRING
    input.Body.inlineDocument.textStyles[_].textStyle == STRING
    input.Body.inlineDocument.uri == STRING
    input.Body.labels.STRING == STRING
    input.Body.processOptions.fromEnd == INTEGER
    input.Body.processOptions.fromStart == INTEGER
    input.Body.processOptions.individualPageSelector.pages[_] == INTEGER
    input.Body.processOptions.ocrConfig.advancedOcrOptions[_] == STRING
    input.Body.processOptions.ocrConfig.computeStyleInfo == BOOLEAN
    input.Body.processOptions.ocrConfig.disableCharacterBoxesDetection == BOOLEAN
    input.Body.processOptions.ocrConfig.enableImageQualityScores == BOOLEAN
    input.Body.processOptions.ocrConfig.enableNativePdfParsing == BOOLEAN
    input.Body.processOptions.ocrConfig.enableSymbol == BOOLEAN
    input.Body.processOptions.ocrConfig.hints.languageHints[_] == STRING
    input.Body.processOptions.ocrConfig.premiumFeatures.computeStyleInfo == BOOLEAN
    input.Body.processOptions.ocrConfig.premiumFeatures.enableMathOcr == BOOLEAN
    input.Body.processOptions.ocrConfig.premiumFeatures.enableSelectionMarkDetection == BOOLEAN
    input.Body.processOptions.schemaOverride.description == STRING
    input.Body.processOptions.schemaOverride.displayName == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].baseTypes[_] == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].displayName == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].enumValues.values[_] == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].name == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].properties[_].displayName == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].properties[_].name == STRING
    input.Body.processOptions.schemaOverride.entityTypes[_].properties[_].occurrenceType == enum_GoogleCloudDocumentaiV1DocumentSchemaEntityTypePropertyOccurrenceType[_]
    input.Body.processOptions.schemaOverride.entityTypes[_].properties[_].valueType == STRING
    input.Body.processOptions.schemaOverride.metadata.documentAllowMultipleLabels == BOOLEAN
    input.Body.processOptions.schemaOverride.metadata.documentSplitter == BOOLEAN
    input.Body.processOptions.schemaOverride.metadata.prefixedNamingOnProperties == BOOLEAN
    input.Body.processOptions.schemaOverride.metadata.skipNamingValidation == BOOLEAN
    input.Body.rawDocument.content == STRING
    input.Body.rawDocument.displayName == STRING
    input.Body.rawDocument.mimeType == STRING
    input.Body.skipHumanReview == BOOLEAN
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.processorVersions.train

enum_GoogleCloudDocumentaiV1DocumentSchemaEntityTypePropertyOccurrenceType := [ "OCCURRENCE_TYPE_UNSPECIFIED", "OPTIONAL_ONCE", "OPTIONAL_MULTIPLE", "REQUIRED_ONCE", "REQUIRED_MULTIPLE" ]
enum_GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptionsTrainingMethod := [ "TRAINING_METHOD_UNSPECIFIED", "MODEL_BASED", "TEMPLATE_BASED" ]

valid {
    input.Body.baseProcessorVersion == STRING
    input.Body.customDocumentExtractionOptions.trainingMethod == enum_GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptionsTrainingMethod[_]
    input.Body.documentSchema.description == STRING
    input.Body.documentSchema.displayName == STRING
    input.Body.documentSchema.entityTypes[_].baseTypes[_] == STRING
    input.Body.documentSchema.entityTypes[_].displayName == STRING
    input.Body.documentSchema.entityTypes[_].enumValues.values[_] == STRING
    input.Body.documentSchema.entityTypes[_].name == STRING
    input.Body.documentSchema.entityTypes[_].properties[_].displayName == STRING
    input.Body.documentSchema.entityTypes[_].properties[_].name == STRING
    input.Body.documentSchema.entityTypes[_].properties[_].occurrenceType == enum_GoogleCloudDocumentaiV1DocumentSchemaEntityTypePropertyOccurrenceType[_]
    input.Body.documentSchema.entityTypes[_].properties[_].valueType == STRING
    input.Body.documentSchema.metadata.documentAllowMultipleLabels == BOOLEAN
    input.Body.documentSchema.metadata.documentSplitter == BOOLEAN
    input.Body.documentSchema.metadata.prefixedNamingOnProperties == BOOLEAN
    input.Body.documentSchema.metadata.skipNamingValidation == BOOLEAN
    input.Body.foundationModelTuningOptions.learningRateMultiplier == NUMBER
    input.Body.foundationModelTuningOptions.trainSteps == INTEGER
    input.Body.inputData.testDocuments.gcsDocuments.documents[_].gcsUri == STRING
    input.Body.inputData.testDocuments.gcsDocuments.documents[_].mimeType == STRING
    input.Body.inputData.testDocuments.gcsPrefix.gcsUriPrefix == STRING
    input.Body.inputData.trainingDocuments.gcsDocuments.documents[_].gcsUri == STRING
    input.Body.inputData.trainingDocuments.gcsDocuments.documents[_].mimeType == STRING
    input.Body.inputData.trainingDocuments.gcsPrefix.gcsUriPrefix == STRING
    input.Body.processorVersion.createTime == STRING
    input.Body.processorVersion.deprecationInfo.deprecationTime == STRING
    input.Body.processorVersion.deprecationInfo.replacementProcessorVersion == STRING
    input.Body.processorVersion.displayName == STRING
    input.Body.processorVersion.documentSchema.description == STRING
    input.Body.processorVersion.documentSchema.displayName == STRING
    input.Body.processorVersion.documentSchema.entityTypes[_].baseTypes[_] == STRING
    input.Body.processorVersion.documentSchema.entityTypes[_].displayName == STRING
    input.Body.processorVersion.documentSchema.entityTypes[_].enumValues.values[_] == STRING
    input.Body.processorVersion.documentSchema.entityTypes[_].name == STRING
    input.Body.processorVersion.documentSchema.entityTypes[_].properties[_].displayName == STRING
    input.Body.processorVersion.documentSchema.entityTypes[_].properties[_].name == STRING
    input.Body.processorVersion.documentSchema.entityTypes[_].properties[_].occurrenceType == enum_GoogleCloudDocumentaiV1DocumentSchemaEntityTypePropertyOccurrenceType[_]
    input.Body.processorVersion.documentSchema.entityTypes[_].properties[_].valueType == STRING
    input.Body.processorVersion.documentSchema.metadata.documentAllowMultipleLabels == BOOLEAN
    input.Body.processorVersion.documentSchema.metadata.documentSplitter == BOOLEAN
    input.Body.processorVersion.documentSchema.metadata.prefixedNamingOnProperties == BOOLEAN
    input.Body.processorVersion.documentSchema.metadata.skipNamingValidation == BOOLEAN
    input.Body.processorVersion.kmsKeyName == STRING
    input.Body.processorVersion.kmsKeyVersionName == STRING
    input.Body.processorVersion.latestEvaluation.aggregateMetrics.f1Score == NUMBER
    input.Body.processorVersion.latestEvaluation.aggregateMetrics.falseNegativesCount == INTEGER
    input.Body.processorVersion.latestEvaluation.aggregateMetrics.falsePositivesCount == INTEGER
    input.Body.processorVersion.latestEvaluation.aggregateMetrics.groundTruthDocumentCount == INTEGER
    input.Body.processorVersion.latestEvaluation.aggregateMetrics.groundTruthOccurrencesCount == INTEGER
    input.Body.processorVersion.latestEvaluation.aggregateMetrics.precision == NUMBER
    input.Body.processorVersion.latestEvaluation.aggregateMetrics.predictedDocumentCount == INTEGER
    input.Body.processorVersion.latestEvaluation.aggregateMetrics.predictedOccurrencesCount == INTEGER
    input.Body.processorVersion.latestEvaluation.aggregateMetrics.recall == NUMBER
    input.Body.processorVersion.latestEvaluation.aggregateMetrics.totalDocumentsCount == INTEGER
    input.Body.processorVersion.latestEvaluation.aggregateMetrics.truePositivesCount == INTEGER
    input.Body.processorVersion.latestEvaluation.aggregateMetricsExact.f1Score == NUMBER
    input.Body.processorVersion.latestEvaluation.aggregateMetricsExact.falseNegativesCount == INTEGER
    input.Body.processorVersion.latestEvaluation.aggregateMetricsExact.falsePositivesCount == INTEGER
    input.Body.processorVersion.latestEvaluation.aggregateMetricsExact.groundTruthDocumentCount == INTEGER
    input.Body.processorVersion.latestEvaluation.aggregateMetricsExact.groundTruthOccurrencesCount == INTEGER
    input.Body.processorVersion.latestEvaluation.aggregateMetricsExact.precision == NUMBER
    input.Body.processorVersion.latestEvaluation.aggregateMetricsExact.predictedDocumentCount == INTEGER
    input.Body.processorVersion.latestEvaluation.aggregateMetricsExact.predictedOccurrencesCount == INTEGER
    input.Body.processorVersion.latestEvaluation.aggregateMetricsExact.recall == NUMBER
    input.Body.processorVersion.latestEvaluation.aggregateMetricsExact.totalDocumentsCount == INTEGER
    input.Body.processorVersion.latestEvaluation.aggregateMetricsExact.truePositivesCount == INTEGER
    input.Body.processorVersion.latestEvaluation.evaluation == STRING
    input.Body.processorVersion.latestEvaluation.operation == STRING
    input.Body.processorVersion.name == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.processorVersions.undeploy

valid {
    input.Body.STRING == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.setDefaultProcessorVersion

valid {
    input.Body.defaultProcessorVersion == STRING
    input.ReqMap.processor == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.locations.processors.updateDataset

enum_GoogleCloudDocumentaiV1beta3DatasetState := [ "STATE_UNSPECIFIED", "UNINITIALIZED", "INITIALIZING", "INITIALIZED" ]

valid {
    input.Body.documentWarehouseConfig == {}
    input.Body.gcsManagedConfig.gcsPrefix.gcsUriPrefix == STRING
    input.Body.name == STRING
    input.Body.spannerIndexingConfig.STRING == STRING
    input.Body.state == enum_GoogleCloudDocumentaiV1beta3DatasetState[_]
    input.Body.unmanagedDatasetConfig.STRING == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

documentai.projects.operations.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}