mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-30 04:45:28 +00:00
59 lines
1.0 KiB
GraphQL
59 lines
1.0 KiB
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
|
|
}
|
|
structuredProperties {
|
|
properties {
|
|
...structuredPropertiesFields
|
|
}
|
|
}
|
|
}
|
|
|
|
query getDatasetContract($urn: String!) {
|
|
dataset(urn: $urn) {
|
|
contract {
|
|
...dataContractDetails
|
|
}
|
|
}
|
|
}
|
|
|
|
mutation upsertDataContract($input: UpsertDataContractInput!) {
|
|
upsertDataContract(input: $input) {
|
|
...dataContractDetails
|
|
}
|
|
}
|