Andrew Box
05/30/2024, 9:42 PMkapa.ai
05/30/2024, 9:42 PMnamespace
field is not required in all messages. Specifically, in the AirbyteRecordMessage
, the namespace
field is optional. Here is the relevant schema definition for `AirbyteRecordMessage`: yaml AirbyteRecordMessage: type: object additionalProperties: true required: - stream - data - emitted_at properties: namespace: description: "namespace the data is associated with" type: string stream: description: "stream the data is associated with" type: string data: description: "record data" type: object existingJavaType: com.fasterxml.jackson.databind.JsonNode emitted_at: description: "when the data was emitted from the source. epoch in millisecond." type: integer
You can find more details about the AirbyteRecordMessage
and its fields [here](https://docs.airbyte.com/understanding-airbyte/airbyte-protocol#airbyterecordmessage). For the full schema definition for the YAML file used in low-code connector development, you can refer to the following links: - [Full schema definition for the YAML file](https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-cdk/python/airbyte_cdk/sources/declarative/declarative_component_schema.yaml) - [JSON schema representation of the relationships between components](https://docs.airbyte.com/assets/files/declarative_component_schema-8086fd17046cc931503fbecd504ee946.yaml) These resources should help you understand the schema and structure of the Airbyte Protocol and the role of the namespace
field.