changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "card": {
+ "additionalProperties": false,
+ "properties": {
+ "backgroundId": {
+ "maxLength": 100,
+ "pattern": "^[\\w-]+$",
+ "type": "string"
+ },
+ "emoji": {
+ "enum": [
+ "none",
+ "hearts",
+ "flowers",
+ "stars",
+ "bear",
+ "bow",
+ "balloons"
+ ],
+ "type": "string"
+ },
+ "indices": {
+ "items": [
+ {
+ "maximum": 1000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "maximum": 1000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "maximum": 1000,
+ "minimum": 0,
+ "type": "integer"
+ }
+ ],
+ "maxItems": 3,
+ "minItems": 3,
+ "type": "array"
+ },
+ "locale": {
+ "enum": [
+ "it",
+ "en",
+ "fr",
+ "es",
+ "de",
+ "pt",
+ "ar",
+ "zh",
+ "ja",
+ "ko",
+ "th",
+ "ru",
+ "hi"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "const": "",
+ "type": "string"
+ },
+ "occasion": {
+ "enum": [
+ "morning",
+ "afternoon",
+ "evening",
+ "night",
+ "birthday",
+ "congratulations",
+ "christmas",
+ "newyear",
+ "lunarnewyear",
+ "mothersday",
+ "fathersday",
+ "weddinganniversary",
+ "anniversary",
+ "ramadan",
+ "eid",
+ "thankyou",
+ "getwell",
+ "wedding",
+ "newbaby",
+ "graduation"
+ ],
+ "type": "string"
+ },
+ "stickers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "enum": [
+ "bear",
+ "bow",
+ "hearts",
+ "flowers",
+ "balloons",
+ "stars"
+ ],
+ "type": "string"
+ },
+ "position": {
+ "enum": [
+ "topLeft",
+ "topRight",
+ "bottomLeft",
+ "bottomRight"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "position"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "style": {
+ "enum": [
+ "sweet",
+ "cheerful",
+ "simple"
+ ],
+ "type": "string"
+ },
+ "version": {
+ "const": 1,
+ "type": "number"
+ }
+ },
+ "required": [
+ "version",
+ "locale",
+ "occasion",
+ "indices",
+ "name",
+ "backgroundId",
+ "style",
+ "emoji",
+ "stickers"
+ ],
+ "type": "object"
+ },
+ "code": {
+ "maxLength": 100,
+ "pattern": "^(?:it|en|fr|es|de|pt|ar|zh|ja|ko|th|ru|hi):(?:morning|afternoon|evening|night|birthday|congratulations|christmas|newyear|lunarnewyear|mothersday|fathersday|weddinganniversary|anniversary|ramadan|eid|thankyou|getwell|wedding|newbaby|graduation):\\d+:\\d+:\\d+$",
+ "type": "string"
+ },
+ "editUrl": {
+ "format": "uri",
+ "pattern": "^https:\\/\\/generategreetings\\.com\\/s\\/[A-Za-z0-9_-]{24}\\?utm_source=(?:chatgpt|claude|mcp)&utm_medium=referral&utm_campaign=(?:morning|afternoon|evening|night|birthday|congratulations|christmas|newyear|lunarnewyear|mothersday|fathersday|weddinganniversary|anniversary|ramadan|eid|thankyou|getwell|wedding|newbaby|graduation)&utm_content=card$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "format": {
+ "enum": [
+ "9:16",
+ "4:5",
+ "1:1",
+ "16:9"
+ ],
+ "type": "string"
+ },
+ "imageUrl": {
+ "format": "uri",
+ "pattern": "^https:\\/\\/generategreetings\\.com\\/s\\/[A-Za-z0-9_-]{24}\\/image\\?format=(?:9%3A16|4%3A5|1%3A1|16%3A9)$",
+ "type": "string"
+ },
+ "linkOmitsName": {
+ "const": true,
+ "type": "boolean"
+ },
+ "locale": {
+ "enum": [
+ "it",
+ "en",
+ "fr",
+ "es",
+ "de",
+ "pt",
+ "ar",
+ "zh",
+ "ja",
+ "ko",
+ "th",
+ "ru",
+ "hi"
+ ],
+ "type": "string"
+ },
+ "nameIncludedInImage": {
+ "type": "boolean"
+ },
+ "occasion": {
+ "enum": [
+ "morning",
+ "afternoon",
+ "evening",
+ "night",
+ "birthday",
+ "congratulations",
+ "christmas",
+ "newyear",
+ "lunarnewyear",
+ "mothersday",
+ "fathersday",
+ "weddinganniversary",
+ "anniversary",
+ "ramadan",
+ "eid",
+ "thankyou",
+ "getwell",
+ "wedding",
+ "newbaby",
+ "graduation"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 6000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "text",
+ "code",
+ "locale",
+ "occasion",
+ "card",
+ "format",
+ "editUrl",
+ "imageUrl",
+ "expiresAt",
+ "nameIncludedInImage",
+ "linkOmitsName"
+ ],
+ "type": "object"
+}