Skip to content

Conversation

devin-ai-integration[bot]
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Mar 12, 2025

This PR adds:

  1. A utility script that converts JSON schema files to dbt sources.yml format

    • Converts JSON schema types to dbt column types
    • Preserves descriptions from JSON schema
    • Handles format-specific type conversions (e.g., date-time to timestamp)
    • Processes multiple schema files into a single sources.yml
  2. HubSpot schemas from the Airbyte repository

    • Added all schema files from airbyte-integrations/connectors/source-hubspot/source_hubspot/schemas/
    • Placed in catalog/hubspot/airbyte-source/schemas/

Link to Devin run: https://app.devin.ai/sessions/e0ac517169654f64a5e91f53fa622b7b
Requested by: Aaron

Copy link
Contributor Author

🤖 Devin AI Engineer

Original prompt from Aaron:

@Devin - Are there any tools that can auto-generate a dbt sources.yml file from a given json schema or set of json schemas?

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@devin-ai-integration devin-ai-integration bot changed the title Add JSON schema to dbt sources.yml converter script feat(scripts,catalog): Add JSON schema to dbt sources.yml converter script and HubSpot schemas Mar 12, 2025
@aaronsteers aaronsteers merged commit 3115510 into main Mar 12, 2025
9 checks passed
@aaronsteers aaronsteers deleted the devin/1741799885-add-json-schema-to-dbt-script branch March 12, 2025 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant