{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/semantic-visions-s-r-o/json-schema/semantic-visions-s-r-o-monitoring-status-response-schema.json",
  "title": "MonitoringStatusResponse",
  "x-generated": "2026-11-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/semantic-visions-s-r-o-openapi.yml#/components/schemas/MonitoringStatusResponse",
  "properties": {
    "monitoring_request_id": {
      "type": "string",
      "title": "Monitoring Request Id"
    },
    "status": {
      "type": "string",
      "enum": [
        "processing_validation",
        "validated",
        "error"
      ],
      "title": "Status"
    },
    "message": {
      "type": "string",
      "title": "Message"
    },
    "entities_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Entities Count"
    },
    "new_entities_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "New Entities Count"
    },
    "deleted_entities_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Deleted Entities Count"
    },
    "updated_entities_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Updated Entities Count"
    },
    "error_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error Count"
    },
    "errors": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/WatchlistRequestEntityError"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Errors"
    }
  },
  "type": "object",
  "required": [
    "monitoring_request_id",
    "status",
    "message"
  ],
  "$defs": {
    "WatchlistRequestEntityError": {
      "properties": {
        "entity_id": {
          "type": "string",
          "title": "Entity Id"
        },
        "error": {
          "type": "string",
          "title": "Error"
        }
      },
      "type": "object",
      "required": [
        "entity_id",
        "error"
      ],
      "title": "WatchlistRequestEntityError"
    }
  }
}