Skip to content

Commit

Permalink
Merge pull request #1 from DevopsAdrian/first_contract
Browse files Browse the repository at this point in the history
Added order details data contract
  • Loading branch information
DevopsAdrian authored Feb 23, 2024
2 parents cd37a34 + 3e6b90a commit 3a38cd1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions contracts/order_details.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
id: 7b7eabe6-a52a-4e19-8bf3-9015eadbbed0
dataAssetResourceName: postgres://prod.store.com:5432:tutorial.public.order_details
spec-version: 0.1.0
name: OrderDetails
namespace: Tutorial
doc: Details of items for an order. Each row represents the different items that were part of an order including their quantity and price.
owner: [email protected]
schema:
- name: order_id
doc: The identifier of the order the item is associated with
type: int32
- name: product_id
doc: The identifier of the product that was ordered
type: int32
- name: quantity
doc: The quantity of the product in the order
type: int32
- name: total_price
doc: The total price of the item in the order
type: decimal256
- name: vendor_id
doc: The identifier of the vendor that the product was ordered from
type: int32

0 comments on commit 3a38cd1

Please sign in to comment.