<@U04SE163WC8> the documentation on the Airbyte si...
# replication-ask-ai
m
@kapa.ai the documentation on the Airbyte site is out of date for the SFTP Bulk Connector (it hasn't been updated to the newest v1.0.0 spec). Is there any other documentation that shows an example of what we can enter into the "Input Schema" field? The help text shows this: "The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files."
k
The documentation for the SFTP Bulk Connector has indeed been updated to version 1.0.0, which includes a migration to the File-Based CDK. However, the specific example for the "Input Schema" field is not directly provided in the extracts you shared. To create a schema for your Airbyte stream, you can refer to the [Schema Reference](https://docs.airbyte.com/connector-development/schema-reference) documentation. Here is an example of a JSON schema that you can use as a template for the "Input Schema" field:
Copy code
json {    "$schema": "<http://json-schema.org/draft-07/schema#>",    "type": "object",    "additionalProperties": true,    "properties": {      "id": {        "type": ["null", "string"]      },      "date_created": {        "format": "date-time",        "type": ["null", "string"]      },      "date_updated": {        "format": "date-time",        "type": ["null", "string"]      },      "total": {        "type": ["null", "integer"]      },      "status": {        "type": ["string", "null"],        "enum": ["published", "draft"]      },      "example_obj": {        "type": ["null", "object"],        "additionalProperties": true,        "properties": {          "steps": {            "type": ["null", "string"]          },          "count_steps": {            "type": ["null", "integer"]          }        }      },      "example_string_array": {        "items": {          "type": ["null", "string"]        }      }    }   }
This schema includes various data types and structures, such as strings, integers, objects, and arrays. You can modify this template to fit the specific structure of the data you are working with. For more details on creating and using schemas in Airbyte, you can refer to the [Schema Reference documentation](https://docs.airbyte.com/connector-development/schema-reference). If you need further assistance or more specific examples, you might want to check the [Airbyte community](https://discuss.airbyte.io/) or reach out to Airbyte support.