changedOutput schema / $defs / PlainValue / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "string"
- },
- "currency": {
- "description": "An ISO 4217 code.",
- "type": "string"
- },
- "kind": {
- "const": "money"
- }
- },
- "required": [
- "kind",
- "amount",
- "currency"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "quantity"
- },
- "places": {
- "description": "How many decimal places the rounding rule keeps; pad to it, never round.",
- "minimum": 0,
- "type": "integer"
- },
- "unit": {
- "type": "string"
- },
- "value": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "value",
- "unit"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "ratio"
- },
- "value": {
- "description": "A fraction: 0.13 is 13 %.",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "value"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "base": {
- "type": "string"
- },
- "kind": {
- "const": "rate"
- },
- "per": {
- "description": "`per` units of `base` cost `value` units of `quote`.",
- "type": "string"
- },
- "quote": {
- "type": "string"
- },
- "value": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "value",
- "base",
- "quote",
- "per"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "fractional": {
- "const": true
- },
- "grouping": {
- "const": false
- },
- "kind": {
- "const": "count"
- },
- "value": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "value"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "code"
- },
- "value": {
- "description": "A token from a fixed list the tool exports; the words for it are the copy key `<tool>.code.<value>`.",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "value"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "date"
- },
- "value": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "value"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": "string"
+ },
+ "currency": {
+ "description": "An ISO 4217 code.",
+ "type": "string"
+ },
+ "kind": {
+ "const": "money"
+ }
+ },
+ "required": [
+ "kind",
+ "amount",
+ "currency"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "quantity"
+ },
+ "places": {
+ "description": "How many decimal places the rounding rule keeps; pad to it, never round.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "unit": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "value",
+ "unit"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "ratio"
+ },
+ "places": {
+ "description": "How many decimal places of the fraction the rounding rule keeps; write the percentage padded to two fewer (0.2820 is 28.20 %), never round.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "value": {
+ "description": "A fraction: 0.13 is 13 %.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "base": {
+ "type": "string"
+ },
+ "kind": {
+ "const": "rate"
+ },
+ "per": {
+ "description": "`per` units of `base` cost `value` units of `quote`.",
+ "type": "string"
+ },
+ "quote": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "value",
+ "base",
+ "quote",
+ "per"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fractional": {
+ "const": true
+ },
+ "grouping": {
+ "const": false
+ },
+ "kind": {
+ "const": "count"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "code"
+ },
+ "value": {
+ "description": "A token from a fixed list the tool exports; the words for it are the copy key `<tool>.code.<value>`.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "date"
+ },
+ "value": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "identifier"
+ },
+ "value": {
+ "description": "A number that is data, such as a barcode number: write it as it is, keep its leading zeros, never group it.",
+ "pattern": "^[A-Za-z0-9]{1,32}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "value"
+ ],
+ "type": "object"
+ }
+]