{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.sentinel-hub.com/schemas/AsyncProcessS3BucketInfoTemplated",
  "title": "AsyncProcessS3BucketInfoTemplated",
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "description": "A URL or URL template specifying where the results shall be accessed. Supported formats: <ul>\n  <li>a valid Amazon S3 URL, e.g. `s3://my-personal-bucket/some-folder`.\n    A subdirectory will be created for this async process request, named after the request ID, and output files will be stored there.\n    This is equivalent to the template `s3://my-personal-bucket/some-folder/<REQUEST_ID>/<OUTPUT>`.\n  </li>\n  <li>a templated Amazon S3 URL, e.g. `s3://my-personal-bucket/some-folder/<OUTPUT>`.\n    Templating allows custom organization of the output files.\n    Templates can contain the following placeholders, which are replaced by respective actual values when writing results:\n    <ul>\n      <li> `<REQUEST_ID>` - the ID of your async process request,</li>\n      <li> `<OUTPUT>` - the output of the async request.</li>\n    </ul>\n    If the request is not templated `<REQUEST_ID>/<OUTPUT>` will be used as default.\n  </li>\n</ul>\n"
    },
    "iamRoleARN": {
      "type": "string",
      "description": "IAM role ARN, which allows programmatic access to the S3 bucket specified in the `url` field using the recommended assume IAM role flow."
    },
    "accessKey": {
      "type": "string",
      "description": "AWS access key, which allows programmatic access to the S3 bucket specified in the `url` field."
    },
    "secretAccessKey": {
      "type": "string",
      "description": "AWS secret access key which must correspond to the AWS access key."
    },
    "region": {
      "type": "string",
      "description": "The region where the S3 bucket is located. If omitted, the region of the Sentinel Hub deployment that the request is submitted to is assumed."
    }
  }
}