forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contract.graphql
53 lines (50 loc) · 965 Bytes
/
contract.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
fragment contractAssertionParameters on AssertionStdParameters {
value {
value
type
}
minValue {
value
type
}
maxValue {
value
type
}
}
fragment dataContractDetails on DataContract {
urn
type
properties {
freshness {
assertion {
...assertionDetailsWithRunEvents
}
}
schema {
assertion {
...assertionDetailsWithRunEvents
}
}
dataQuality {
assertion {
...assertionDetailsWithRunEvents
}
}
}
status {
state
}
}
query getDatasetContract($urn: String!) {
dataset(urn: $urn) {
contract {
...dataContractDetails
}
}
}
mutation upsertDataContract($input: UpsertDataContractInput!) {
upsertDataContract(input: $input) {
...dataContractDetails
}
}