changedInput schema / properties / golden / items / properties / checks / items / oneOf
Previous value: -[
- {
- "properties": {
- "trim": {
- "default": true,
- "type": "boolean"
- },
- "type": {
- "const": "exact",
- "type": "string"
- },
- "value": {
- "type": "string"
- }
- },
- "required": [
- "type",
- "value"
- ],
- "type": "object"
- },
- {
- "properties": {
- "flags": {
- "type": "string"
- },
- "pattern": {
- "type": "string"
- },
- "type": {
- "const": "regex",
- "type": "string"
- }
- },
- "required": [
- "type",
- "pattern"
- ],
- "type": "object"
- },
- {
- "properties": {
- "caseSensitive": {
- "default": false,
- "type": "boolean"
- },
- "type": {
- "const": "contains",
- "type": "string"
- },
- "value": {
- "type": "string"
- }
- },
- "required": [
- "type",
- "value"
- ],
- "type": "object"
- },
- {
- "properties": {
- "schema": {
- "additionalProperties": {},
- "description": "JSON Schema the output must satisfy.",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "type": {
- "const": "json_schema",
- "type": "string"
- }
- },
- "required": [
- "type",
- "schema"
- ],
- "type": "object"
- },
- {
- "properties": {
- "max": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "min": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "type": {
- "const": "length",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "description": "The output must equal value, trimmed unless trim is false.",
+ "properties": {
+ "trim": {
+ "default": true,
+ "type": "boolean"
+ },
+ "type": {
+ "const": "exact",
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "The output must match the JavaScript regex pattern.",
+ "properties": {
+ "flags": {
+ "type": "string"
+ },
+ "pattern": {
+ "type": "string"
+ },
+ "type": {
+ "const": "regex",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "pattern"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "The output must contain value, case-insensitive by default.",
+ "properties": {
+ "caseSensitive": {
+ "default": false,
+ "type": "boolean"
+ },
+ "type": {
+ "const": "contains",
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "schema": {
+ "additionalProperties": {},
+ "description": "JSON Schema the output must satisfy.",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "type": {
+ "const": "json_schema",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "schema"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "The output length in characters must be within min and max.",
+ "properties": {
+ "max": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "min": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "type": {
+ "const": "length",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ }
+]