{
  "x402Version": 2,
  "id": 7654,
  "slug": "7654",
  "resource": "https://jobs.rqmtechnologies.com/x402/buyer-jobs/openqasm3-repair-v1",
  "description": "Openqasm3 Repair: Repair this bounded OpenQASM 3 program only with the supplied conservative repair policy. Use when: Use when a bounded request matches rqm.studio.openqasm3-repair-request.v1 and the caller needs the declared... Returns: repaired or withheld source, exact edit list, post-repair validation verdict. Boundaries: Deterministic bounded local software evidence only; no QPU, provider acceptance, certification, formal-pr...",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x8F43274b121663b18a0246E9908bac8eAC866C12",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "200000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "idempotency_key": "example-openqasm3-repair-v1",
            "max_total_price": "0.200000",
            "request": {
              "allowed_repairs": [
                "add_openqasm3_header"
              ],
              "source": "qubit[1] q;"
            },
            "schema_version": "rqm.jobs.bazaar-buyer-job-request.v1"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "artifact_names": [
              "repaired or withheld source",
              "exact edit list",
              "post-repair validation verdict"
            ],
            "caller_next_step": "Resubmit the validated source or escalate an unsupported repair.",
            "capability_id": "openqasm3-repair-v1",
            "duplicate": false,
            "job_id": "job-openqasm3-repair-v1",
            "product": "quantum",
            "quote_id": "00000000-0000-4000-8000-000000000001",
            "reservation_id": "00000000-0000-4000-8000-000000000002",
            "result_schema_digest": "8687fc393f8a5fcdb93ad13287cde0693192600cafd20720b75bf4d42d977bb2",
            "result_schema_id": "rqm.studio.openqasm3-repair-result.v1",
            "retrieval_token": "rqm_retrieval_<opaque-job-scoped-token>",
            "retrieval_token_expires_in": 86400,
            "retrieval_url": "https://jobs.rqmtechnologies.com/x402/buyer-jobs/openqasm3-repair-v1/jobs/job-openqasm3-repair-v1",
            "schema_version": "rqm.jobs.bazaar-buyer-job-accepted.v1",
            "status": "queued",
            "x402_settlement_id": "00000000-0000-4000-8000-000000000003",
            "x402_transaction_id": "0x<base-transaction>"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "idempotency_key": {
                    "maxLength": 128,
                    "minLength": 1,
                    "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
                    "type": "string"
                  },
                  "max_total_price": {
                    "pattern": "^(?:0|[1-9]\\d{0,13})(?:\\.\\d{1,6})?$",
                    "type": "string"
                  },
                  "request": {
                    "additionalProperties": false,
                    "properties": {
                      "allowed_repairs": {
                        "items": {
                          "enum": [
                            "add_openqasm3_header",
                            "normalize_whitespace",
                            "add_stdgates_include",
                            "terminate_statements"
                          ],
                          "type": "string"
                        },
                        "maxItems": 4,
                        "minItems": 1,
                        "title": "Allowed Repairs",
                        "type": "array"
                      },
                      "source": {
                        "minLength": 1,
                        "title": "Source",
                        "type": "string"
                      }
                    },
                    "required": [
                      "source",
                      "allowed_repairs"
                    ],
                    "title": "RepairRequest",
                    "type": "object"
                  },
                  "schema_version": {
                    "const": "rqm.jobs.bazaar-buyer-job-request.v1"
                  }
                },
                "required": [
                  "schema_version",
                  "idempotency_key",
                  "max_total_price",
                  "request"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "artifact_names": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "caller_next_step": {
                    "type": "string"
                  },
                  "capability_id": {
                    "type": "string"
                  },
                  "duplicate": {
                    "type": "boolean"
                  },
                  "job_id": {
                    "type": "string"
                  },
                  "product": {
                    "enum": [
                      "wave",
                      "quantum",
                      "robotics"
                    ]
                  },
                  "quote_id": {
                    "format": "uuid",
                    "type": "string"
                  },
                  "reservation_id": {
                    "format": "uuid",
                    "type": "string"
                  },
                  "result_schema_digest": {
                    "pattern": "^[a-f0-9]{64}$",
                    "type": "string"
                  },
                  "result_schema_id": {
                    "type": "string"
                  },
                  "retrieval_token": {
                    "pattern": "^rqm_retrieval_",
                    "type": "string"
                  },
                  "retrieval_token_expires_in": {
                    "minimum": 1,
                    "type": "integer"
                  },
                  "retrieval_url": {
                    "format": "uri",
                    "type": "string"
                  },
                  "schema_version": {
                    "const": "rqm.jobs.bazaar-buyer-job-accepted.v1"
                  },
                  "status": {
                    "enum": [
                      "queued",
                      "running",
                      "completed"
                    ]
                  },
                  "x402_settlement_id": {
                    "format": "uuid",
                    "type": "string"
                  },
                  "x402_transaction_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "schema_version",
                  "product",
                  "capability_id",
                  "job_id",
                  "status",
                  "quote_id",
                  "reservation_id",
                  "x402_settlement_id",
                  "x402_transaction_id",
                  "retrieval_url",
                  "retrieval_token",
                  "retrieval_token_expires_in",
                  "result_schema_id",
                  "result_schema_digest",
                  "caller_next_step",
                  "duplicate"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "jobs.rqmtechnologies.com",
  "lastUpdated": "2026-09-08T03:54:56.039Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-08T03:54:55.654Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "jobs.rqmtechnologies.com",
    "manifest_name": "jobs.rqmtechnologies.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}