changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "format": {
+ "description": "Format every point was encoded in.",
+ "enum": [
+ "jpeg",
+ "webp",
+ "avif"
+ ],
+ "type": "string"
+ },
+ "original": {
+ "additionalProperties": false,
+ "description": "The image as supplied.",
+ "properties": {
+ "bytes": {
+ "description": "Original file size in bytes.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "height": {
+ "description": "Original height in px.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "width": {
+ "description": "Original width in px.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "width",
+ "height",
+ "bytes"
+ ],
+ "type": "object"
+ },
+ "points": {
+ "description": "The 14 fixed sample points, ascending by quality. The 'knee' -- where size stops dropping much per quality point -- is what this tool exists to locate. No image bytes are returned.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "bytes": {
+ "description": "Encoded size at that quality, in bytes.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "percentChange": {
+ "description": "Size against the original as a percentage; negative means smaller.",
+ "type": "number"
+ },
+ "quality": {
+ "description": "The quality level sampled.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "quality",
+ "bytes",
+ "percentChange"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "working": {
+ "additionalProperties": false,
+ "description": "The downscaled image every quality level was encoded from. The knee sits in the same place at either size, so this does not distort the curve.",
+ "properties": {
+ "height": {
+ "description": "Height the curve was measured at, in px.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "maxDimension": {
+ "description": "The longest-side cap that was applied before sampling.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "width": {
+ "description": "Width the curve was measured at, in px.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "width",
+ "height",
+ "maxDimension"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "format",
+ "original",
+ "working",
+ "points"
+ ],
+ "type": "object"
+}