{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/iterruptivo-com/json-schema/iterruptivo-com-article-update-schema.json",
  "title": "ArticleUpdate",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/iterruptivo-com-openapi.json#/components/schemas/ArticleUpdate",
  "properties": {
    "slug": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255,
          "minLength": 1,
          "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Slug"
    },
    "title": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Title"
    },
    "excerpt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Excerpt"
    },
    "content": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Content"
    },
    "category": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "ai-dev",
            "devsecops",
            "build",
            "insights",
            "cyber",
            "cases",
            "tutorials"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Category"
    },
    "author": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Author"
    },
    "author_avatar": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Author Avatar"
    },
    "cover_image": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cover Image"
    },
    "tags": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tags"
    },
    "locale": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "es",
            "en"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Locale"
    },
    "status": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "draft",
            "review",
            "published",
            "archived"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Status"
    },
    "seo_title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Seo Title"
    },
    "seo_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Seo Description"
    },
    "translation_of": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255,
          "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Translation Of"
    }
  },
  "type": "object"
}