Checks a policy document. A document that does not fit the schema, or contradicts itself (a refresh interval above
the maximum status age, an authority check without the claim, a fixed amount without a value), is POLICY_INVALID.
A well-formed document that goes beyond what its risk class allows (channels, maximum status age, one-way token
lifetime, biometric requirement) is POLICY_CLASS_CAP_EXCEEDED. The returned policy is a copy of the input.
Checks a policy document. A document that does not fit the schema, or contradicts itself (a refresh interval above the maximum status age, an authority check without the claim, a fixed amount without a value), is
POLICY_INVALID. A well-formed document that goes beyond what its risk class allows (channels, maximum status age, one-way token lifetime, biometric requirement) isPOLICY_CLASS_CAP_EXCEEDED. The returned policy is a copy of the input.