You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
note that value and value_options fields are encoded as JSON-String types. This is done because the types vary and this is not easily handled in graphql.
get Model options
using source_logic_tree_spec field we can find the options applicable to each fault system branch
query get_model_by_version {
nzshm_model (version: "NSHM_1.0.0" ) {
model {
version
title
source_logic_tree_spec {
fault_system_branches {
short_name
long_name
branches {
name
long_name
value_options
}
}
}
}
}
}
We want an API query for logic tree components.
API examples:
note that
value
andvalue_options
fields are encoded as JSON-String types. This is done because the types vary and this is not easily handled in graphql.get Model options
using
source_logic_tree_spec
field we can find the options applicable to each fault system branchreturns
2) get Source Logic Tree
using
source_logic_tree
field to obtain the complete SLTreturns
The text was updated successfully, but these errors were encountered: