Skip to content

Commit 987d212

Browse files
authored
Merge pull request #47 from pflooky/fix-is-primary-key-examples
Some examples included 'isPrimary', it should be 'isPrimaryKey' as pr…
2 parents 28da747 + ed212a6 commit 987d212

File tree

16 files changed

+51
-51
lines changed

16 files changed

+51
-51
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
1+
.idea
22
.DS_Store
33
.idea

docs/examples/all/full-example.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ dataset:
5353
dataGranularity: Aggregation on columns txn_ref_dt, pmt_txn_id
5454
columns:
5555
- column: txn_ref_dt
56-
isPrimary: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
56+
isPrimaryKey: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
5757
primaryKeyPosition: -1
5858
businessName: transaction reference date
5959
logicalType: date
@@ -77,7 +77,7 @@ dataset:
7777
- 2022-10-03
7878
- 2020-01-28
7979
- column: rcvr_id
80-
isPrimary: true # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
80+
isPrimaryKey: true # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
8181
primaryKeyPosition: 1
8282
businessName: receiver id
8383
logicalType: string
@@ -92,7 +92,7 @@ dataset:
9292
tags: []
9393
classification: restricted
9494
- column: rcvr_cntry_code
95-
isPrimary: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
95+
isPrimaryKey: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
9696
primaryKeyPosition: -1
9797
businessName: receiver country code
9898
logicalType: string

docs/examples/quality/column-completeness.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dataset:
1414
dataGranularity: Raw records
1515
columns:
1616
- column: UniqueID
17-
isPrimary: true
17+
isPrimaryKey: true
1818
businessName: Unique identifier
1919
logicalType: number
2020
physicalType: int

docs/examples/quality/column-validity.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dataset:
1414
dataGranularity: Raw records
1515
columns:
1616
- column: UniqueID
17-
isPrimary: true
17+
isPrimaryKey: true
1818
businessName: Unique identifier
1919
logicalType: number
2020
physicalType: int

docs/standard.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ dataset:
124124
dataGranularity: Aggregation on columns txn_ref_dt, pmt_txn_id
125125
columns:
126126
- column: txn_ref_dt
127-
isPrimary: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
127+
isPrimaryKey: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
128128
primaryKeyPosition: -1
129129
businessName: transaction reference date
130130
logicalType: date
@@ -148,7 +148,7 @@ dataset:
148148
- 2022-10-03
149149
- 2020-01-28
150150
- column: rcvr_id
151-
isPrimary: true # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
151+
isPrimaryKey: true # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
152152
primaryKeyPosition: 1
153153
businessName: receiver id
154154
logicalType: string
@@ -164,7 +164,7 @@ dataset:
164164
classification: restricted
165165
encryptedColumnName: enc_rcvr_id
166166
- column: rcvr_cntry_code
167-
isPrimary: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
167+
isPrimaryKey: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
168168
primaryKeyPosition: -1
169169
businessName: receiver country code
170170
logicalType: string
@@ -298,7 +298,7 @@ dataset:
298298
dataset:
299299
- table: tab1
300300
- column: rcvr_id
301-
isPrimary: true # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
301+
isPrimaryKey: true # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
302302
businessName: receiver id
303303
# ...
304304
quality:

site/404.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616

17-
<link rel="icon" href="/open-data-contract-standard/v2.2.1/img/Bitol_Logo_icon_color.svg">
17+
<link rel="icon" href="/open-data-contract-standard/img/Bitol_Logo_icon_color.svg">
1818
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.4.2+insiders-4.42.0">
1919

2020

@@ -23,10 +23,10 @@
2323

2424

2525

26-
<link rel="stylesheet" href="/open-data-contract-standard/v2.2.1/assets/stylesheets/main.63a9ca82.min.css">
26+
<link rel="stylesheet" href="/open-data-contract-standard/assets/stylesheets/main.63a9ca82.min.css">
2727

2828

29-
<link rel="stylesheet" href="/open-data-contract-standard/v2.2.1/assets/stylesheets/palette.46987102.min.css">
29+
<link rel="stylesheet" href="/open-data-contract-standard/assets/stylesheets/palette.46987102.min.css">
3030

3131

3232

@@ -45,7 +45,7 @@
4545

4646

4747

48-
<script>__md_scope=new URL("/open-data-contract-standard/v2.2.1",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
48+
<script>__md_scope=new URL("/open-data-contract-standard/",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
4949

5050

5151

@@ -81,9 +81,9 @@
8181

8282
<header class="md-header" data-md-component="header">
8383
<nav class="md-header__inner md-grid" aria-label="Header">
84-
<a href="/open-data-contract-standard/v2.2.1/." title="Open Data Contract Standard" class="md-header__button md-logo" aria-label="Open Data Contract Standard" data-md-component="logo">
84+
<a href="/open-data-contract-standard/." title="Open Data Contract Standard" class="md-header__button md-logo" aria-label="Open Data Contract Standard" data-md-component="logo">
8585

86-
<img src="/open-data-contract-standard/v2.2.1/img/Bitol_Logo_icon_color.svg" alt="logo">
86+
<img src="/open-data-contract-standard/img/Bitol_Logo_icon_color.svg" alt="logo">
8787

8888
</a>
8989
<label class="md-header__button md-icon" for="__drawer">
@@ -181,7 +181,7 @@
181181

182182

183183
<li class="md-tabs__item">
184-
<a href="/open-data-contract-standard/v2.2.1/." class="md-tabs__link">
184+
<a href="/open-data-contract-standard/." class="md-tabs__link">
185185

186186

187187

@@ -198,7 +198,7 @@
198198

199199

200200
<li class="md-tabs__item">
201-
<a href="/open-data-contract-standard/v2.2.1/standard/" class="md-tabs__link">
201+
<a href="/open-data-contract-standard/standard/" class="md-tabs__link">
202202

203203

204204

@@ -215,7 +215,7 @@
215215

216216

217217
<li class="md-tabs__item">
218-
<a href="/open-data-contract-standard/v2.2.1/examples/" class="md-tabs__link">
218+
<a href="/open-data-contract-standard/examples/" class="md-tabs__link">
219219

220220

221221

@@ -232,7 +232,7 @@
232232

233233

234234
<li class="md-tabs__item">
235-
<a href="/open-data-contract-standard/v2.2.1/contributing/" class="md-tabs__link">
235+
<a href="/open-data-contract-standard/contributing/" class="md-tabs__link">
236236

237237

238238

@@ -268,9 +268,9 @@
268268

269269
<nav class="md-nav md-nav--primary md-nav--lifted md-nav--integrated" aria-label="Navigation" data-md-level="0">
270270
<label class="md-nav__title" for="__drawer">
271-
<a href="/open-data-contract-standard/v2.2.1/." title="Open Data Contract Standard" class="md-nav__button md-logo" aria-label="Open Data Contract Standard" data-md-component="logo">
271+
<a href="/open-data-contract-standard/." title="Open Data Contract Standard" class="md-nav__button md-logo" aria-label="Open Data Contract Standard" data-md-component="logo">
272272

273-
<img src="/open-data-contract-standard/v2.2.1/img/Bitol_Logo_icon_color.svg" alt="logo">
273+
<img src="/open-data-contract-standard/img/Bitol_Logo_icon_color.svg" alt="logo">
274274

275275
</a>
276276
Open Data Contract Standard
@@ -296,7 +296,7 @@
296296

297297

298298
<li class="md-nav__item">
299-
<a href="/open-data-contract-standard/v2.2.1/." class="md-nav__link">
299+
<a href="/open-data-contract-standard/." class="md-nav__link">
300300

301301

302302
<span class="md-ellipsis">
@@ -321,7 +321,7 @@
321321

322322

323323
<li class="md-nav__item">
324-
<a href="/open-data-contract-standard/v2.2.1/standard/" class="md-nav__link">
324+
<a href="/open-data-contract-standard/standard/" class="md-nav__link">
325325

326326

327327
<span class="md-ellipsis">
@@ -346,7 +346,7 @@
346346

347347

348348
<li class="md-nav__item">
349-
<a href="/open-data-contract-standard/v2.2.1/examples/" class="md-nav__link">
349+
<a href="/open-data-contract-standard/examples/" class="md-nav__link">
350350

351351

352352
<span class="md-ellipsis">
@@ -371,7 +371,7 @@
371371

372372

373373
<li class="md-nav__item">
374-
<a href="/open-data-contract-standard/v2.2.1/contributing/" class="md-nav__link">
374+
<a href="/open-data-contract-standard/contributing/" class="md-nav__link">
375375

376376

377377
<span class="md-ellipsis">
@@ -493,12 +493,12 @@ <h1>404 - Not found</h1>
493493
</div>
494494

495495

496-
<script id="__config" type="application/json">{"base": "/open-data-contract-standard/v2.2.1", "features": ["navigation.tabs", "navigation.sections", "navigation.instant", "navigation.instant.prefetch", "navigation.tracking", "navigation.top", "navigation.footer", "navigation.path", "content.code.copy", "content.code.select", "content.tabs.link", "toc.integrate", "toc.follow"], "search": "/open-data-contract-standard/v2.2.1/assets/javascripts/workers/search.f2da59ea.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": {"provider": "mike"}}</script>
496+
<script id="__config" type="application/json">{"base": "/open-data-contract-standard/", "features": ["navigation.tabs", "navigation.sections", "navigation.instant", "navigation.instant.prefetch", "navigation.tracking", "navigation.top", "navigation.footer", "navigation.path", "content.code.copy", "content.code.select", "content.tabs.link", "toc.integrate", "toc.follow"], "search": "/open-data-contract-standard/assets/javascripts/workers/search.f2da59ea.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": {"provider": "mike"}}</script>
497497

498498

499-
<script src="/open-data-contract-standard/v2.2.1/assets/javascripts/bundle.ef51cdc3.min.js"></script>
499+
<script src="/open-data-contract-standard/assets/javascripts/bundle.ef51cdc3.min.js"></script>
500500

501-
<script src="/open-data-contract-standard/v2.2.1/js/open_in_new_tab.js"></script>
501+
<script src="/open-data-contract-standard/js/open_in_new_tab.js"></script>
502502

503503

504504
</body>

site/contributing/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010

11-
<link rel="canonical" href="https://pflooky.github.io/open-data-contract-standard/v2.2.1/contributing/">
11+
<link rel="canonical" href="https://pflooky.github.io/open-data-contract-standard/contributing/">
1212

1313

1414
<link rel="prev" href="../examples/">

site/examples/all/full-example.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ dataset:
5353
dataGranularity: Aggregation on columns txn_ref_dt, pmt_txn_id
5454
columns:
5555
- column: txn_ref_dt
56-
isPrimary: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
56+
isPrimaryKey: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
5757
primaryKeyPosition: -1
5858
businessName: transaction reference date
5959
logicalType: date
@@ -77,7 +77,7 @@ dataset:
7777
- 2022-10-03
7878
- 2020-01-28
7979
- column: rcvr_id
80-
isPrimary: true # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
80+
isPrimaryKey: true # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
8181
primaryKeyPosition: 1
8282
businessName: receiver id
8383
logicalType: string
@@ -92,7 +92,7 @@ dataset:
9292
tags: []
9393
classification: restricted
9494
- column: rcvr_cntry_code
95-
isPrimary: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
95+
isPrimaryKey: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table.
9696
primaryKeyPosition: -1
9797
businessName: receiver country code
9898
logicalType: string

site/examples/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010

11-
<link rel="canonical" href="https://pflooky.github.io/open-data-contract-standard/v2.2.1/examples/">
11+
<link rel="canonical" href="https://pflooky.github.io/open-data-contract-standard/examples/">
1212

1313

1414
<link rel="prev" href="../standard/">

site/examples/quality/column-completeness.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dataset:
1414
dataGranularity: Raw records
1515
columns:
1616
- column: UniqueID
17-
isPrimary: true
17+
isPrimaryKey: true
1818
businessName: Unique identifier
1919
logicalType: number
2020
physicalType: int

0 commit comments

Comments
 (0)