Requirement 2.6
The provider SHOULD populate the flag resolution structure's reason field with "DEFAULT", "TARGETING_MATCH", "SPLIT", "DISABLED", "UNKNOWN", "ERROR" or some other string indicating the semantic reason for the returned flag value.
As indicated in the definition of the flag resolution structure, the reason should be a string. This allows providers to reflect accurately why a flag was resolved to a particular value.
https://docs.openfeature.dev/docs/specification/sections/providers#requirement-26
Requirement 2.6 The provider SHOULD populate the flag resolution structure's reason field with "DEFAULT", "TARGETING_MATCH", "SPLIT", "DISABLED", "UNKNOWN", "ERROR" or some other string indicating the semantic reason for the returned flag value.
As indicated in the definition of the flag resolution structure, the reason should be a string. This allows providers to reflect accurately why a flag was resolved to a particular value.
Reference Provider (JAVA): https://github.com/splitio/split-openfeature-provider-java/blob/main/src/main/java/io/split/openfeature/SplitProvider.java
Conventions Checklist: https://docs.openfeature.dev/docs/reference/concepts/provider/#checklist