changedOutput schema / properties / reasons / anyOf
Previous value: -[
- {
- "description": "Why the verdict is what it is",
- "items": {
- "additionalProperties": true,
- "properties": {
- "code": {
- "description": "Reason code, e.g. SPENDER_FLAGGED, UNLIMITED_ALLOWANCE, TOKEN_HONEYPOT",
- "type": "string"
- },
- "severity": {
- "description": "info, warn or critical",
- "type": "string"
- },
- "subject": {
- "description": "The address or item the reason is about",
- "type": "string"
- }
- },
- "required": [
- "code"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "description": "Why the verdict is what it is",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "code": {
+ "description": "Reason code, e.g. SPENDER_FLAGGED, UNLIMITED_ALLOWANCE, TOKEN_HONEYPOT",
+ "type": "string"
+ },
+ "severity": {
+ "description": "info, warn or critical",
+ "type": "string"
+ },
+ "subject": {
+ "description": "The address or item the reason is about (null or absent when it is about the whole request)",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "code"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+]