{
  "openapi": "3.0.1",
  "info": {
    "title": "XML Feed Validator",
    "description": "Validate XML-based feeds for well-formedness, namespaces, required elements, repeated item structure, schema-like path rules, date/url fields, and item-level structural consistency.",
    "version": "1.0",
    "x-build-id": "msnEE9UYqfcMbIEYY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/junipr~xml-feed-validator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-junipr-xml-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~xml-feed-validator/runs": {
      "post": {
        "operationId": "runs-sync-junipr-xml-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~xml-feed-validator/run-sync": {
      "post": {
        "operationId": "run-sync-junipr-xml-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 XML Feed Validator.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "rawXmlInputs": {
            "title": "Raw XML Inputs",
            "type": "array",
            "description": "Optional supplied XML documents to validate without fetching remote feeds.",
            "items": {
              "type": "string"
            },
            "default": [
              "<feed xmlns=\"http://www.w3.org/2005/Atom\" xml:lang=\"en-US\">\n  <id>tag:github.com,2008:/modelcontextprotocol/modelcontextprotocol/commits/main</id>\n  <link type=\"text/html\" rel=\"alternate\" href=\"https://github.com/modelcontextprotocol/modelcontextprotocol/commits/main\"/>\n  <title>Recent Commits to modelcontextprotocol:main</title>\n  <updated>2026-07-11T19:41:17Z</updated>\n  <entry><id>tag:github.com,2008:Grit::Commit/2807f9d6d8ae2012e09377908f47cff16a2b9489</id><link href=\"https://github.com/modelcontextprotocol/modelcontextprotocol/commit/2807f9d6d8ae2012e09377908f47cff16a2b9489\"/><title>Merge pull request #3073</title><updated>2026-07-11T19:41:17Z</updated></entry>\n  <entry><id>tag:github.com,2008:Grit::Commit/082ef8eae0b14e95fb52b591c0bb11d0ec3bdabc</id><link href=\"https://github.com/modelcontextprotocol/modelcontextprotocol/commit/082ef8eae0b14e95fb52b591c0bb11d0ec3bdabc\"/><title>Resolve Markdown formatting error</title><updated>2026-07-11T01:30:06Z</updated></entry>\n</feed>"
            ]
          },
          "requiredPaths": {
            "title": "Required Paths",
            "type": "array",
            "description": "Require required paths during validation and flag rows that do not meet the rule.",
            "items": {
              "type": "string"
            },
            "default": [
              "feed.entry.id"
            ]
          },
          "itemPath": {
            "title": "Item Path",
            "type": "string",
            "description": "Item Path controls XML Feed Validator processing for the supplied inputs; keep values conservative for first runs.",
            "default": "entry"
          },
          "idPath": {
            "title": "ID Path",
            "type": "string",
            "description": "ID Path controls XML Feed Validator processing for the supplied inputs; keep values conservative for first runs.",
            "default": "id"
          },
          "urlPaths": {
            "title": "URL Paths",
            "type": "array",
            "description": "URL Paths controls XML Feed Validator processing for the supplied inputs; keep values conservative for first runs.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "datePaths": {
            "title": "Date Paths",
            "type": "array",
            "description": "Date Paths controls XML Feed Validator processing for the supplied inputs; keep values conservative for first runs.",
            "items": {
              "type": "string"
            },
            "default": [
              "updated"
            ]
          },
          "namespaceRules": {
            "title": "Namespace Rules",
            "type": "object",
            "description": "Rules used by XML Feed Validator to classify findings and recommendations.",
            "default": {
              "rootNamespace": "http://www.w3.org/2005/Atom"
            },
            "additionalProperties": true
          },
          "xsdUrl": {
            "title": "XSD URL",
            "type": "string",
            "description": "Public XSD URL to fetch or inspect for XML Feed Validator.",
            "default": ""
          },
          "customRules": {
            "title": "Custom Rules",
            "type": "object",
            "description": "Rules used by XML Feed Validator to classify findings and recommendations.",
            "default": {},
            "additionalProperties": true
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Maximum items to process in one run; keep defaults low for safe first runs.",
            "default": 2
          },
          "includeItemSamples": {
            "title": "Include Item Samples",
            "type": "boolean",
            "description": "Include item samples in output rows or reports when available.",
            "default": true
          },
          "timeoutMs": {
            "title": "Timeout ms",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Maximum time in milliseconds allowed for the XML 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}