Skip to content

Instantly share code, notes, and snippets.

@taufiqibrahim
Last active May 27, 2020 13:20
Show Gist options
  • Save taufiqibrahim/a5077b2408105cc81dc5e78f2cd956a9 to your computer and use it in GitHub Desktop.
Save taufiqibrahim/a5077b2408105cc81dc5e78f2cd956a9 to your computer and use it in GitHub Desktop.
mytopic-schema.json
{
"type": "object",
"title": "MyTopic",
"properties": {
"o_id": {"type": ["number", "null"], "multipleOf": 1.0},
"o_sap_ts": {"type": ["string", "null"]},
"o_so_key": {"type": ["string", "null"]},
"o_ordertypecode": {"type": ["string", "null"]},
"o_salesorderno": {"type": ["string", "null"]},
"o_salesofficecode": {"type": ["string", "null"]},
"o_salescode": {"type": ["string", "null"]},
"o_salescodedesc": {"type": ["string", "null"]},
"o_distchannelcode": {"type": ["string", "null"]},
"o_shiptoparty": {"type": ["string", "null"]},
"o_shiptopartyname": {"type": ["string", "null"]},
"o_shiptopartystreet": {"type": ["string", "null"]},
"o_shiptopartystreet3": {"type": ["string", "null"]},
"o_shiptopartystreet4": {"type": ["string", "null"]},
"o_shiptopartystreet5": {"type": ["string", "null"]},
"o_soldtoparty": {"type": ["string", "null"]},
"o_soldtopartyname": {"type": ["string", "null"]},
"o_soitem": {"type": ["number", "null"], "multipleOf": 1.0},
"o_itemcategory": {"type": ["string", "null"]},
"o_rejectioncode": {"type": ["string", "null"]},
"o_divisioncode": {"type": ["string", "null"]},
"o_incoterm": {"type": ["string", "null"]},
"o_purchaseorderno": {"type": ["string", "null"]},
"o_created_at": {"type": ["string", "null"]},
"o_socreatedby": {"type": ["string", "null"]},
"o_requestdeliverydate": {"type": ["string", "null"]},
"o_podate": {"type": ["string", "null"]},
"o_deletionflag": {"type": ["number", "null"], "multipleOf": 1.0},
"o_routecode": {"type": ["string", "null"]},
"d_id": {"type": ["number", "null"], "multipleOf": 1.0},
"d_sap_ts": {"type": ["string", "null"]},
"d_so_key": {"type": ["string", "null"]},
"d_do_key": {"type": ["string", "null"]},
"d_donumber": {"type": ["string", "null"]},
"d_referencedoc": {"type": ["string", "null"]},
"d_referenceitem": {"type": ["number", "null"], "multipleOf": 1.0},
"d_doitem": {"type": ["number", "null"], "multipleOf": 1.0},
"d_materialcode": {"type": ["string", "null"]},
"d_materialdescription": {"type": ["string", "null"]},
"d_batchno": {"type": ["string", "null"]},
"d_doqty": {"type": ["number", "null"], "multipleOf": 0.01},
"d_dounit": {"type": ["string", "null"]},
"d_doamount": {"type": ["number", "null"], "multipleOf": 0.01},
"d_dovolume": {"type": ["number", "null"], "multipleOf": 0.01},
"d_dovolumeunit": {"type": ["string", "null"]},
"d_doweight": {"type": ["number", "null"], "multipleOf": 0.01},
"d_doweightunit": {"type": ["string", "null"]},
"d_actualgidate": {"type": ["string", "null"]},
"d_ginumber": {"type": ["string", "null"]},
"d_goodsmovementstat": {"type": ["string", "null"]},
"d_podstatus": {"type": ["string", "null"]},
"d_poddate": {"type": ["string", "null"]},
"d_podverificationdate": {"type": ["string", "null"]},
"d_created_at": {"type": ["string", "null"]},
"d_docreatedby": {"type": ["string", "null"]},
"d_deletionflag": {"type": ["number", "null"], "multipleOf": 1.0},
"shipto_id": {"type": ["number", "null"], "multipleOf": 1.0},
"shipto_latitude": {"type": ["string", "null"]},
"shipto_longitude": {"type": ["string", "null"]},
"shipto_phonenumber": {"type": ["string", "null"]},
"shipto_distchannelid": {"type": ["number", "null"], "multipleOf": 1.0},
"shipto_deliverydeadline": {"type": ["string", "null"]},
"shipto_vehicletypecode": {"type": ["string", "null"]},
"soldto_id": {"type": ["number", "null"], "multipleOf": 1.0},
"soldto_topcode": {"type": ["string", "null"]},
"product_id": {"type": ["number", "null"], "multipleOf": 1.0},
"payment_type": {"type": ["string", "null"]},
"do_id": {"type": ["number", "null"], "multipleOf": 1.0},
"do_sap_ts": {"type": ["string", "null"]},
"do_sap_ship_key": {"type": ["string", "null"]},
"do_do_id_sap": {"type": ["string", "null"]},
"do_amount": {"type": ["number", "null"], "multipleOf": 0.01},
"do_sales_office": {"type": ["string", "null"]},
"do_delivery_date": {"type": ["string", "null"]},
"do_driver_id": {"type": ["string", "null"]},
"do_vehicle_id": {"type": ["string", "null"]},
"do_shipment_plan_id_sap": {"type": ["string", "null"]},
"do_product_id": {"type": ["string", "null"]},
"do_item_number": {"type": ["string", "null"]},
"do_quantity": {"type": ["number", "null"], "multipleOf": 0.01},
"do_unit_of_measurement": {"type": ["string", "null"]},
"do_storage_location": {"type": ["string", "null"]},
"do_batch": {"type": ["string", "null"]},
"do_created_at": {"type": ["string", "null"]},
"do_selling_amount": {"type": ["number", "null"], "multipleOf": 0.01},
"do_discount_amount": {"type": ["number", "null"], "multipleOf": 0.01},
"do_ppn_amount": {"type": ["number", "null"], "multipleOf": 0.01},
"b_sap_ts": {"type": ["string", "null"]},
"b_do_key": {"type": ["string", "null"]},
"b_billingno": {"type": ["string", "null"]},
"b_billingitem": {"type": ["number", "null"], "multipleOf": 1.0},
"b_billingamount": {"type": ["number", "null"], "multipleOf": 0.01},
"b_created_at": {"type": ["string", "null"]},
"etl_eventname": {"type": ["string", "null"]},
"etl_ts": {"type": ["string", "null"]}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment