Skip to content

Commit 18fed3c

Browse files
committed
add sample tags in contract readme examples
1 parent 66b46a3 commit 18fed3c

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

docs/examples/all/full-example.odcs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ schema:
3535
type: businessDefinition
3636
- url: https://youtu.be/jbY1BKFj9ec
3737
type: videoTutorial
38-
tags: [ ]
38+
tags: [ 'finance', 'payments']
3939
dataGranularityDescription: Aggregation on columns txn_ref_dt, pmt_txn_id
4040
properties:
4141
- name: txn_ref_dt
@@ -74,7 +74,7 @@ schema:
7474
partitioned: false
7575
partitionKeyPosition: -1
7676
criticalDataElement: false
77-
tags: [ ]
77+
tags: [ 'uid' ]
7878
classification: restricted
7979
- name: rcvr_cntry_code
8080
primaryKey: false

docs/examples/all/postgresql-adventureworks-contract.odcs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ schema:
8282
criticalDataElement: false
8383
primaryKey: false
8484
required: false
85+
tag: ['sensitive']
8586
- name: "loginid"
8687
logicalType: "string"
8788
physicalType: "varchar[256]"
@@ -115,6 +116,7 @@ schema:
115116
criticalDataElement: false
116117
primaryKey: false
117118
required: false
119+
tag: ['sensitive']
118120
- name: "maritalstatus"
119121
logicalType: "string"
120122
physicalType: "bpchar"

docs/examples/quality/column-completeness.odcs.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ schema:
1313
type: Reference definition on Data.gov
1414
dataGranularityDescription: Raw records
1515
physicalType: table
16+
tags: ['nyc', 'regional']
1617
properties:
1718
- name: UniqueID
1819
primaryKey: true
@@ -24,4 +25,5 @@ schema:
2425
dimension: completeness
2526
severity: error
2627
rule: nullCheck
27-
businessImpact: operational
28+
businessImpact: operational
29+

docs/examples/schema/all-schema-types.odcs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ schema:
1515
type: businessDefinition
1616
- url: https://youtu.be/jbY1BKFj9ec
1717
type: videoTutorial
18-
tags: []
18+
tags: ['finance']
1919
dataGranularityDescription: Aggregation on columns txn_ref_dt, pmt_txn_id
2020
properties:
2121
- name: txn_ref_dt

0 commit comments

Comments
 (0)