Versioned seeded synthetic record composer
Generate reproducible JSON records from explicit integer sequences, uniform integers, Bernoulli draws and integer-weighted categories using sha256-counter-fields-v1. No real-PII source, population realism, privacy certification or cryptographic-randomness claim.
structured · Operation ID: synthetic-records-compose
Choose this operation when
- Small inert fixture tables from elementary explicit sampling rules
Outside this profile
- Exact quotas, realistic identities, PII anonymization, correlated populations, Gaussian or floating-point distributions
- Cryptographic tokens, secrets or unpredictable random draws
- Execute target code, call APIs, fetch data, run external agents, mutate accounts or deploy
Exact release references
Static JSON contract · Markdown reference · Fixed example response
Complete input schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"seed": {
"type": "integer",
"minimum": 0,
"maximum": 4294967295
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 1000
},
"fields": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"kind": {
"type": "string",
"const": "sequence"
},
"start": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"step": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"id",
"kind",
"start",
"step"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"kind": {
"type": "string",
"const": "uniformInteger"
},
"minimum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"maximum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"id",
"kind",
"minimum",
"maximum"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"kind": {
"type": "string",
"const": "bernoulli"
},
"numerator": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"denominator": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
}
},
"required": [
"id",
"kind",
"numerator",
"denominator"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"kind": {
"type": "string",
"const": "categorical"
},
"values": {
"minItems": 1,
"maxItems": 32,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"weights": {
"minItems": 1,
"maxItems": 32,
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
}
},
"required": [
"id",
"kind",
"values",
"weights"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"seed",
"count",
"fields"
],
"additionalProperties": false
}
Complete output-envelope schema
{
"type": "object",
"required": [
"operation",
"version",
"result",
"provenance"
],
"properties": {
"operation": {
"const": "synthetic-records-compose",
"type": "string"
},
"version": {
"const": "0.29.0",
"type": "string"
},
"result": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"profile": {
"type": "string",
"const": "sha256-counter-fields-v1"
},
"recipe": {
"type": "object",
"properties": {
"seed": {
"type": "integer",
"minimum": 0,
"maximum": 4294967295
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 1000
},
"fields": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"kind": {
"type": "string",
"const": "sequence"
},
"start": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"step": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"id",
"kind",
"start",
"step"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"kind": {
"type": "string",
"const": "uniformInteger"
},
"minimum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"maximum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"id",
"kind",
"minimum",
"maximum"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"kind": {
"type": "string",
"const": "bernoulli"
},
"numerator": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"denominator": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
}
},
"required": [
"id",
"kind",
"numerator",
"denominator"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
},
"kind": {
"type": "string",
"const": "categorical"
},
"values": {
"minItems": 1,
"maxItems": 32,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"weights": {
"minItems": 1,
"maxItems": 32,
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
}
},
"required": [
"id",
"kind",
"values",
"weights"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"seed",
"count",
"fields"
],
"additionalProperties": false
},
"generatedCount": {
"type": "integer",
"minimum": 0,
"maximum": 1000
},
"rows": {
"maxItems": 1000,
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
}
},
"hashAttempts": {
"type": "integer",
"minimum": 0,
"maximum": 3150
},
"distributionSemantics": {
"type": "string",
"const": "addressed-pseudorandom-draws-not-exact-quotas"
},
"cryptographicRandomnessClaimed": {
"type": "boolean",
"const": false
},
"privacyCertification": {
"type": "boolean",
"const": false
},
"targetExecuted": {
"type": "boolean",
"const": false
},
"behaviorVerified": {
"type": "boolean",
"const": false
},
"externalRequests": {
"type": "number",
"const": 0
}
},
"required": [
"profile",
"recipe",
"generatedCount",
"rows",
"hashAttempts",
"distributionSemantics",
"cryptographicRandomnessClaimed",
"privacyCertification",
"targetExecuted",
"behaviorVerified",
"externalRequests"
],
"additionalProperties": false
},
"provenance": {
"type": "object",
"required": [
"inputSha256",
"outputSha256",
"deterministic",
"externalRequests"
],
"properties": {
"inputSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"outputSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"deterministic": {
"const": true
},
"externalRequests": {
"const": 0
}
}
}
},
"additionalProperties": false
}
Fixed example
One accepted fixed example, not a custom-input trial. No operation runs when this static page is requested.
Example input
{
"seed": 7,
"count": 5,
"fields": [
{
"id": "rowId",
"kind": "sequence",
"start": 100,
"step": 1
},
{
"id": "tier",
"kind": "categorical",
"values": [
"free",
"pro"
],
"weights": [
3,
1
]
},
{
"id": "retries",
"kind": "uniformInteger",
"minimum": 0,
"maximum": 2
},
{
"id": "enabled",
"kind": "bernoulli",
"numerator": 1,
"denominator": 2
}
]
}
Example response
{
"operation": "synthetic-records-compose",
"version": "0.29.0",
"result": {
"profile": "sha256-counter-fields-v1",
"recipe": {
"seed": 7,
"count": 5,
"fields": [
{
"id": "rowId",
"kind": "sequence",
"start": 100,
"step": 1
},
{
"id": "tier",
"kind": "categorical",
"values": [
"free",
"pro"
],
"weights": [
3,
1
]
},
{
"id": "retries",
"kind": "uniformInteger",
"minimum": 0,
"maximum": 2
},
{
"id": "enabled",
"kind": "bernoulli",
"numerator": 1,
"denominator": 2
}
]
},
"generatedCount": 5,
"rows": [
{
"rowId": 100,
"tier": "free",
"retries": 2,
"enabled": true
},
{
"rowId": 101,
"tier": "pro",
"retries": 2,
"enabled": false
},
{
"rowId": 102,
"tier": "free",
"retries": 1,
"enabled": true
},
{
"rowId": 103,
"tier": "free",
"retries": 1,
"enabled": true
},
{
"rowId": 104,
"tier": "pro",
"retries": 0,
"enabled": true
}
],
"hashAttempts": 15,
"distributionSemantics": "addressed-pseudorandom-draws-not-exact-quotas",
"cryptographicRandomnessClaimed": false,
"privacyCertification": false,
"targetExecuted": false,
"behaviorVerified": false,
"externalRequests": 0
},
"provenance": {
"inputSha256": "909c7edf379b64904f4ded14a7059683a2de705bf8b90eadc574113e1dccf8c9",
"outputSha256": "c718fd50db16b53e1c7e64358975ce68a5efb0a3079ebccf04853683a3921f4b",
"deterministic": true,
"externalRequests": 0
}
}
Bounds and precision
JavaScript IEEE-754 numbers; use strings for large integer IDs/exact decimals where the schema accepts strings. No lossless numeric parsing.
{
"global": {
"requestBytes": 131072,
"responseBytes": 524288,
"jsonDepth": 32,
"jsonNodes": 20000,
"requestsPerMinute": 60,
"paidAttemptsPerMinute": 20,
"idempotencyHours": 24
},
"operation": {
"inputBytes": 100000,
"outputBytes": 300000,
"jsonNodes": 12000,
"depth": 16,
"rows": 1000,
"fields": 20,
"cells": 3000,
"categories": 32,
"distributionRange": 1000000,
"hashAttempts": 3150,
"attemptsPerDraw": 32,
"scalarLabelCodePoints": 64
}
}
Complete schemas, descriptions and cross-field validation may impose additional limits.
Proposed price and protocol definitions
{
"unit": "one successful operation call",
"proposedNominalUsd": "0.005",
"sixDecimalTokenBaseUnits": "5000",
"subscription": false,
"includesPayerWalletOrNetworkFees": false,
"liveQuoteVerified": false,
"condition": "Actual SDK challenge is authoritative only within the caller's explicit authorization; configured six-decimal token peg is an operator assertion, not a conversion guarantee."
}
Protocol definitions: x402, mpp. MPP uses Tempo charge. Paid MCP execution is unsupported. All runtime readiness is not evaluated in this build.
API path templates, not endpoints on this documentation host
{
"x402": "/v1/x402/synthetic-records-compose",
"mpp": "/v1/mpp/synthetic-records-compose"
}
Required headers
{
"Content-Type": "application/json",
"Idempotency-Key": "random 16–128 character operation identifier"
}
Actual SDK challenge amount, asset, network, recipient and wallet costs must pass independent authorization. Preserve identical key, body, protocol and credential on retries; on PAYMENT_UNCERTAIN stop and reconcile.
Execution profile and provider conditions
{
"deterministic": true,
"externalRequests": 0,
"maxExternalRequests": 0,
"resultSnapshotPersisted": false,
"fixedExampleIsIllustrativeSnapshot": false,
"requiresPayment": true,
"supportsMcpExecution": false
}
Deterministic supplied-input operation with no external requests or stored request/result bodies. Payment infrastructure retains payment metadata and hashes.
Failure handling
- HTTP 400: Malformed JSON, missing/invalid idempotency key, or payment identifier mismatch Correct the request before payment
- HTTP 402: Payment challenge or rejected payment Use official protocol SDK; inspect payment outcome before another payment
- HTTP 409: Idempotency conflict, duplicate proof, or PAYMENT_UNCERTAIN Keep original key, body, and proof; reconcile uncertainty with operator; never blindly repay
- HTTP 413: Input or generated output too large Reduce input; no payment attempted for validation failure
- HTTP 415: Unsupported media type or compression Send uncompressed application/json
- HTTP 422: Schema or service-specific semantic validation failure Correct input using returned error code; no payment attempted
- HTTP 429: Request/payment-attempt rate exceeded Wait for rate limit window; preserve existing payment identity
- HTTP 503: Payment configuration/provider/state unavailable, or live DNS preparation failed before settlement Check readiness; DNS preparation failures may retry the identical key/body/credential only; uncertainty requires reconciliation
Declared requirements
Before any paid call, refresh the live operation contract and POST the complete bounded budgeted plan to the separate API's /preflight. Unknown requirements block selection; compatible preflight is not permission to spend.