{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/woopsocial-com/json-schema/woopsocial-com-validate-post-response-schema.json",
  "title": "ValidatePostResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/woopsocial-com-out-openapi-openapi.yml#/components/schemas/ValidatePostResponse",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "isValid",
    "errors",
    "warnings"
  ],
  "properties": {
    "isValid": {
      "type": "boolean",
      "description": "Whether the request passed validation."
    },
    "errors": {
      "type": "array",
      "description": "Blocking validation errors. Empty when the request is valid.",
      "items": {
        "$ref": "#/$defs/ValidationError"
      }
    },
    "warnings": {
      "type": "array",
      "description": "Non-blocking validation warnings. Empty when there are no warnings.",
      "items": {
        "$ref": "#/$defs/ValidationWarning"
      }
    }
  },
  "$defs": {
    "ValidationError": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "path",
        "message"
      ],
      "properties": {
        "path": {
          "type": "string",
          "description": "JSON path to the invalid input."
        },
        "field": {
          "$ref": "#/$defs/ValidationField",
          "description": "Machine-readable validation field identifier.\n"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "ValidationField": {
      "type": "string",
      "enum": [
        "DESCRIPTION",
        "MEDIA",
        "PINTEREST_BOARD",
        "CONTENT",
        "TITLE",
        "FIRST_COMMENT",
        "TIKTOK_PRIVACY_LEVEL",
        "TIKTOK_CONTENT_DISCLOSURE",
        "YOUTUBE_PRIVACY",
        "YOUTUBE_CATEGORY",
        "YOUTUBE_TAGS",
        "SCHEDULE"
      ]
    },
    "ValidationWarning": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "path",
        "message"
      ],
      "properties": {
        "path": {
          "type": "string",
          "description": "JSON path related to the warning."
        },
        "field": {
          "$ref": "#/$defs/ValidationField",
          "description": "Machine-readable validation field identifier.\n"
        },
        "message": {
          "type": "string"
        }
      }
    }
  }
}