oa_gateway_uci::validate

Module rules

Source

FunctionsΒ§

  • check πŸ”’
    Walks one node. Children are checked even when the parent already reported a violation, so a bad level does not hide the ones below.
  • check_max πŸ”’
  • check_value πŸ”’
    Check a leaf against the facets of the type it was declared as.
  • full πŸ”’
  • note πŸ”’
    Pushes a violation unless the report is already at MAX_VIOLATIONS.
  • Check message against schema, reporting everything that does not hold.
  • value_length πŸ”’
    How long text is, in the unit its primitive’s length facet uses.