[x] Provide mapping from logic tree parameters to inversion solution ID
[x] provide list of available values for each argument in query
64 is now standalone
API examples:
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.
64 is now standalone
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