{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/argus-town/json-schema/argus-town-sync-schema.json",
  "title": "Sync",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/argus-town-syncs-api-openapi.yml#/components/schemas/Sync",
  "type": "object",
  "required": [
    "object",
    "id",
    "kind",
    "status",
    "started_at",
    "finished_at",
    "records_written",
    "error"
  ],
  "properties": {
    "object": {
      "type": "string",
      "enum": [
        "sync"
      ]
    },
    "id": {
      "type": "string"
    },
    "kind": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "started_at": {
      "type": "string",
      "format": "date-time"
    },
    "finished_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ]
    },
    "records_written": {
      "type": "number"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "additionalProperties": true
}