changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "age_seconds": {
+ "description": "Seconds since last_crawl ended; present with last_crawl",
+ "type": [
+ "null",
+ "integer"
+ ]
+ },
+ "last_crawl": {
+ "description": "Latest recorded crawl; absent if none",
+ "properties": {
+ "crawl_ended_at": {
+ "type": "string"
+ },
+ "crawl_id": {
+ "type": "integer"
+ },
+ "crawl_started_at": {
+ "type": "string"
+ },
+ "mode": {
+ "description": "full or incremental",
+ "type": "string"
+ },
+ "total_pages": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "crawl_id",
+ "crawl_started_at",
+ "crawl_ended_at",
+ "total_pages",
+ "mode"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "next_actions": {
+ "type": "string"
+ },
+ "output_dir": {
+ "type": "string"
+ },
+ "output_exists": {
+ "type": "boolean"
+ },
+ "running_job": {
+ "properties": {
+ "completed_at": {
+ "type": "string"
+ },
+ "duration_seconds": {
+ "description": "Present once completed_at is",
+ "type": [
+ "null",
+ "number"
+ ]
+ },
+ "error_message": {
+ "type": "string"
+ },
+ "incremental": {
+ "type": "boolean"
+ },
+ "job_id": {
+ "type": "string"
+ },
+ "pages_processed": {
+ "type": "integer"
+ },
+ "pages_queued": {
+ "type": "integer"
+ },
+ "pages_unchanged": {
+ "description": "Incremental re-checks whose content had not changed; not counted in pages_processed",
+ "type": "integer"
+ },
+ "site_key": {
+ "type": "string"
+ },
+ "started_at": {
+ "type": "string"
+ },
+ "status": {
+ "description": "pending, running, completed, failed or cancelled",
+ "type": "string"
+ }
+ },
+ "required": [
+ "job_id",
+ "site_key",
+ "status",
+ "started_at",
+ "pages_processed",
+ "pages_queued",
+ "pages_unchanged",
+ "incremental"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "site_key": {
+ "type": "string"
+ },
+ "state_dir_exists": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "site_key",
+ "output_dir",
+ "output_exists",
+ "state_dir_exists",
+ "next_actions"
+ ],
+ "type": "object"
+}