{
  "$ref": "#/definitions/posts",
  "definitions": {
    "posts": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "maxLength": 100
        },
        "date": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "string",
              "format": "date"
            },
            {
              "type": "integer",
              "format": "unix-time"
            }
          ]
        },
        "author": {
          "type": "string"
        },
        "locale": {
          "type": "string",
          "enum": [
            "de",
            "en",
            "fr",
            "it"
          ]
        },
        "summary": {
          "type": "string",
          "maxLength": 200
        },
        "capabilities": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "cloud",
              "virtualization",
              "containers",
              "data-management",
              "storage",
              "backup-recovery",
              "network",
              "security",
              "endpoint-security",
              "modern-workplace",
              "automation",
              "devops",
              "managed-services",
              "monitoring",
              "architecture",
              "strategy",
              "migration",
              "ai"
            ]
          }
        },
        "vendors": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "vmware",
              "omnissa",
              "hpe",
              "microsoft",
              "morpheus",
              "igel",
              "ibm",
              "veeam"
            ]
          },
          "default": []
        },
        "series": {
          "type": "string",
          "enum": [
            "how-to",
            "scripting",
            "product-overview",
            "lessons-learned",
            "community",
            "event",
            "homelab",
            "announcement"
          ]
        },
        "hero": {
          "type": "string"
        },
        "legacySlug": {
          "type": "string"
        },
        "migrated": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "string",
              "format": "date"
            },
            {
              "type": "integer",
              "format": "unix-time"
            }
          ]
        },
        "comments": {
          "type": "number"
        },
        "noticeKind": {
          "type": "string",
          "enum": [
            "superseded",
            "updated",
            "warning",
            "info"
          ]
        },
        "noticeText": {
          "type": "string",
          "maxLength": 400
        },
        "noticeHref": {
          "type": "string"
        },
        "noticeLabel": {
          "type": "string",
          "maxLength": 80
        },
        "translationReviewed": {
          "type": "boolean"
        },
        "draft": {
          "type": "boolean",
          "default": false
        }
      },
      "required": [
        "title",
        "date",
        "author",
        "locale",
        "summary",
        "capabilities"
      ],
      "additionalProperties": false
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}