{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/memesio/main/json-structure/memesio-captioninput-structure.json",
  "name": "CaptionInput",
  "description": "JSON Schema for Memesio CaptionInput, extracted from https://memesio.com/api/openapi (Memesio API Contracts v0.1.0).",
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 64
    },
    "text": {
      "type": "string",
      "maxLength": 300
    },
    "x": {
      "type": "double"
    },
    "y": {
      "type": "double"
    },
    "fontSize": {
      "type": "double"
    },
    "boxWidthPct": {
      "type": "double"
    },
    "boxHeightPct": {
      "type": "double"
    },
    "maxLines": {
      "type": "int32",
      "minimum": 1
    },
    "textAlign": {
      "type": "string",
      "enum": [
        "left",
        "center",
        "right"
      ]
    },
    "fontFamily": {
      "type": "string",
      "enum": [
        "impact",
        "arial"
      ]
    }
  }
}