From 5305ad2e67248799ef467b9bdf04a988dbb03965 Mon Sep 17 00:00:00 2001 From: Marcos Marx Date: Thu, 11 Aug 2022 20:45:18 -0400 Subject: [PATCH] :bug: Fix flexport schema & format files (#15584) * Fix the new API discrepancies * Fix integration test * Update configured catalogs * Run gradlew format * Update changelog * solve conflict * run format * correct doc in spec def * auto-bump connector version [ci skip] Co-authored-by: monai Co-authored-by: Octavia Squidington III --- .../resources/seed/source_definitions.yaml | 5 + .../src/main/resources/seed/source_specs.yaml | 25 ++ .../configured_catalog_companies.json | 24 +- .../configured_catalog_invoices.json | 74 ++-- .../configured_catalog_locations.json | 14 +- .../configured_catalog_products.json | 5 - .../configured_catalog_shipments.json | 402 +++++++++--------- .../schemas/shared/address.json | 11 +- .../schemas/shared/air/shipment.json | 1 - .../schemas/shared/api/refs/collection.json | 1 - .../schemas/shared/api/refs/object.json | 1 - .../schemas/shared/company_entity.json | 9 +- .../shared/company_entity/vat_number.json | 1 - .../schemas/shared/credit_memo.json | 23 +- .../schemas/shared/hs_code.json | 1 - .../schemas/shared/invoice.json | 1 - .../schemas/shared/invoice/quantity.json | 1 - .../schemas/shared/invoice/rate.json | 1 - .../schemas/shared/invoice_item.json | 1 - .../source_flexport/schemas/shared/money.json | 1 - .../schemas/shared/network/company.json | 1 - .../schemas/shared/network/location.json | 1 - .../schemas/shared/ocean/shipment.json | 1 - .../schemas/shared/product.json | 1 - .../shared/product/classification.json | 1 - .../schemas/shared/product/property.json | 1 - .../schemas/shared/product/supplier.json | 1 - .../schemas/shared/quantity/volume.json | 1 - .../schemas/shared/quantity/weight.json | 3 +- .../schemas/shared/shipment.json | 166 +++++--- .../shared/shipment/dangerous_goods.json | 1 - .../schemas/shared/shipment_item.json | 1 - .../source-flexport/source_flexport/spec.json | 2 +- .../source_flexport/streams.py | 6 +- .../source_freshcaller/spec.json | 16 +- .../integration_tests/invalid_config.json | 2 +- .../integration_tests/sample_config.json | 2 +- .../schemas/follower_statistics.json | 2 +- .../schemas/organization_lookup.json | 372 ++++------------ .../schemas/share_statistics.json | 4 +- .../schemas/total_follower_count.json | 2 +- .../source_linkedin_pages/spec.json | 2 +- docs/integrations/sources/flexport.md | 1 + 43 files changed, 483 insertions(+), 709 deletions(-) diff --git a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml index b4b7f194811ee..d7a3334d418a6 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -281,6 +281,11 @@ dockerRepository: airbyte/source-freshcaller dockerImageTag: 0.1.0 documentationUrl: https://docs.airbyte.io/integrations/sources/freshcaller +- name: Flexport + sourceDefinitionId: f95337f1-2ad1-4baf-922f-2ca9152de630 + dockerRepository: airbyte/source-flexport + dockerImageTag: 0.1.0 + documentationUrl: https://docs.airbyte.io/integrations/sources/flexport sourceType: api releaseStage: alpha - name: Freshdesk diff --git a/airbyte-config/init/src/main/resources/seed/source_specs.yaml b/airbyte-config/init/src/main/resources/seed/source_specs.yaml index 5415cb41587f1..629401ce1227f 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -2534,6 +2534,31 @@ supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] +- dockerImage: "airbyte/source-flexport:0.1.0" + spec: + documentationUrl: "https://docs.airbyte.io/integrations/sources/flexport" + connectionSpecification: + $schema: "http://json-schema.org/draft-07/schema#" + title: "Flexport Spec" + additionalProperties: true + type: "object" + required: + - "api_key" + - "start_date" + properties: + api_key: + order: 0 + type: "string" + title: "API Key" + airbyte_secret: true + start_date: + order: 1 + title: "Start Date" + type: "string" + format: "date-time" + supportsNormalization: false + supportsDBT: false + supported_destination_sync_modes: [] - dockerImage: "airbyte/source-freshdesk:0.3.3" spec: documentationUrl: "https://docs.airbyte.io/integrations/sources/freshdesk" diff --git a/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_companies.json b/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_companies.json index f41b9382d95fc..79ed8a11b7154 100644 --- a/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_companies.json +++ b/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_companies.json @@ -6,7 +6,6 @@ "json_schema": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -35,7 +34,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -50,6 +48,10 @@ "type": "string", "description": "Name of the company entity." }, + "ref": { + "type": "string", + "description": "Your reference for this company entity, as set in the Network tab." + }, "mailing_address": { "description": "Address of the company entity.", "oneOf": [ @@ -59,7 +61,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -94,33 +95,28 @@ "type": ["null", "string"], "description": "ZIP or postal code." }, - "unlocode": { - "type": ["null", "string"], - "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." - }, "timezone": { - "type": "string", + "type": ["null", "string"], "description": "Timezone for this address" }, "ref": { "type": ["null", "string"], "description": "Your reference for the address, as set in your network tab" + }, + "unlocode": { + "type": ["null", "string"], + "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." } } } ] }, - "ref": { - "type": "string", - "description": "Your reference for this company entity, as set in the Network tab." - }, "vat_numbers": { "type": "array", "description": "Array of VAT numbers of the company entity.", "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -144,7 +140,6 @@ "locations": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -164,7 +159,6 @@ "contacts": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_invoices.json b/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_invoices.json index 1b1fc0277a14f..aee951f8ead0f 100644 --- a/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_invoices.json +++ b/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_invoices.json @@ -6,7 +6,6 @@ "json_schema": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -34,7 +33,6 @@ "total": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -54,7 +52,6 @@ "balance": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -99,7 +96,6 @@ "recipient": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -114,6 +110,10 @@ "type": "string", "description": "Name of the company entity." }, + "ref": { + "type": "string", + "description": "Your reference for this company entity, as set in the Network tab." + }, "mailing_address": { "description": "Address of the company entity.", "oneOf": [ @@ -123,7 +123,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -158,33 +157,28 @@ "type": ["null", "string"], "description": "ZIP or postal code." }, - "unlocode": { - "type": ["null", "string"], - "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." - }, "timezone": { - "type": "string", + "type": ["null", "string"], "description": "Timezone for this address" }, "ref": { "type": ["null", "string"], "description": "Your reference for the address, as set in your network tab" + }, + "unlocode": { + "type": ["null", "string"], + "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." } } } ] }, - "ref": { - "type": "string", - "description": "Your reference for this company entity, as set in the Network tab." - }, "vat_numbers": { "type": "array", "description": "Array of VAT numbers of the company entity.", "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -207,7 +201,6 @@ "issuer": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -222,6 +215,10 @@ "type": "string", "description": "Name of the company entity." }, + "ref": { + "type": "string", + "description": "Your reference for this company entity, as set in the Network tab." + }, "mailing_address": { "description": "Address of the company entity.", "oneOf": [ @@ -231,7 +228,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -266,33 +262,28 @@ "type": ["null", "string"], "description": "ZIP or postal code." }, - "unlocode": { - "type": ["null", "string"], - "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." - }, "timezone": { - "type": "string", + "type": ["null", "string"], "description": "Timezone for this address" }, "ref": { "type": ["null", "string"], "description": "Your reference for the address, as set in your network tab" + }, + "unlocode": { + "type": ["null", "string"], + "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." } } } ] }, - "ref": { - "type": "string", - "description": "Your reference for this company entity, as set in the Network tab." - }, "vat_numbers": { "type": "array", "description": "Array of VAT numbers of the company entity.", "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -318,7 +309,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -340,7 +330,6 @@ "amount": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -366,7 +355,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -394,7 +382,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -422,7 +409,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -432,7 +418,6 @@ "amount": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -449,18 +434,24 @@ } } }, - "category": { - "type": "string", - "description": "Category of the credit memo" - }, - "reason": { - "type": "string", - "description": "Why the credit was applied to the invoice" - }, "credited_at": { "type": "string", "description": "When the credit was applied. In ISO8601 UTC format with timezone denoted by Z.", "format": "date-time" + }, + "categories": { + "type": "array", + "description": "Category of the credit memo", + "items": { + "type": "string" + } + }, + "reasons": { + "type": "array", + "description": "Why the credit was applied to the invoice", + "items": { + "type": ["null", "string"] + } } } } @@ -475,7 +466,6 @@ "shipments": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_locations.json b/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_locations.json index b56c516c84c27..7a175af7a969b 100644 --- a/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_locations.json +++ b/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_locations.json @@ -6,7 +6,6 @@ "json_schema": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -24,7 +23,6 @@ "address": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -59,17 +57,17 @@ "type": ["null", "string"], "description": "ZIP or postal code." }, - "unlocode": { - "type": ["null", "string"], - "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." - }, "timezone": { - "type": "string", + "type": ["null", "string"], "description": "Timezone for this address" }, "ref": { "type": ["null", "string"], "description": "Your reference for the address, as set in your network tab" + }, + "unlocode": { + "type": ["null", "string"], + "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." } } }, @@ -80,7 +78,6 @@ "contacts": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -100,7 +97,6 @@ "company": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_products.json b/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_products.json index bd224ac2b7f96..f0609472e0bd9 100644 --- a/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_products.json +++ b/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_products.json @@ -6,7 +6,6 @@ "json_schema": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -47,7 +46,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -71,7 +69,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -99,7 +96,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -126,7 +122,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_shipments.json b/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_shipments.json index ef376ad9d1201..91e00658f97a6 100644 --- a/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_shipments.json +++ b/airbyte-integrations/connectors/source-flexport/integration_tests/configured_catalog_shipments.json @@ -8,6 +8,10 @@ "type": "object", "additionalProperties": false, "properties": { + "metadata": { + "type": "object", + "description": "Set of custom key-values specific to the object. The keys are strings and values are arrays of strings. The set of valid keys is always the consignee's list of keys, even if call was made by a different party." + }, "_object": { "type": "string", "description": "String representing the object's type. Always /shipment for this object.", @@ -30,7 +34,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -55,7 +58,17 @@ }, "transportation_mode": { "type": "string", - "description": "Transportation mode of the main carriage of the shipment. This can be either Ocean or Air." + "description": "Transportation mode of the main carriage of the shipment.", + "enum": [ + "ocean", + "air", + "truck", + "rail", + "unknown_transportation", + "ocean_air", + "truck_intl", + "warehouse_storage" + ] }, "freight_type": { "type": "string", @@ -67,11 +80,6 @@ "door_to_port" ] }, - "updated_at": { - "type": "string", - "description": "Date when the shipment object was last updated. In ISO8601 UTC format with timezone denoted by Z.", - "format": "date-time" - }, "archived_at": { "type": ["null", "string"], "description": "Date when the shipment was archived, if applicable. In ISO8601 UTC format with timezone denoted by Z.", @@ -79,12 +87,25 @@ }, "incoterm": { "type": "string", - "description": "The Incoterm of your shipment. This can be EXW, FCA, FAS, FOB, CPT, CFR, CIF, CIP, DAT, DAP, DDP, or DPU." + "description": "The Incoterm of your shipment.", + "enum": [ + "EXW", + "FOB", + "FAS", + "FCA", + "CPT", + "CFR", + "CIF", + "CIP", + "DAT", + "DAP", + "DDP", + "DPU" + ] }, "calculated_weight": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -98,14 +119,13 @@ "unit": { "type": "string", "description": "Specifies the unit of measure for this quantity.", - "enum": ["kg", "lbs"] + "enum": ["kg", "lbs", "t"] } } }, "calculated_volume": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -123,29 +143,17 @@ } } }, - "estimated_departure_date": { - "type": ["null", "string"], - "description": "Estimated departure date from the first port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.", - "format": "date-time" - }, - "actual_departure_date": { - "type": ["null", "string"], - "description": "Actual departure date from the first port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.", - "format": "date-time" - }, - "target_delivery_date": { - "type": ["null", "string"], - "description": "Target date for when the shipment will be fully delivered. This date is set when the shipment''s booking is confirmed. This value may be different from estimated_delivered_in_full_date, which is updated when there is new information about the progress of a shipment. Date only.", - "format": "date" + "pieces": { + "type": ["null", "integer"], + "description": "Total number of pieces in the shipment." }, - "estimated_arrival_date": { + "it_number": { "type": ["null", "string"], - "description": "Estimated arrival date to the last port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.", - "format": "date-time" + "description": "Inbond Transit number used for US Customs" }, - "actual_arrival_date": { - "type": ["null", "string"], - "description": "Actual arrival date to the last port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.", + "created_date": { + "type": "string", + "description": "Date the user confirmed the Flexport quote for this Shipment.", "format": "date-time" }, "status": { @@ -162,39 +170,33 @@ ] }, "priority": { - "type": "string" - }, - "pieces": { - "type": ["null", "integer"], - "description": "Total number of pieces in the shipment." - }, - "it_number": { - "type": ["null", "string"], - "description": "Inbond Transit number used for US Customs" + "type": "string", + "description": "The level of attention Flexport should give to this shipment.", + "enum": ["standard", "high"] }, - "created_date": { + "updated_at": { "type": "string", - "description": "Date the user has confirmed Flexport quote and cargo is getting ready to ship.", + "description": "Date when the shipment object was last updated. In ISO8601 UTC format with timezone denoted by Z.", "format": "date-time" }, - "estimated_picked_up_in_full_date": { + "estimated_departure_date": { "type": ["null", "string"], - "description": "Estimated pickup date from the origin location. For ocean shipments with multiple containers, this is the date of last picked up container. In ISO8601 format with timezone denoted by +/-HH:MM.", + "description": "Estimated departure date from the first port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.", "format": "date-time" }, - "actual_picked_up_in_full_date": { + "actual_departure_date": { "type": ["null", "string"], - "description": "Actual pickup date from the origin location. For ocean shipments with multiple containers, this is the date of last picked up container. In ISO8601 format with timezone denoted by +/-HH:MM.", + "description": "Actual departure date from the first port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.", "format": "date-time" }, - "estimated_delivered_in_full_date": { + "estimated_arrival_date": { "type": ["null", "string"], - "description": "Estimated delivery date to the destination location. For ocean shipments with multiple containers, this is the date of last delivered container. In ISO8601 format with timezone denoted by +/-HH:MM.", + "description": "Estimated arrival date to the last port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.", "format": "date-time" }, - "actual_delivered_in_full_date": { + "actual_arrival_date": { "type": ["null", "string"], - "description": "Actual delivery date to the destination location. For ocean shipments with multiple containers, this is the date of last delivered container. In ISO8601 format with timezone denoted by +/-HH:MM.", + "description": "Actual arrival date to the last port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.", "format": "date-time" }, "cargo_ready_date": { @@ -210,13 +212,17 @@ "type": "boolean", "description": "Determines if a shipment is using Flexport services for a combination of import customs clearance or final leg delivery." }, - "wants_export_customs_service": { - "type": "boolean", - "description": "Determines if the shipment requires Flexport to provide export customs service." + "wants_commercial_invoice_transcription": { + "type": "boolean" }, - "wants_import_customs_service": { - "type": "boolean", - "description": "Determines if the shipment requires Flexport to provide import customs service." + "wants_flexport_insurance": { + "type": "boolean" + }, + "wants_pickup_service": { + "type": "boolean" + }, + "wants_trade_declaration_service": { + "type": ["null", "boolean"] }, "visibility_only": { "type": "boolean", @@ -226,17 +232,96 @@ "type": "boolean", "description": "Determines if Flexport is responsible for door delivery on a shipment." }, - "wants_flexport_insurance": { - "type": "boolean" + "estimated_picked_up_in_full_date": { + "type": ["null", "string"], + "description": "Estimated pickup date from the origin location. For ocean shipments with multiple containers, this is the date of last picked up container. In ISO8601 format with timezone denoted by +/-HH:MM.", + "format": "date-time" }, - "wants_pickup_service": { - "type": "boolean" + "actual_picked_up_in_full_date": { + "type": ["null", "string"], + "description": "Actual pickup date from the origin location. For ocean shipments with multiple containers, this is the date of last picked up container. In ISO8601 format with timezone denoted by +/-HH:MM.", + "format": "date-time" }, - "wants_commercial_invoice_transcription": { - "type": "boolean" + "target_delivery_date": { + "type": ["null", "string"], + "description": "Target date for when the shipment will be fully delivered. This date is set when the shipment''s booking is confirmed. This value may be different from estimated_delivered_in_full_date, which is updated when there is new information about the progress of a shipment. Date only.", + "format": "date" }, - "wants_trade_declaration_service": { - "type": ["null", "boolean"] + "estimated_delivered_in_full_date": { + "type": ["null", "string"], + "description": "Estimated delivery date to the destination location. For ocean shipments with multiple containers, this is the date of last delivered container. In ISO8601 format with timezone denoted by +/-HH:MM.", + "format": "date-time" + }, + "actual_delivered_in_full_date": { + "type": ["null", "string"], + "description": "Actual delivery date to the destination location. For ocean shipments with multiple containers, this is the date of last delivered container. In ISO8601 format with timezone denoted by +/-HH:MM.", + "format": "date-time" + }, + "wants_export_customs_service": { + "type": "boolean", + "description": "Determines if the shipment requires Flexport to provide export customs service." + }, + "wants_import_customs_service": { + "type": "boolean", + "description": "Determines if the shipment requires Flexport to provide import customs service." + }, + "ocean_shipment": { + "description": "Ocean-specific Shipment information. Available only if this is an ocean shipment. null otherwise.", + "oneOf": [ + { + "type": "null" + }, + { + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "_object": { + "type": "string", + "description": "String representing the object's type. Always /ocean/shipment for this object.", + "pattern": "^/ocean/shipment$" + }, + "is_lcl": { + "type": "boolean", + "description": "Flag that indicates whether the object is a LCL shipment." + }, + "house_bill_number": { + "type": "string", + "description": "House bill of lading number." + }, + "master_bill_number": { + "type": ["null", "string"], + "description": "Master bill of lading number." + }, + "carrier_booking_number": { + "type": ["null", "string"], + "description": "Ocean carrier booking reference number." + }, + "confirmed_space_released_at": { + "type": ["null", "string"], + "format": "date-time" + }, + "containers": { + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "_object": { + "type": "string", + "description": "String representing the object's type. Always /api/refs/collection for this object.", + "pattern": "^/api/refs/collection$" + }, + "link": { + "type": "string", + "description": "API end point that points to a list of resources" + }, + "ref_type": { + "type": "string", + "description": "The _object value of each individual element of the list that link points to." + } + } + } + } + } + ] }, "air_shipment": { "description": "Air-specific Shipment information. Available only if this is an air shipment. null otherwise.", @@ -247,7 +332,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -265,7 +349,6 @@ "chargeable_weight": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -279,14 +362,13 @@ "unit": { "type": "string", "description": "Specifies the unit of measure for this quantity.", - "enum": ["kg", "lbs"] + "enum": ["kg", "lbs", "t"] } } }, "chargeable_volume": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -308,70 +390,9 @@ } ] }, - "ocean_shipment": { - "description": "Ocean-specific Shipment information. Available only if this is an ocean shipment. null otherwise.", - "oneOf": [ - { - "type": "null" - }, - { - "$schema": "http://json-schema.org/draft-07/schema#", - "type": "object", - "additionalProperties": false, - "properties": { - "_object": { - "type": "string", - "description": "String representing the object's type. Always /ocean/shipment for this object.", - "pattern": "^/ocean/shipment$" - }, - "is_lcl": { - "type": "boolean", - "description": "Flag that indicates whether the object is a LCL shipment." - }, - "house_bill_number": { - "type": "string", - "description": "House bill of lading number." - }, - "master_bill_number": { - "type": ["null", "string"], - "description": "Master bill of lading number." - }, - "carrier_booking_number": { - "type": ["null", "string"], - "description": "Ocean carrier booking reference number." - }, - "confirmed_space_released_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "containers": { - "$schema": "http://json-schema.org/draft-07/schema#", - "type": "object", - "additionalProperties": false, - "properties": { - "_object": { - "type": "string", - "description": "String representing the object's type. Always /api/refs/collection for this object.", - "pattern": "^/api/refs/collection$" - }, - "link": { - "type": "string", - "description": "API end point that points to a list of resources" - }, - "ref_type": { - "type": "string", - "description": "The _object value of each individual element of the list that link points to." - } - } - } - } - } - ] - }, "dangerous_goods": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -392,7 +413,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -407,6 +427,10 @@ "type": "string", "description": "Name of the company entity." }, + "ref": { + "type": "string", + "description": "Your reference for this company entity, as set in the Network tab." + }, "mailing_address": { "description": "Address of the company entity.", "oneOf": [ @@ -416,7 +440,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -451,33 +474,28 @@ "type": ["null", "string"], "description": "ZIP or postal code." }, - "unlocode": { - "type": ["null", "string"], - "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." - }, "timezone": { - "type": "string", + "type": ["null", "string"], "description": "Timezone for this address" }, "ref": { "type": ["null", "string"], "description": "Your reference for the address, as set in your network tab" + }, + "unlocode": { + "type": ["null", "string"], + "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." } } } ] }, - "ref": { - "type": "string", - "description": "Your reference for this company entity, as set in the Network tab." - }, "vat_numbers": { "type": "array", "description": "Array of VAT numbers of the company entity.", "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -504,7 +522,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -519,6 +536,10 @@ "type": "string", "description": "Name of the company entity." }, + "ref": { + "type": "string", + "description": "Your reference for this company entity, as set in the Network tab." + }, "mailing_address": { "description": "Address of the company entity.", "oneOf": [ @@ -528,7 +549,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -563,33 +583,28 @@ "type": ["null", "string"], "description": "ZIP or postal code." }, - "unlocode": { - "type": ["null", "string"], - "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." - }, "timezone": { - "type": "string", + "type": ["null", "string"], "description": "Timezone for this address" }, "ref": { "type": ["null", "string"], "description": "Your reference for the address, as set in your network tab" + }, + "unlocode": { + "type": ["null", "string"], + "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." } } } ] }, - "ref": { - "type": "string", - "description": "Your reference for this company entity, as set in the Network tab." - }, "vat_numbers": { "type": "array", "description": "Array of VAT numbers of the company entity.", "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -616,7 +631,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -631,6 +645,10 @@ "type": "string", "description": "Name of the company entity." }, + "ref": { + "type": "string", + "description": "Your reference for this company entity, as set in the Network tab." + }, "mailing_address": { "description": "Address of the company entity.", "oneOf": [ @@ -640,7 +658,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -675,33 +692,28 @@ "type": ["null", "string"], "description": "ZIP or postal code." }, - "unlocode": { - "type": ["null", "string"], - "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." - }, "timezone": { - "type": "string", + "type": ["null", "string"], "description": "Timezone for this address" }, "ref": { "type": ["null", "string"], "description": "Your reference for the address, as set in your network tab" + }, + "unlocode": { + "type": ["null", "string"], + "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." } } } ] }, - "ref": { - "type": "string", - "description": "Your reference for this company entity, as set in the Network tab." - }, "vat_numbers": { "type": "array", "description": "Array of VAT numbers of the company entity.", "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -728,7 +740,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -743,6 +754,10 @@ "type": "string", "description": "Name of the company entity." }, + "ref": { + "type": "string", + "description": "Your reference for this company entity, as set in the Network tab." + }, "mailing_address": { "description": "Address of the company entity.", "oneOf": [ @@ -752,7 +767,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -787,33 +801,28 @@ "type": ["null", "string"], "description": "ZIP or postal code." }, - "unlocode": { - "type": ["null", "string"], - "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." - }, "timezone": { - "type": "string", + "type": ["null", "string"], "description": "Timezone for this address" }, "ref": { "type": ["null", "string"], "description": "Your reference for the address, as set in your network tab" + }, + "unlocode": { + "type": ["null", "string"], + "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." } } } ] }, - "ref": { - "type": "string", - "description": "Your reference for this company entity, as set in the Network tab." - }, "vat_numbers": { "type": "array", "description": "Array of VAT numbers of the company entity.", "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -840,7 +849,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -855,6 +863,10 @@ "type": "string", "description": "Name of the company entity." }, + "ref": { + "type": "string", + "description": "Your reference for this company entity, as set in the Network tab." + }, "mailing_address": { "description": "Address of the company entity.", "oneOf": [ @@ -864,7 +876,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -899,33 +910,28 @@ "type": ["null", "string"], "description": "ZIP or postal code." }, - "unlocode": { - "type": ["null", "string"], - "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." - }, "timezone": { - "type": "string", + "type": ["null", "string"], "description": "Timezone for this address" }, "ref": { "type": ["null", "string"], "description": "Your reference for the address, as set in your network tab" + }, + "unlocode": { + "type": ["null", "string"], + "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." } } } ] }, - "ref": { - "type": "string", - "description": "Your reference for this company entity, as set in the Network tab." - }, "vat_numbers": { "type": "array", "description": "Array of VAT numbers of the company entity.", "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -952,7 +958,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -970,7 +975,6 @@ "total_weight": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -984,14 +988,13 @@ "unit": { "type": "string", "description": "Specifies the unit of measure for this quantity.", - "enum": ["kg", "lbs"] + "enum": ["kg", "lbs", "t"] } } }, "total_volume": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -1016,7 +1019,6 @@ "product": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -1057,7 +1059,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -1081,7 +1082,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -1109,7 +1109,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -1136,7 +1135,6 @@ "items": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -1168,7 +1166,6 @@ "legs": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -1188,7 +1185,6 @@ "customs_entries": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -1208,7 +1204,6 @@ "commercial_invoices": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -1228,7 +1223,6 @@ "documents": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -1245,10 +1239,6 @@ } } }, - "metadata": { - "type": "object", - "description": "User defined metadata attached to the shipment." - }, "departure_date": { "$comment": "deprecated", "type": ["null", "string"], diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/address.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/address.json index 2f76374bb28fb..52a01d4d1dc33 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/address.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/address.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -36,17 +35,17 @@ "type": ["null", "string"], "description": "ZIP or postal code." }, - "unlocode": { - "type": ["null", "string"], - "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." - }, "timezone": { - "type": "string", + "type": ["null", "string"], "description": "Timezone for this address" }, "ref": { "type": ["null", "string"], "description": "Your reference for the address, as set in your network tab" + }, + "unlocode": { + "type": ["null", "string"], + "description": "If port, then UN/LOCODE (United Nations Code for Trade and Transport Locations)." } } } diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/air/shipment.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/air/shipment.json index 747e102fe3904..9ddf5f73905bd 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/air/shipment.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/air/shipment.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/api/refs/collection.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/api/refs/collection.json index 98296a6bfb9a8..026450e08e9f6 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/api/refs/collection.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/api/refs/collection.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/api/refs/object.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/api/refs/object.json index 3a2509deb2e2a..dd80e51ba5775 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/api/refs/object.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/api/refs/object.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/company_entity.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/company_entity.json index 2e31c55dbb147..2f84330047d49 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/company_entity.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/company_entity.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -16,6 +15,10 @@ "type": "string", "description": "Name of the company entity." }, + "ref": { + "type": "string", + "description": "Your reference for this company entity, as set in the Network tab." + }, "mailing_address": { "description": "Address of the company entity.", "oneOf": [ @@ -27,10 +30,6 @@ } ] }, - "ref": { - "type": "string", - "description": "Your reference for this company entity, as set in the Network tab." - }, "vat_numbers": { "type": "array", "description": "Array of VAT numbers of the company entity.", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/company_entity/vat_number.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/company_entity/vat_number.json index 804fb5733cd3a..f787e43b1357f 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/company_entity/vat_number.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/company_entity/vat_number.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/credit_memo.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/credit_memo.json index bd8cbd94dea6a..9f2a051bed373 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/credit_memo.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/credit_memo.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -12,18 +11,24 @@ "description": "Amount of the credit", "$ref": "money.json" }, - "category": { - "type": "string", - "description": "Category of the credit memo" - }, - "reason": { - "type": "string", - "description": "Why the credit was applied to the invoice" - }, "credited_at": { "type": "string", "description": "When the credit was applied. In ISO8601 UTC format with timezone denoted by Z.", "format": "date-time" + }, + "categories": { + "type": "array", + "description": "Category of the credit memo", + "items": { + "type": "string" + } + }, + "reasons": { + "type": "array", + "description": "Why the credit was applied to the invoice", + "items": { + "type": ["null", "string"] + } } } } diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/hs_code.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/hs_code.json index 73349a339048f..f96137267e334 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/hs_code.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/hs_code.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/invoice.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/invoice.json index 84748ac13ed78..eafa29f1cf5e9 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/invoice.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/invoice.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/invoice/quantity.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/invoice/quantity.json index 456cee19c2db2..d93a87a171cbc 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/invoice/quantity.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/invoice/quantity.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/invoice/rate.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/invoice/rate.json index 85104bce88be2..4065655ec6867 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/invoice/rate.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/invoice/rate.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/invoice_item.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/invoice_item.json index 386942f47e318..30764295ac7d6 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/invoice_item.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/invoice_item.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/money.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/money.json index 993bdad67c75b..0461a9a8a2fce 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/money.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/money.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/network/company.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/network/company.json index a68833d746492..8b76a486072fd 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/network/company.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/network/company.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/network/location.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/network/location.json index bfa15aa9c96c5..08c7345ae687e 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/network/location.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/network/location.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/ocean/shipment.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/ocean/shipment.json index b96dc6d6d8b19..4088cff0662d0 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/ocean/shipment.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/ocean/shipment.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/product.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/product.json index 9e42d19beb2e6..47c0effead9fd 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/product.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/product.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/product/classification.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/product/classification.json index cfe9b2bfc79ed..8da4d4f8b7918 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/product/classification.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/product/classification.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/product/property.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/product/property.json index 904ce583e6b51..576e05b14d3f3 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/product/property.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/product/property.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/product/supplier.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/product/supplier.json index e5f8ce599c9ed..327c56fd9d6cb 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/product/supplier.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/product/supplier.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/quantity/volume.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/quantity/volume.json index ef86a371afe55..64c05a8beab4d 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/quantity/volume.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/quantity/volume.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/quantity/weight.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/quantity/weight.json index a9e876424bbbb..acfe75b2e2f77 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/quantity/weight.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/quantity/weight.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", @@ -15,7 +14,7 @@ "unit": { "type": "string", "description": "Specifies the unit of measure for this quantity.", - "enum": ["kg", "lbs"] + "enum": ["kg", "lbs", "t"] } } } diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/shipment.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/shipment.json index a59f2008eed97..2ad39411d1615 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/shipment.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/shipment.json @@ -3,6 +3,10 @@ "type": "object", "additionalProperties": false, "properties": { + "metadata": { + "type": "object", + "description": "Set of custom key-values specific to the object. The keys are strings and values are arrays of strings. The set of valid keys is always the consignee's list of keys, even if call was made by a different party." + }, "_object": { "type": "string", "description": "String representing the object's type. Always /shipment for this object.", @@ -29,18 +33,23 @@ }, "transportation_mode": { "type": "string", - "description": "Transportation mode of the main carriage of the shipment. This can be either Ocean or Air." + "description": "Transportation mode of the main carriage of the shipment.", + "enum": [ + "ocean", + "air", + "truck", + "rail", + "unknown_transportation", + "ocean_air", + "truck_intl", + "warehouse_storage" + ] }, "freight_type": { "type": "string", "description": "The type of freight service provided. One of:", "enum": ["port_to_door", "port_to_port", "door_to_door", "door_to_port"] }, - "updated_at": { - "type": "string", - "description": "Date when the shipment object was last updated. In ISO8601 UTC format with timezone denoted by Z.", - "format": "date-time" - }, "archived_at": { "type": ["null", "string"], "description": "Date when the shipment was archived, if applicable. In ISO8601 UTC format with timezone denoted by Z.", @@ -48,7 +57,21 @@ }, "incoterm": { "type": "string", - "description": "The Incoterm of your shipment. This can be EXW, FCA, FAS, FOB, CPT, CFR, CIF, CIP, DAT, DAP, DDP, or DPU." + "description": "The Incoterm of your shipment.", + "enum": [ + "EXW", + "FOB", + "FAS", + "FCA", + "CPT", + "CFR", + "CIF", + "CIP", + "DAT", + "DAP", + "DDP", + "DPU" + ] }, "calculated_weight": { "description": "Total weight (kg or lbs) of the shipment, calculated from individual pieces if package dimensions are known.", @@ -58,29 +81,17 @@ "description": "Total volume (cbm or cft) of the shipment, calculated from individual pieces if package dimensions are known.", "$ref": "quantity/volume.json" }, - "estimated_departure_date": { - "type": ["null", "string"], - "description": "Estimated departure date from the first port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.", - "format": "date-time" - }, - "actual_departure_date": { - "type": ["null", "string"], - "description": "Actual departure date from the first port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.", - "format": "date-time" - }, - "target_delivery_date": { - "type": ["null", "string"], - "description": "Target date for when the shipment will be fully delivered. This date is set when the shipment''s booking is confirmed. This value may be different from estimated_delivered_in_full_date, which is updated when there is new information about the progress of a shipment. Date only.", - "format": "date" + "pieces": { + "type": ["null", "integer"], + "description": "Total number of pieces in the shipment." }, - "estimated_arrival_date": { + "it_number": { "type": ["null", "string"], - "description": "Estimated arrival date to the last port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.", - "format": "date-time" + "description": "Inbond Transit number used for US Customs" }, - "actual_arrival_date": { - "type": ["null", "string"], - "description": "Actual arrival date to the last port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.", + "created_date": { + "type": "string", + "description": "Date the user confirmed the Flexport quote for this Shipment.", "format": "date-time" }, "status": { @@ -97,39 +108,33 @@ ] }, "priority": { - "type": "string" - }, - "pieces": { - "type": ["null", "integer"], - "description": "Total number of pieces in the shipment." - }, - "it_number": { - "type": ["null", "string"], - "description": "Inbond Transit number used for US Customs" + "type": "string", + "description": "The level of attention Flexport should give to this shipment.", + "enum": ["standard", "high"] }, - "created_date": { + "updated_at": { "type": "string", - "description": "Date the user has confirmed Flexport quote and cargo is getting ready to ship.", + "description": "Date when the shipment object was last updated. In ISO8601 UTC format with timezone denoted by Z.", "format": "date-time" }, - "estimated_picked_up_in_full_date": { + "estimated_departure_date": { "type": ["null", "string"], - "description": "Estimated pickup date from the origin location. For ocean shipments with multiple containers, this is the date of last picked up container. In ISO8601 format with timezone denoted by +/-HH:MM.", + "description": "Estimated departure date from the first port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.", "format": "date-time" }, - "actual_picked_up_in_full_date": { + "actual_departure_date": { "type": ["null", "string"], - "description": "Actual pickup date from the origin location. For ocean shipments with multiple containers, this is the date of last picked up container. In ISO8601 format with timezone denoted by +/-HH:MM.", + "description": "Actual departure date from the first port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.", "format": "date-time" }, - "estimated_delivered_in_full_date": { + "estimated_arrival_date": { "type": ["null", "string"], - "description": "Estimated delivery date to the destination location. For ocean shipments with multiple containers, this is the date of last delivered container. In ISO8601 format with timezone denoted by +/-HH:MM.", + "description": "Estimated arrival date to the last port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.", "format": "date-time" }, - "actual_delivered_in_full_date": { + "actual_arrival_date": { "type": ["null", "string"], - "description": "Actual delivery date to the destination location. For ocean shipments with multiple containers, this is the date of last delivered container. In ISO8601 format with timezone denoted by +/-HH:MM.", + "description": "Actual arrival date to the last port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.", "format": "date-time" }, "cargo_ready_date": { @@ -145,13 +150,17 @@ "type": "boolean", "description": "Determines if a shipment is using Flexport services for a combination of import customs clearance or final leg delivery." }, - "wants_export_customs_service": { - "type": "boolean", - "description": "Determines if the shipment requires Flexport to provide export customs service." + "wants_commercial_invoice_transcription": { + "type": "boolean" }, - "wants_import_customs_service": { - "type": "boolean", - "description": "Determines if the shipment requires Flexport to provide import customs service." + "wants_flexport_insurance": { + "type": "boolean" + }, + "wants_pickup_service": { + "type": "boolean" + }, + "wants_trade_declaration_service": { + "type": ["null", "boolean"] }, "visibility_only": { "type": "boolean", @@ -161,37 +170,58 @@ "type": "boolean", "description": "Determines if Flexport is responsible for door delivery on a shipment." }, - "wants_flexport_insurance": { - "type": "boolean" + "estimated_picked_up_in_full_date": { + "type": ["null", "string"], + "description": "Estimated pickup date from the origin location. For ocean shipments with multiple containers, this is the date of last picked up container. In ISO8601 format with timezone denoted by +/-HH:MM.", + "format": "date-time" }, - "wants_pickup_service": { - "type": "boolean" + "actual_picked_up_in_full_date": { + "type": ["null", "string"], + "description": "Actual pickup date from the origin location. For ocean shipments with multiple containers, this is the date of last picked up container. In ISO8601 format with timezone denoted by +/-HH:MM.", + "format": "date-time" }, - "wants_commercial_invoice_transcription": { - "type": "boolean" + "target_delivery_date": { + "type": ["null", "string"], + "description": "Target date for when the shipment will be fully delivered. This date is set when the shipment''s booking is confirmed. This value may be different from estimated_delivered_in_full_date, which is updated when there is new information about the progress of a shipment. Date only.", + "format": "date" }, - "wants_trade_declaration_service": { - "type": ["null", "boolean"] + "estimated_delivered_in_full_date": { + "type": ["null", "string"], + "description": "Estimated delivery date to the destination location. For ocean shipments with multiple containers, this is the date of last delivered container. In ISO8601 format with timezone denoted by +/-HH:MM.", + "format": "date-time" }, - "air_shipment": { - "description": "Air-specific Shipment information. Available only if this is an air shipment. null otherwise.", + "actual_delivered_in_full_date": { + "type": ["null", "string"], + "description": "Actual delivery date to the destination location. For ocean shipments with multiple containers, this is the date of last delivered container. In ISO8601 format with timezone denoted by +/-HH:MM.", + "format": "date-time" + }, + "wants_export_customs_service": { + "type": "boolean", + "description": "Determines if the shipment requires Flexport to provide export customs service." + }, + "wants_import_customs_service": { + "type": "boolean", + "description": "Determines if the shipment requires Flexport to provide import customs service." + }, + "ocean_shipment": { + "description": "Ocean-specific Shipment information. Available only if this is an ocean shipment. null otherwise.", "oneOf": [ { "type": "null" }, { - "$ref": "air/shipment.json" + "$ref": "ocean/shipment.json" } ] }, - "ocean_shipment": { - "description": "Ocean-specific Shipment information. Available only if this is an ocean shipment. null otherwise.", + "air_shipment": { + "description": "Air-specific Shipment information. Available only if this is an air shipment. null otherwise.", "oneOf": [ { "type": "null" }, { - "$ref": "ocean/shipment.json" + "$ref": "air/shipment.json" } ] }, @@ -257,10 +287,6 @@ "description": "Expandable API link to the documents for this shipment, represented by Document objects.", "$ref": "api/refs/collection.json" }, - "metadata": { - "type": "object", - "description": "User defined metadata attached to the shipment." - }, "departure_date": { "$comment": "deprecated", "type": ["null", "string"], diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/shipment/dangerous_goods.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/shipment/dangerous_goods.json index 4cbbcb19412a2..231e81137e662 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/shipment/dangerous_goods.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/shipment/dangerous_goods.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/shipment_item.json b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/shipment_item.json index 053b39ae0bbb3..8ea0c96632f91 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/shipment_item.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/schemas/shared/shipment_item.json @@ -1,7 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "additionalProperties": false, "properties": { "_object": { "type": "string", diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/spec.json b/airbyte-integrations/connectors/source-flexport/source_flexport/spec.json index 23ae4f8adb9ec..8589bb856cd91 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/spec.json +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/spec.json @@ -3,9 +3,9 @@ "connectionSpecification": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Flexport Spec", + "additionalProperties": true, "type": "object", "required": ["api_key", "start_date"], - "additionalProperties": false, "properties": { "api_key": { "order": 0, diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/streams.py b/airbyte-integrations/connectors/source-flexport/source_flexport/streams.py index f865ecec888d6..d2315e0858d06 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/streams.py +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/streams.py @@ -22,7 +22,7 @@ class FlexportStream(HttpStream, ABC): url_base = "https://api.flexport.com/" raise_on_http_errors = False primary_key = "id" - page_size = 500 + page_size = 100 def __init__(self, authenticator: Union[AuthBase, HttpAuthenticator] = None, start_date: str = None): super().__init__(authenticator=authenticator) @@ -31,7 +31,7 @@ def __init__(self, authenticator: Union[AuthBase, HttpAuthenticator] = None, sta self.start_date = start_date def next_page_token(self, response: requests.Response) -> Optional[Mapping[str, Any]]: - # https://apidocs.flexport.com/reference/pagination + # https://apidocs.flexport.com/v3/tag/Pagination/ # All list endpoints return paginated responses. The response object contains # elements of the current page, and links to the previous and next pages. data = response.json()["data"] @@ -56,7 +56,7 @@ def request_params(self, next_page_token: Mapping[str, Any] = None, **kwargs) -> } def parse_response(self, response: requests.Response, **kwargs) -> Iterable[Mapping]: - # https://apidocs.flexport.com/reference/response-layout + # https://apidocs.flexport.com/v3/tag/Response-Semantics json = response.json() http_error = None diff --git a/airbyte-integrations/connectors/source-freshcaller/source_freshcaller/spec.json b/airbyte-integrations/connectors/source-freshcaller/source_freshcaller/spec.json index 8c1e370bf3fd8..e3202175d5ffd 100644 --- a/airbyte-integrations/connectors/source-freshcaller/source_freshcaller/spec.json +++ b/airbyte-integrations/connectors/source-freshcaller/source_freshcaller/spec.json @@ -4,20 +4,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Freshcaller Spec", "type": "object", - "required": [ - "domain", - "api_key", - "start_date" - ], + "required": ["domain", "api_key", "start_date"], "additionalProperties": true, "properties": { "domain": { "type": "string", "title": "Domain for Freshcaller account", "description": "Used to construct Base URL for the Freshcaller APIs", - "examples": [ - "snaptravel" - ] + "examples": ["snaptravel"] }, "api_key": { "type": "string", @@ -35,9 +29,7 @@ "description": "UTC date and time. Any data created after this date will be replicated.", "format": "date-time", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$", - "examples": [ - "2022-01-01T12:00:00Z" - ] + "examples": ["2022-01-01T12:00:00Z"] }, "sync_lag_minutes": { "title": "Lag in minutes for each sync", @@ -46,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/airbyte-integrations/connectors/source-linkedin-pages/integration_tests/invalid_config.json b/airbyte-integrations/connectors/source-linkedin-pages/integration_tests/invalid_config.json index 5c8c7b29a99f6..fd62f7bf71a6e 100644 --- a/airbyte-integrations/connectors/source-linkedin-pages/integration_tests/invalid_config.json +++ b/airbyte-integrations/connectors/source-linkedin-pages/integration_tests/invalid_config.json @@ -4,4 +4,4 @@ "auth_method": "access_token", "access_token": "wrong_token_sra6ibiw0ZWEdMnC0ZizeD1gLRQP6u1pkQl" } -} \ No newline at end of file +} diff --git a/airbyte-integrations/connectors/source-linkedin-pages/integration_tests/sample_config.json b/airbyte-integrations/connectors/source-linkedin-pages/integration_tests/sample_config.json index fd416acb2613e..c32e7dbe20101 100644 --- a/airbyte-integrations/connectors/source-linkedin-pages/integration_tests/sample_config.json +++ b/airbyte-integrations/connectors/source-linkedin-pages/integration_tests/sample_config.json @@ -4,4 +4,4 @@ "auth_method": "access_token", "access_token": "example_token_string123" } -} \ No newline at end of file +} diff --git a/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/schemas/follower_statistics.json b/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/schemas/follower_statistics.json index ae8fc08757ca1..fa4cd1548b00c 100644 --- a/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/schemas/follower_statistics.json +++ b/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/schemas/follower_statistics.json @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/schemas/organization_lookup.json b/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/schemas/organization_lookup.json index 8efd67c6c576e..34d3275870564 100644 --- a/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/schemas/organization_lookup.json +++ b/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/schemas/organization_lookup.json @@ -1,500 +1,278 @@ { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": true, - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "vanityName": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "localizedName": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "website": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "localized": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "en_US": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "preferredLocale": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "country": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "language": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } } }, "foundedOn": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "year": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] } } }, "groups": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { "items": {} } }, "description": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "localized": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "en_US": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "preferredLocale": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "country": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "language": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } } }, "versionTag": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "coverPhotoV2": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "cropped": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "original": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "cropInfo": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "x": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "width": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "y": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "height": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] } } } } }, "defaultLocale": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "country": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "language": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "organizationType": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "alternativeNames": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { "items": {} } }, "specialties": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { "items": {} } }, "staffCountRange": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "localizedSpecialties": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { "items": {} } }, "industries": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } }, "name": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "localized": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "en_US": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "preferredLocale": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "country": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "language": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } } }, "primaryOrganizationType": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "locations": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "locationType": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "description": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "localized": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "en_US": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "preferredLocale": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "country": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "language": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } } }, "address": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "geographicArea": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "country": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "city": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "line1": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "postalCode": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "localizedDescription": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "geoLocation": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "streetAddressFieldState": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } }, "id": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "localizedDescription": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "$URN": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "localizedWebsite": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "logoV2": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "cropped": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "original": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "cropInfo": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "x": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "width": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "y": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "height": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] } } } } } } -} \ No newline at end of file +} diff --git a/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/schemas/share_statistics.json b/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/schemas/share_statistics.json index 6f8b7077e116b..77129bc9d5b14 100644 --- a/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/schemas/share_statistics.json +++ b/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/schemas/share_statistics.json @@ -35,6 +35,6 @@ } } }, - "organizationalEntity": {"type": ["null", "string"]} + "organizationalEntity": { "type": ["null", "string"] } } -} \ No newline at end of file +} diff --git a/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/schemas/total_follower_count.json b/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/schemas/total_follower_count.json index 220d625da01e0..84387c6c37b79 100644 --- a/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/schemas/total_follower_count.json +++ b/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/schemas/total_follower_count.json @@ -7,4 +7,4 @@ "type": ["null", "integer"] } } -} \ No newline at end of file +} diff --git a/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/spec.json b/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/spec.json index 085a281bdad3b..a335440fc6f84 100644 --- a/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/spec.json +++ b/airbyte-integrations/connectors/source-linkedin-pages/source_linkedin_pages/spec.json @@ -76,4 +76,4 @@ "oauthFlowOutputParameters": [["refresh_token"]] } } -} \ No newline at end of file +} diff --git a/docs/integrations/sources/flexport.md b/docs/integrations/sources/flexport.md index a15ee0c247f35..db8b15a7ec534 100644 --- a/docs/integrations/sources/flexport.md +++ b/docs/integrations/sources/flexport.md @@ -46,4 +46,5 @@ Authentication uses a pre-created API token which can be [created in the UI](htt | Version | Date | Pull Request | Subject | | :--- | :--- | :--- | :--- | +| 0.1.1 | 2022-07-26 | [15033](https://github.com/airbytehq/airbyte/pull/15033) | Source Flexport: Update schemas | | 0.1.0 | 2021-12-14 | [8777](https://github.com/airbytehq/airbyte/pull/8777) | New Source: Flexport |