mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-03 14:57:53 +00:00
54 lines
965 B
GraphQL
54 lines
965 B
GraphQL
![]() |
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
|
||
|
}
|
||
|
}
|