Memesio · Schema

MemeCaption

JSON Schema for Memesio MemeCaption, extracted from https://memesio.com/api/openapi (Memesio API Contracts v0.1.0).

MemesMediaImage GenerationContentDeveloper Tools

Properties

Name Type Description
id string
text string
x number
y number
fontSize number
rotationDeg number
hidden boolean
locked boolean
boxWidthPct number
boxHeightPct number
paddingPct number
maxLines integer
lineHeight number
backgroundEnabled boolean
backgroundColor string
backgroundOpacity number
letterSpacingEm number
shadowStrength number
color string
stroke string
fontFamily string
textAlign string
semanticRole string
preferredCase string
exampleText string
recommendedWordsMin integer
recommendedWordsMax integer
recommendedCharsMin integer
recommendedCharsMax integer
View JSON Schema on GitHub

JSON Schema

memesio-meme-caption-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/memesio/main/json-schema/memesio-memecaption-schema.json",
  "title": "MemeCaption",
  "description": "JSON Schema for Memesio MemeCaption, extracted from https://memesio.com/api/openapi (Memesio API Contracts v0.1.0).",
  "type": "object",
  "required": [
    "id",
    "text",
    "x",
    "y",
    "fontSize"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "text": {
      "type": "string"
    },
    "x": {
      "type": "number"
    },
    "y": {
      "type": "number"
    },
    "fontSize": {
      "type": "number"
    },
    "rotationDeg": {
      "type": "number"
    },
    "hidden": {
      "type": "boolean"
    },
    "locked": {
      "type": "boolean"
    },
    "boxWidthPct": {
      "type": "number"
    },
    "boxHeightPct": {
      "type": "number"
    },
    "paddingPct": {
      "type": "number"
    },
    "maxLines": {
      "type": "integer"
    },
    "lineHeight": {
      "type": "number"
    },
    "backgroundEnabled": {
      "type": "boolean"
    },
    "backgroundColor": {
      "type": "string"
    },
    "backgroundOpacity": {
      "type": "number"
    },
    "letterSpacingEm": {
      "type": "number"
    },
    "shadowStrength": {
      "type": "number"
    },
    "color": {
      "type": "string"
    },
    "stroke": {
      "type": "string"
    },
    "fontFamily": {
      "type": "string",
      "enum": [
        "impact",
        "arial"
      ]
    },
    "textAlign": {
      "type": "string",
      "enum": [
        "left",
        "center",
        "right"
      ]
    },
    "semanticRole": {
      "type": "string",
      "enum": [
        "setup",
        "contrast",
        "punchline",
        "reaction",
        "label"
      ]
    },
    "preferredCase": {
      "type": "string",
      "enum": [
        "uppercase",
        "sentence",
        "title",
        "preserve"
      ]
    },
    "exampleText": {
      "type": "string"
    },
    "recommendedWordsMin": {
      "type": "integer",
      "minimum": 1
    },
    "recommendedWordsMax": {
      "type": "integer",
      "minimum": 1
    },
    "recommendedCharsMin": {
      "type": "integer",
      "minimum": 1
    },
    "recommendedCharsMax": {
      "type": "integer",
      "minimum": 1
    }
  }
}