{
  "openapi": "3.0.1",
  "info": {
    "title": "RSS Feed Validator",
    "description": "Validate RSS and Atom feeds for feed-level health, required channel/feed fields, item metadata, GUID/link/date quality, duplicate entries, enclosure issues, HTTP status, content type, and caching headers.",
    "version": "1.0",
    "x-build-id": "jbUklPBNWj2nf7gzy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/junipr~rss-feed-validator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-junipr-rss-feed-validator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/junipr~rss-feed-validator/runs": {
      "post": {
        "operationId": "runs-sync-junipr-rss-feed-validator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/junipr~rss-feed-validator/run-sync": {
      "post": {
        "operationId": "run-sync-junipr-rss-feed-validator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "feedUrls": {
            "title": "Feed URLs",
            "type": "array",
            "description": "Public feed URLs to fetch or inspect for RSS Feed Validator.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "rawFeedXmlInputs": {
            "title": "Raw Feed XML Inputs",
            "type": "array",
            "description": "Optional supplied feed XML documents to parse without fetching remote URLs.",
            "items": {
              "type": "string"
            },
            "default": [
              "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<rss version=\"2.0\"><channel>\n  <title>NASA</title><link>https://www.nasa.gov</link><description>Official National Aeronautics and Space Administration Website</description>\n  <item><title>Early Career Faculty (ECF) 2025 Awards</title><link>https://www.nasa.gov/directorates/stmd/space-tech-research-grants/ecf/early-career-faculty-ecf-2025-awards/</link><pubDate>Fri, 10 Jul 2026 19:23:55 +0000</pubDate><guid isPermaLink=\"false\">https://www.nasa.gov/?p=1016983</guid></item>\n</channel></rss>"
            ]
          },
          "headers": {
            "title": "Headers",
            "type": "object",
            "description": "Optional request headers for authorized endpoints. Avoid secrets in shared examples and public tasks.",
            "default": {},
            "additionalProperties": true
          },
          "requireGuidOrId": {
            "title": "Require Guid Or ID",
            "type": "boolean",
            "description": "Require guid or ID during validation and flag rows that do not meet the rule.",
            "default": true
          },
          "requireItemDates": {
            "title": "Require Item Dates",
            "type": "boolean",
            "description": "Require item dates during validation and flag rows that do not meet the rule.",
            "default": true
          },
          "requireItemLinks": {
            "title": "Require Item Links",
            "type": "boolean",
            "description": "Require item links during validation and flag rows that do not meet the rule.",
            "default": true
          },
          "checkDuplicateItems": {
            "title": "Check Duplicate Items",
            "type": "boolean",
            "description": "Check duplicate items and emit findings when the condition is not met.",
            "default": true
          },
          "checkEnclosures": {
            "title": "Check Enclosures",
            "type": "boolean",
            "description": "Check enclosures and emit findings when the condition is not met.",
            "default": true
          },
          "includeHttpHeaders": {
            "title": "Include Http Headers",
            "type": "boolean",
            "description": "Include http headers in output rows or reports when available.",
            "default": false
          },
          "maxItemsPerFeed": {
            "title": "Max Items Per Feed",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Maximum items per feed to process in one run; keep defaults low for safe first runs.",
            "default": 2
          },
          "requestDelayMs": {
            "title": "Request Delay ms",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Request Delay ms controls RSS Feed Validator processing for the supplied inputs; keep values conservative for first runs.",
            "default": 0
          },
          "timeoutMs": {
            "title": "Timeout ms",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Maximum time in milliseconds allowed for the RSS Feed Validator operation before it is treated as timed out.",
            "default": 5000
          },
          "maxChargeUsd": {
            "title": "Max Charge USD",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Maximum estimated PPE charge allowed for the run before the actor stops gracefully.",
            "default": 1
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}