{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/corvio-ai/json-schema/corvio-ai-public-sync-push-response-schema.json",
  "title": "PublicSyncPushResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/corvio-ai-public-api-v1-local-markdown-sync-api-openapi.yml#/components/schemas/PublicSyncPushResponse",
  "properties": {
    "source_id": {
      "type": "string",
      "format": "uuid",
      "title": "Source Id"
    },
    "item": {
      "$ref": "#/$defs/PublicSyncRemoteItem"
    },
    "resolved_conflict_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Resolved Conflict Id"
    }
  },
  "type": "object",
  "required": [
    "source_id",
    "item"
  ],
  "$defs": {
    "PublicSyncRemoteItem": {
      "properties": {
        "page_id": {
          "type": "string",
          "format": "uuid",
          "title": "Page Id"
        },
        "node_id": {
          "type": "string",
          "format": "uuid",
          "title": "Node Id"
        },
        "title": {
          "type": "string",
          "title": "Title"
        },
        "relative_path": {
          "type": "string",
          "title": "Relative Path"
        },
        "markdown": {
          "type": "string",
          "title": "Markdown"
        },
        "content_sha256": {
          "type": "string",
          "title": "Content Sha256",
          "description": "Lowercase hexadecimal SHA-256 of the returned markdown encoded as UTF-8, including whitespace and line endings."
        },
        "content_revision": {
          "type": "integer",
          "title": "Content Revision"
        }
      },
      "type": "object",
      "required": [
        "page_id",
        "node_id",
        "title",
        "relative_path",
        "markdown",
        "content_sha256",
        "content_revision"
      ],
      "title": "PublicSyncRemoteItem"
    }
  }
}