apiVersion: v3
kind: service
metadata:
  name: lambda-abacus-adjustments-json-validation
  description: |
    This lambda reads a json file from s3 bucket and validates the records. If the json file contains any validation errors, they are written to an error field in the same file. 
    re-compressed it. The file is then recompressed and uploaded back to the S3 bucket.
  owner: abacus
  tags:
    - application_family:accounting
    - public:false
    - terraformed:true
    - language:python
    - runtime:python3.13
    - database:duckdb
    - integration:eventbridge
    - integration:mysql
    - integration:s3
    - integration:step-functions
spec:
  type: function
  links:
    - url: https://pipeline.theorchard.io/job/lambda-abacus-pipeline/
      title: Jenkins Pipeline
      icon: jenkins
    - url: https://github.com/theorchard/lambda-abacus/tree/main/lambda/adjustments_json_validation/
      title: Source Code
      icon: github
