changedInput schema / properties / items / anyOf
Previous value: -[
- {
- "description": "Needed: the items, up to 50.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "daysCovered": {
- "anyOf": [
- {
- "description": "This item's days covered. Left out, the list's daysCovered.",
- "exclusiveMinimum": 0,
- "maximum": 60,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "name": {
- "anyOf": [
- {
- "description": "Optional: the item.",
- "maxLength": 60,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "onHand": {
- "anyOf": [
- {
- "description": "Units on hand when the order is placed. Needed.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "packSize": {
- "anyOf": [
- {
- "description": "Optional: units in one pack. With it, the order is whole packs.",
- "exclusiveMinimum": 0,
- "maximum": 1000000000,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "safety": {
- "anyOf": [
- {
- "description": "Optional: units kept on top for a busy day or a late truck. Left out, 0.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "unit": {
- "anyOf": [
- {
- "description": "Optional: the unit, such as lb or each.",
- "maxLength": 60,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "usePerDay": {
- "anyOf": [
- {
- "description": "Units used in a day open. Needed, or usePerWeek.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "usePerWeek": {
- "anyOf": [
- {
- "description": "Units used in a week: divided by daysOpenPerWeek. Not used when usePerDay is sent.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "description": "Needed: the items, up to 50.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "daysCovered": {
+ "anyOf": [
+ {
+ "description": "This item's days covered. Left out, the list's daysCovered.",
+ "exclusiveMinimum": 0,
+ "maximum": 60,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "anyOf": [
+ {
+ "description": "Optional: the item.",
+ "maxLength": 60,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "onHand": {
+ "anyOf": [
+ {
+ "description": "Units on hand when the order is placed. Needed.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "packSize": {
+ "anyOf": [
+ {
+ "description": "Optional: units in one pack, to 3 decimals. With it, the order is whole packs.",
+ "exclusiveMinimum": 0,
+ "maximum": 1000000000,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "safety": {
+ "anyOf": [
+ {
+ "description": "Optional: units kept on top for a busy day or a late truck. Left out, 0.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "unit": {
+ "anyOf": [
+ {
+ "description": "Optional: the unit, such as lb or each.",
+ "maxLength": 60,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "usePerDay": {
+ "anyOf": [
+ {
+ "description": "Units used in a day open. Needed, or usePerWeek.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "usePerWeek": {
+ "anyOf": [
+ {
+ "description": "Units used in a week: divided by daysOpenPerWeek. Not used when usePerDay is sent.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+]