Skip to content

Commit be748a0

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/develop/1.2.1'
2 parents 24c633d + 5a08fad commit be748a0

2 files changed

Lines changed: 19 additions & 35 deletions

File tree

datacontract.schema.json

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1858,30 +1858,18 @@
18581858
},
18591859
{
18601860
"if": {
1861-
"anyOf": [
1862-
{
1863-
"properties": {
1864-
"type": {
1865-
"const": "library"
1866-
}
1867-
}
1868-
},
1869-
{
1870-
"properties": {
1871-
"metric": {
1872-
"type": "string"
1873-
}
1874-
},
1875-
"required": ["metric"]
1861+
"properties": {
1862+
"type": {
1863+
"const": "library"
18761864
}
1877-
]
1865+
}
18781866
},
18791867
"then": {
18801868
"properties": {
18811869
"metric": {
18821870
"type": "string",
18831871
"description": "The DataQualityLibrary metric to use for the quality check.",
1884-
"enum": ["nullValues", "missingValues", "invalidValues", "duplicateValues", "rowCount"]
1872+
"examples": ["nullValues", "missingValues", "invalidValues", "duplicateValues", "rowCount"]
18851873
},
18861874
"rule": {
18871875
"type": "string",

versions/1.2.1/datacontract.schema.json

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1817,13 +1817,21 @@
18171817
"mustBeGreaterThan": {
18181818
"type": "number"
18191819
},
1820-
"mustBeGreaterThanOrEqualTo": {
1820+
"mustBeGreaterOrEqualTo": {
18211821
"type": "number"
18221822
},
1823+
"mustBeGreaterThanOrEqualTo": {
1824+
"type": "number",
1825+
"deprecated": true
1826+
},
18231827
"mustBeLessThan": {
18241828
"type": "number"
18251829
},
18261830
"mustBeLessThanOrEqualTo": {
1831+
"type": "number",
1832+
"deprecated": true
1833+
},
1834+
"mustBeLessOrEqualTo": {
18271835
"type": "number"
18281836
},
18291837
"mustBeBetween": {
@@ -1850,30 +1858,18 @@
18501858
},
18511859
{
18521860
"if": {
1853-
"anyOf": [
1854-
{
1855-
"properties": {
1856-
"type": {
1857-
"const": "library"
1858-
}
1859-
}
1860-
},
1861-
{
1862-
"properties": {
1863-
"metric": {
1864-
"type": "string"
1865-
}
1866-
},
1867-
"required": ["metric"]
1861+
"properties": {
1862+
"type": {
1863+
"const": "library"
18681864
}
1869-
]
1865+
}
18701866
},
18711867
"then": {
18721868
"properties": {
18731869
"metric": {
18741870
"type": "string",
18751871
"description": "The DataQualityLibrary metric to use for the quality check.",
1876-
"enum": ["nullValues", "missingValues", "invalidValues", "duplicateValues", "rowCount"]
1872+
"examples": ["nullValues", "missingValues", "invalidValues", "duplicateValues", "rowCount"]
18771873
},
18781874
"rule": {
18791875
"type": "string",

0 commit comments

Comments
 (0)