HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: /var/www/api.javaapp.co.uk_old/node_modules/aws-sdk/apis/textract-2018-06-27.min.json
{
  "version": "2.0",
  "metadata": {
    "apiVersion": "2018-06-27",
    "endpointPrefix": "textract",
    "jsonVersion": "1.1",
    "protocol": "json",
    "serviceFullName": "Amazon Textract",
    "serviceId": "Textract",
    "signatureVersion": "v4",
    "targetPrefix": "Textract",
    "uid": "textract-2018-06-27"
  },
  "operations": {
    "AnalyzeDocument": {
      "input": {
        "type": "structure",
        "required": [
          "Document",
          "FeatureTypes"
        ],
        "members": {
          "Document": {
            "shape": "S2"
          },
          "FeatureTypes": {
            "shape": "S8"
          },
          "HumanLoopConfig": {
            "type": "structure",
            "required": [
              "HumanLoopName",
              "FlowDefinitionArn"
            ],
            "members": {
              "HumanLoopName": {},
              "FlowDefinitionArn": {},
              "DataAttributes": {
                "type": "structure",
                "members": {
                  "ContentClassifiers": {
                    "type": "list",
                    "member": {}
                  }
                }
              }
            }
          },
          "QueriesConfig": {
            "shape": "Sg"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "DocumentMetadata": {
            "shape": "Sn"
          },
          "Blocks": {
            "shape": "Sp"
          },
          "HumanLoopActivationOutput": {
            "type": "structure",
            "members": {
              "HumanLoopArn": {},
              "HumanLoopActivationReasons": {
                "type": "list",
                "member": {}
              },
              "HumanLoopActivationConditionsEvaluationResults": {
                "jsonvalue": true
              }
            }
          },
          "AnalyzeDocumentModelVersion": {}
        }
      }
    },
    "AnalyzeExpense": {
      "input": {
        "type": "structure",
        "required": [
          "Document"
        ],
        "members": {
          "Document": {
            "shape": "S2"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "DocumentMetadata": {
            "shape": "Sn"
          },
          "ExpenseDocuments": {
            "shape": "S1f"
          }
        }
      }
    },
    "AnalyzeID": {
      "input": {
        "type": "structure",
        "required": [
          "DocumentPages"
        ],
        "members": {
          "DocumentPages": {
            "type": "list",
            "member": {
              "shape": "S2"
            }
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "IdentityDocuments": {
            "type": "list",
            "member": {
              "shape": "S1x"
            }
          },
          "DocumentMetadata": {
            "shape": "Sn"
          },
          "AnalyzeIDModelVersion": {}
        }
      }
    },
    "DetectDocumentText": {
      "input": {
        "type": "structure",
        "required": [
          "Document"
        ],
        "members": {
          "Document": {
            "shape": "S2"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "DocumentMetadata": {
            "shape": "Sn"
          },
          "Blocks": {
            "shape": "Sp"
          },
          "DetectDocumentTextModelVersion": {}
        }
      }
    },
    "GetDocumentAnalysis": {
      "input": {
        "type": "structure",
        "required": [
          "JobId"
        ],
        "members": {
          "JobId": {},
          "MaxResults": {
            "type": "integer"
          },
          "NextToken": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "DocumentMetadata": {
            "shape": "Sn"
          },
          "JobStatus": {},
          "NextToken": {},
          "Blocks": {
            "shape": "Sp"
          },
          "Warnings": {
            "shape": "S2b"
          },
          "StatusMessage": {},
          "AnalyzeDocumentModelVersion": {}
        }
      }
    },
    "GetDocumentTextDetection": {
      "input": {
        "type": "structure",
        "required": [
          "JobId"
        ],
        "members": {
          "JobId": {},
          "MaxResults": {
            "type": "integer"
          },
          "NextToken": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "DocumentMetadata": {
            "shape": "Sn"
          },
          "JobStatus": {},
          "NextToken": {},
          "Blocks": {
            "shape": "Sp"
          },
          "Warnings": {
            "shape": "S2b"
          },
          "StatusMessage": {},
          "DetectDocumentTextModelVersion": {}
        }
      }
    },
    "GetExpenseAnalysis": {
      "input": {
        "type": "structure",
        "required": [
          "JobId"
        ],
        "members": {
          "JobId": {},
          "MaxResults": {
            "type": "integer"
          },
          "NextToken": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "DocumentMetadata": {
            "shape": "Sn"
          },
          "JobStatus": {},
          "NextToken": {},
          "ExpenseDocuments": {
            "shape": "S1f"
          },
          "Warnings": {
            "shape": "S2b"
          },
          "StatusMessage": {},
          "AnalyzeExpenseModelVersion": {}
        }
      }
    },
    "GetLendingAnalysis": {
      "input": {
        "type": "structure",
        "required": [
          "JobId"
        ],
        "members": {
          "JobId": {},
          "MaxResults": {
            "type": "integer"
          },
          "NextToken": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "DocumentMetadata": {
            "shape": "Sn"
          },
          "JobStatus": {},
          "NextToken": {},
          "Results": {
            "type": "list",
            "member": {
              "type": "structure",
              "members": {
                "Page": {
                  "type": "integer"
                },
                "PageClassification": {
                  "type": "structure",
                  "required": [
                    "PageType",
                    "PageNumber"
                  ],
                  "members": {
                    "PageType": {
                      "shape": "S2p"
                    },
                    "PageNumber": {
                      "shape": "S2p"
                    }
                  }
                },
                "Extractions": {
                  "type": "list",
                  "member": {
                    "type": "structure",
                    "members": {
                      "LendingDocument": {
                        "type": "structure",
                        "members": {
                          "LendingFields": {
                            "type": "list",
                            "member": {
                              "type": "structure",
                              "members": {
                                "Type": {},
                                "KeyDetection": {
                                  "shape": "S2w"
                                },
                                "ValueDetections": {
                                  "type": "list",
                                  "member": {
                                    "shape": "S2w"
                                  }
                                }
                              }
                            }
                          },
                          "SignatureDetections": {
                            "type": "list",
                            "member": {
                              "type": "structure",
                              "members": {
                                "Confidence": {
                                  "type": "float"
                                },
                                "Geometry": {
                                  "shape": "Sv"
                                }
                              }
                            }
                          }
                        }
                      },
                      "ExpenseDocument": {
                        "shape": "S1g"
                      },
                      "IdentityDocument": {
                        "shape": "S1x"
                      }
                    }
                  }
                }
              }
            }
          },
          "Warnings": {
            "shape": "S2b"
          },
          "StatusMessage": {},
          "AnalyzeLendingModelVersion": {}
        }
      }
    },
    "GetLendingAnalysisSummary": {
      "input": {
        "type": "structure",
        "required": [
          "JobId"
        ],
        "members": {
          "JobId": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "DocumentMetadata": {
            "shape": "Sn"
          },
          "JobStatus": {},
          "Summary": {
            "type": "structure",
            "members": {
              "DocumentGroups": {
                "type": "list",
                "member": {
                  "type": "structure",
                  "members": {
                    "Type": {},
                    "SplitDocuments": {
                      "type": "list",
                      "member": {
                        "type": "structure",
                        "members": {
                          "Index": {
                            "type": "integer"
                          },
                          "Pages": {
                            "type": "list",
                            "member": {
                              "type": "integer"
                            }
                          }
                        }
                      }
                    },
                    "DetectedSignatures": {
                      "type": "list",
                      "member": {
                        "type": "structure",
                        "members": {
                          "Page": {
                            "type": "integer"
                          }
                        }
                      }
                    },
                    "UndetectedSignatures": {
                      "type": "list",
                      "member": {
                        "type": "structure",
                        "members": {
                          "Page": {
                            "type": "integer"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "UndetectedDocumentTypes": {
                "type": "list",
                "member": {}
              }
            }
          },
          "Warnings": {
            "shape": "S2b"
          },
          "StatusMessage": {},
          "AnalyzeLendingModelVersion": {}
        }
      }
    },
    "StartDocumentAnalysis": {
      "input": {
        "type": "structure",
        "required": [
          "DocumentLocation",
          "FeatureTypes"
        ],
        "members": {
          "DocumentLocation": {
            "shape": "S3e"
          },
          "FeatureTypes": {
            "shape": "S8"
          },
          "ClientRequestToken": {},
          "JobTag": {},
          "NotificationChannel": {
            "shape": "S3h"
          },
          "OutputConfig": {
            "shape": "S3k"
          },
          "KMSKeyId": {},
          "QueriesConfig": {
            "shape": "Sg"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "JobId": {}
        }
      }
    },
    "StartDocumentTextDetection": {
      "input": {
        "type": "structure",
        "required": [
          "DocumentLocation"
        ],
        "members": {
          "DocumentLocation": {
            "shape": "S3e"
          },
          "ClientRequestToken": {},
          "JobTag": {},
          "NotificationChannel": {
            "shape": "S3h"
          },
          "OutputConfig": {
            "shape": "S3k"
          },
          "KMSKeyId": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "JobId": {}
        }
      }
    },
    "StartExpenseAnalysis": {
      "input": {
        "type": "structure",
        "required": [
          "DocumentLocation"
        ],
        "members": {
          "DocumentLocation": {
            "shape": "S3e"
          },
          "ClientRequestToken": {},
          "JobTag": {},
          "NotificationChannel": {
            "shape": "S3h"
          },
          "OutputConfig": {
            "shape": "S3k"
          },
          "KMSKeyId": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "JobId": {}
        }
      }
    },
    "StartLendingAnalysis": {
      "input": {
        "type": "structure",
        "required": [
          "DocumentLocation"
        ],
        "members": {
          "DocumentLocation": {
            "shape": "S3e"
          },
          "ClientRequestToken": {},
          "JobTag": {},
          "NotificationChannel": {
            "shape": "S3h"
          },
          "OutputConfig": {
            "shape": "S3k"
          },
          "KMSKeyId": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "JobId": {}
        }
      }
    }
  },
  "shapes": {
    "S2": {
      "type": "structure",
      "members": {
        "Bytes": {
          "type": "blob"
        },
        "S3Object": {
          "shape": "S4"
        }
      }
    },
    "S4": {
      "type": "structure",
      "members": {
        "Bucket": {},
        "Name": {},
        "Version": {}
      }
    },
    "S8": {
      "type": "list",
      "member": {}
    },
    "Sg": {
      "type": "structure",
      "required": [
        "Queries"
      ],
      "members": {
        "Queries": {
          "type": "list",
          "member": {
            "shape": "Si"
          }
        }
      }
    },
    "Si": {
      "type": "structure",
      "required": [
        "Text"
      ],
      "members": {
        "Text": {},
        "Alias": {},
        "Pages": {
          "type": "list",
          "member": {}
        }
      }
    },
    "Sn": {
      "type": "structure",
      "members": {
        "Pages": {
          "type": "integer"
        }
      }
    },
    "Sp": {
      "type": "list",
      "member": {
        "type": "structure",
        "members": {
          "BlockType": {},
          "Confidence": {
            "type": "float"
          },
          "Text": {},
          "TextType": {},
          "RowIndex": {
            "type": "integer"
          },
          "ColumnIndex": {
            "type": "integer"
          },
          "RowSpan": {
            "type": "integer"
          },
          "ColumnSpan": {
            "type": "integer"
          },
          "Geometry": {
            "shape": "Sv"
          },
          "Id": {},
          "Relationships": {
            "type": "list",
            "member": {
              "type": "structure",
              "members": {
                "Type": {},
                "Ids": {
                  "type": "list",
                  "member": {}
                }
              }
            }
          },
          "EntityTypes": {
            "type": "list",
            "member": {}
          },
          "SelectionStatus": {},
          "Page": {
            "type": "integer"
          },
          "Query": {
            "shape": "Si"
          }
        }
      }
    },
    "Sv": {
      "type": "structure",
      "members": {
        "BoundingBox": {
          "type": "structure",
          "members": {
            "Width": {
              "type": "float"
            },
            "Height": {
              "type": "float"
            },
            "Left": {
              "type": "float"
            },
            "Top": {
              "type": "float"
            }
          }
        },
        "Polygon": {
          "type": "list",
          "member": {
            "type": "structure",
            "members": {
              "X": {
                "type": "float"
              },
              "Y": {
                "type": "float"
              }
            }
          }
        }
      }
    },
    "S1f": {
      "type": "list",
      "member": {
        "shape": "S1g"
      }
    },
    "S1g": {
      "type": "structure",
      "members": {
        "ExpenseIndex": {
          "type": "integer"
        },
        "SummaryFields": {
          "shape": "S1h"
        },
        "LineItemGroups": {
          "type": "list",
          "member": {
            "type": "structure",
            "members": {
              "LineItemGroupIndex": {
                "type": "integer"
              },
              "LineItems": {
                "type": "list",
                "member": {
                  "type": "structure",
                  "members": {
                    "LineItemExpenseFields": {
                      "shape": "S1h"
                    }
                  }
                }
              }
            }
          }
        },
        "Blocks": {
          "shape": "Sp"
        }
      }
    },
    "S1h": {
      "type": "list",
      "member": {
        "type": "structure",
        "members": {
          "Type": {
            "type": "structure",
            "members": {
              "Text": {},
              "Confidence": {
                "type": "float"
              }
            }
          },
          "LabelDetection": {
            "shape": "S1k"
          },
          "ValueDetection": {
            "shape": "S1k"
          },
          "PageNumber": {
            "type": "integer"
          },
          "Currency": {
            "type": "structure",
            "members": {
              "Code": {},
              "Confidence": {
                "type": "float"
              }
            }
          },
          "GroupProperties": {
            "type": "list",
            "member": {
              "type": "structure",
              "members": {
                "Types": {
                  "type": "list",
                  "member": {}
                },
                "Id": {}
              }
            }
          }
        }
      }
    },
    "S1k": {
      "type": "structure",
      "members": {
        "Text": {},
        "Geometry": {
          "shape": "Sv"
        },
        "Confidence": {
          "type": "float"
        }
      }
    },
    "S1x": {
      "type": "structure",
      "members": {
        "DocumentIndex": {
          "type": "integer"
        },
        "IdentityDocumentFields": {
          "type": "list",
          "member": {
            "type": "structure",
            "members": {
              "Type": {
                "shape": "S20"
              },
              "ValueDetection": {
                "shape": "S20"
              }
            }
          }
        },
        "Blocks": {
          "shape": "Sp"
        }
      }
    },
    "S20": {
      "type": "structure",
      "required": [
        "Text"
      ],
      "members": {
        "Text": {},
        "NormalizedValue": {
          "type": "structure",
          "members": {
            "Value": {},
            "ValueType": {}
          }
        },
        "Confidence": {
          "type": "float"
        }
      }
    },
    "S2b": {
      "type": "list",
      "member": {
        "type": "structure",
        "members": {
          "ErrorCode": {},
          "Pages": {
            "type": "list",
            "member": {
              "type": "integer"
            }
          }
        }
      }
    },
    "S2p": {
      "type": "list",
      "member": {
        "type": "structure",
        "members": {
          "Value": {},
          "Confidence": {
            "type": "float"
          }
        }
      }
    },
    "S2w": {
      "type": "structure",
      "members": {
        "Text": {},
        "SelectionStatus": {},
        "Geometry": {
          "shape": "Sv"
        },
        "Confidence": {
          "type": "float"
        }
      }
    },
    "S3e": {
      "type": "structure",
      "members": {
        "S3Object": {
          "shape": "S4"
        }
      }
    },
    "S3h": {
      "type": "structure",
      "required": [
        "SNSTopicArn",
        "RoleArn"
      ],
      "members": {
        "SNSTopicArn": {},
        "RoleArn": {}
      }
    },
    "S3k": {
      "type": "structure",
      "required": [
        "S3Bucket"
      ],
      "members": {
        "S3Bucket": {},
        "S3Prefix": {}
      }
    }
  }
}