{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coloringbookify-com/json-schema/coloringbookify-com-print-format-list-envelope-schema.json",
  "title": "PrintFormatListEnvelope",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coloringbookify-com-print-api-openapi.yml#/components/schemas/PrintFormatListEnvelope",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PrintFormat"
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "image_aspects": {
          "type": "object",
          "additionalProperties": true
        },
        "defaults": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    }
  },
  "$defs": {
    "Dimensions": {
      "type": "object",
      "required": [
        "width",
        "height"
      ],
      "properties": {
        "width": {
          "type": "number"
        },
        "height": {
          "type": "number"
        }
      }
    },
    "PrintFormat": {
      "type": "object",
      "required": [
        "id",
        "aspect",
        "trim_inches",
        "trim_centimeters",
        "recommended"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "aspect": {
          "type": "string",
          "enum": [
            "square",
            "portrait",
            "landscape"
          ]
        },
        "trim_inches": {
          "$ref": "#/$defs/Dimensions"
        },
        "trim_centimeters": {
          "$ref": "#/$defs/Dimensions"
        },
        "recommended": {
          "type": "boolean"
        },
        "recommendation": {
          "type": "string"
        }
      }
    }
  }
}