Data Transformation & Quality · x402 V2

XML Normalize Validate

Use this service when you need this capability: safely validates and normalizes bounded XML into a deterministic structural representation without entity resolution or network access.

Price and endpoint

LivePOSTBase USDC

0.01 USDC per call

x402 V2 exact payment on Base mainnet (eip155:8453) using USDC. The HTTP 402 challenge confirms the exact requirements before an authorized payment.

POST https://signalharness.ai/api/agent/services/xml_normalize_validate/invoke

Purpose

Safely validates and normalizes bounded XML into a deterministic structural representation without entity resolution or network access.

This service applies bounded processing to the supplied input. Review its schema, result fields, and limits for the exact supported capability.

Inputs

Request fields and validation limits
FieldTypeRequiredLimits
xmlstringRequiredMinimum length 1; Maximum length 65536

Example request body

{
  "xml": "<root><item>example</item></root>"
}
View complete input schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "additionalProperties": false,
  "minProperties": 1,
  "maxProperties": 1,
  "required": [
    "xml"
  ],
  "properties": {
    "xml": {
      "type": "string",
      "minLength": 1,
      "maxLength": 65536
    }
  }
}

Realistic output shape

Illustrative output from the canonical adapter fixture and schema. It is not a completed paid execution or a current live observation.

{
  "wellFormed": false,
  "root": "example",
  "namespaces": [
    {
      "name": "example",
      "value": "example"
    }
  ],
  "nodeCount": 1,
  "structure": "example",
  "warnings": [
    "Verify the caller-supplied data before relying on this result."
  ],
  "errors": [
    "example"
  ]
}
View complete output schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "additionalProperties": false,
  "minProperties": 7,
  "maxProperties": 7,
  "required": [
    "wellFormed",
    "root",
    "namespaces",
    "nodeCount",
    "structure",
    "warnings",
    "errors"
  ],
  "properties": {
    "wellFormed": {
      "type": "boolean"
    },
    "root": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "namespaces": {
      "type": "array",
      "minItems": 0,
      "maxItems": 256,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "minProperties": 2,
        "maxProperties": 2,
        "required": [
          "name",
          "value"
        ],
        "properties": {
          "name": {
            "type": "string",
            "minLength": 5,
            "maxLength": 256
          },
          "value": {
            "type": "string",
            "minLength": 0,
            "maxLength": 4096
          }
        }
      }
    },
    "nodeCount": {
      "type": "integer",
      "minimum": 1,
      "maximum": 4096
    },
    "structure": {
      "type": "string",
      "minLength": 2,
      "maxLength": 65536
    },
    "warnings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 32,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1024
      }
    },
    "errors": {
      "type": "array",
      "minItems": 0,
      "maxItems": 32,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1024
      }
    }
  }
}

Execution limits

  • MaxInputBytes: 524288
  • MaxOutputBytes: 1048576
  • MaxConcurrentExecutions: 4
  • MaxArtifacts: 0
  • MaxArtifactBytes: 0
  • RateLimitPerMinute: 60
  • MaxNodes: 4096
  • MaxNesting: 32

Timeout: 5000 ms. Full schemas are in OpenAPI.

Copyable unpaid request

This schema-valid request returns the canonical HTTP 402 challenge without executing the service. A payment-capable client validates the challenge, signs only with prior authority and budget, and retries the identical body.

curl -i -X POST https://signalharness.ai/api/agent/services/xml_normalize_validate/invoke \
  -H "Content-Type: application/json" \
  --data '{"xml":"<root><item>example</item></root>"}'

Continue with the paid-call walkthrough →