Skip to content

Commit

Permalink
Updates to Schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
Jgerardopine committed Jan 21, 2024
1 parent 706c101 commit 5baa44d
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 152 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,63 +1,51 @@
{
"streams": [
{
"sync_mode": "full_refresh",
"stream": {
"name": "zenhub_issues",
"supported_sync_modes": [
"full_refresh"
],
"json_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"id": {
"type": ["null", "string"]
},
"ghId": {
"type": ["null", "integer"]
},
"title": {
"type": ["null", "string"]
},
"type": {
"type": ["null", "string"]
},
"body": {
"type": ["null", "string"]
},
"state": {
"type": ["null", "string"]
},
"createdAt": {
"type": ["null", "string"],
"format": "date-time",
"airbyte_type": "timestamp_with_timezone"
},
"updatedAt": {
"type": ["null", "string"],
"format": "date-time",
"airbyte_type": "timestamp_with_timezone"
},
"pipeline_id": {
"type": ["null", "string"]
},
"pipeline_name": {
"type": ["null", "string"]
},
"priority_id": {
"type": ["null", "string"]
},
"priority_name": {
"type": ["null", "string"]
}
}
}
},
"destination_sync_mode": "overwrite"
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": true,
"properties": {
"id": {
"type": ["null", "string"]
},
"ghId": {
"type": ["null", "integer"]
},
"title": {
"type": ["null", "string"]
},
"type": {
"type": ["null", "string"]
},
"body": {
"type": ["null", "string"]
},
"state": {
"type": ["null", "string"]
},
"createdAt": {
"type": ["null", "string"],
"format": "date-time",
"airbyte_type": "timestamp_with_timezone"
},
"updatedAt": {
"type": ["null", "string"],
"format": "date-time",
"airbyte_type": "timestamp_with_timezone"
},
"pipeline_id": {
"type": ["null", "string"]
},
"pipeline_name": {
"type": ["null", "string"]
},
"priority_id": {
"type": ["null", "string"]
},
"priority_name": {
"type": ["null", "string"]
}
]
}
}
}




Expand Down
Original file line number Diff line number Diff line change
@@ -1,29 +1,17 @@
{
"streams": [
{
"sync_mode": "full_refresh",
"stream": {
"name": "zenhub_pipelines",
"supported_sync_modes": [
"full_refresh"
],
"json_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"workspace_id": {
"type": "string"
},
"pipeline_id": {
"type": "string"
},
"pipeline_name": {
"type": "string"
}
}
}
},
"destination_sync_mode": "overwrite"
"json_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"workspace_id": {
"type": "string"
},
"pipeline_id": {
"type": "string"
},
"pipeline_name": {
"type": "string"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,29 +1,16 @@
{
"streams": [
{
"sync_mode": "full_refresh",
"stream": {
"name": "zenhub_workspace",
"supported_sync_modes": [
"full_refresh"
],
"json_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"workspace_id": {
"type": "string"
},
"repo_id": {
"type": "string"
},
"repo_name": {
"type": "string"
}
}
}
},
"destination_sync_mode": "overwrite"
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"workspace_id": {
"type": "string"
},
"repo_id": {
"type": "string"
},
"repo_name": {
"type": "string"
}
]
}
}

0 comments on commit 5baa44d

Please sign in to comment.