{
  "x402Version": 2,
  "id": 21723,
  "slug": "21723",
  "resource": "https://kevaremesh-web.vercel.app/api/x402/semver-compare",
  "description": "Parse and compare two Semantic Versioning 2.0.0 values, including prerelease precedence and build metadata.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x08f840E3b1b8c31e5Ca56956169705907489E934",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "type": "object",
    "required": [
      "service",
      "product",
      "tool_name",
      "result",
      "generated_at",
      "limitations"
    ],
    "properties": {
      "service": {
        "type": "string",
        "const": "KEVAREMESH"
      },
      "product": {
        "type": "string",
        "description": "Stable KEVAREMESH product key."
      },
      "tool_name": {
        "type": "string",
        "description": "Short capability tool name."
      },
      "result": {
        "type": "object",
        "required": [
          "a",
          "b",
          "comparison",
          "relation",
          "equal_precedence",
          "a_parsed",
          "b_parsed",
          "spec",
          "build_metadata_affects_precedence"
        ],
        "properties": {
          "a": {
            "type": "string"
          },
          "b": {
            "type": "string"
          },
          "comparison": {
            "type": "integer",
            "enum": [
              -1,
              0,
              1
            ]
          },
          "relation": {
            "type": "string",
            "enum": [
              "lt",
              "eq",
              "gt"
            ]
          },
          "equal_precedence": {
            "type": "boolean"
          },
          "a_parsed": {
            "type": "object"
          },
          "b_parsed": {
            "type": "object"
          },
          "spec": {
            "type": "string"
          },
          "build_metadata_affects_precedence": {
            "type": "boolean"
          }
        }
      },
      "generated_at": {
        "type": "string",
        "format": "date-time"
      },
      "limitations": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Known capability limits relevant to safe use."
      }
    }
  },
  "tags": [
    "semver_compare",
    "compare_semantic_versions",
    "kevaremesh",
    "x402"
  ],
  "sourceHost": "kevaremesh-web.vercel.app",
  "lastUpdated": "2026-10-07T04:29:05.534Z",
  "quality": {},
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "kevaremesh-web.vercel.app",
    "manifest_name": "KEVAREMESH",
    "source": "submitted",
    "source_manifest_url": "https://kevaremesh-web.vercel.app/.well-known/x402.json",
    "submitted_at": "2026-10-07T04:29:05.534Z"
  },
  "exampleResponse": {
    "service": "string",
    "product": "string",
    "tool_name": "string",
    "result": {
      "a": "string",
      "b": "string",
      "comparison": -1,
      "relation": "lt",
      "equal_precedence": true,
      "a_parsed": {},
      "b_parsed": {},
      "spec": "string",
      "build_metadata_affects_precedence": true
    },
    "generated_at": "2026-01-01T00:00:00Z",
    "limitations": [
      "string"
    ]
  }
}