{
  "x402Version": 2,
  "id": 72369,
  "slug": "saylorinnovations-api-dev-json-schema",
  "resource": "https://saylorinnovations.com/api/dev/json-schema",
  "description": "Infer a JSON Schema from a sample JSON document - types, nested objects and arrays, required fields and string formats like email, date, uri and uuid",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95830",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "root_type": {
        "type": "string",
        "description": "Root type"
      },
      "schema_nodes": {
        "type": "number",
        "description": "Schema nodes"
      },
      "fields": {
        "type": "array",
        "description": "Flattened list of field paths with inferred types",
        "items": {
          "type": "object",
          "properties": {
            "path": {
              "description": "Dotted path of the field",
              "type": [
                "string",
                "null"
              ]
            },
            "type": {
              "description": "Type or kind"
            }
          }
        }
      },
      "schema": {
        "type": "object",
        "description": "Inferred JSON Schema (draft 2020-12)",
        "properties": {
          "$schema": {
            "description": "JSON Schema dialect",
            "type": [
              "string",
              "null"
            ]
          },
          "required": {
            "description": "Fields present in every sample object",
            "type": [
              "array",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ],
            "description": "Title"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Short description"
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "Type or kind"
          },
          "properties": {},
          "additionalProperties": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Additional properties"
          }
        }
      },
      "note": {
        "type": "string",
        "description": "Caveat or context for reading the result"
      },
      "source": {
        "type": "string",
        "description": "Data source the values come from"
      }
    },
    "required": [
      "root_type",
      "schema",
      "fields"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "json": "{\"id\":7,\"name\":\"Ada\",\"email\":\"ada@example.com\",\"joined\":\"2026-01-05\",\"tags\":[\"a\",\"b\"],\"score\":9.5,\"active\":true}"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "root_type": "object",
            "schema_nodes": 9,
            "fields": [
              {
                "path": "id",
                "type": "integer"
              },
              {
                "path": "name",
                "type": "string"
              },
              {
                "path": "email",
                "type": "string:email"
              },
              {
                "path": "joined",
                "type": "string:date"
              },
              {
                "path": "tags",
                "type": "array"
              },
              {
                "path": "score",
                "type": "number"
              },
              {
                "path": "active",
                "type": "boolean"
              }
            ],
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "title": "Inferred",
              "description": "Inferred from one sample document",
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "email": {
                  "type": "string",
                  "format": "email"
                },
                "joined": {
                  "type": "string",
                  "format": "date"
                },
                "tags": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "score": {
                  "type": "number"
                },
                "active": {
                  "type": "boolean"
                }
              },
              "required": [
                "id",
                "name",
                "email",
                "joined",
                "tags",
                "score",
                "active"
              ],
              "additionalProperties": true
            },
            "note": "Inferred from a single sample, so it marks every non-null field required and cannot know optional fields, enums or numeric ranges; review before using it for validation. Pass compact JSON (URL-encoded, up to 6000 characters).",
            "source": "schema inference"
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "json": {
                    "type": "string",
                    "description": "URL-encoded sample JSON document (up to 6000 characters)"
                  }
                },
                "required": [
                  "json"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "root_type": {
                    "type": "string",
                    "description": "Root type"
                  },
                  "schema_nodes": {
                    "type": "number",
                    "description": "Schema nodes"
                  },
                  "fields": {
                    "type": "array",
                    "description": "Flattened list of field paths with inferred types",
                    "items": {
                      "type": "object",
                      "properties": {
                        "path": {
                          "description": "Dotted path of the field",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "type": {
                          "description": "Type or kind"
                        }
                      }
                    }
                  },
                  "schema": {
                    "type": "object",
                    "description": "Inferred JSON Schema (draft 2020-12)",
                    "properties": {
                      "$schema": {
                        "description": "JSON Schema dialect",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "required": {
                        "description": "Fields present in every sample object",
                        "type": [
                          "array",
                          "null"
                        ]
                      },
                      "title": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Title"
                      },
                      "description": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Short description"
                      },
                      "type": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Type or kind"
                      },
                      "properties": {},
                      "additionalProperties": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "Additional properties"
                      }
                    }
                  },
                  "note": {
                    "type": "string",
                    "description": "Caveat or context for reading the result"
                  },
                  "source": {
                    "type": "string",
                    "description": "Data source the values come from"
                  }
                },
                "required": [
                  "root_type",
                  "schema",
                  "fields"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "generate a json schema",
    "infer schema for an api response",
    "json to json schema converter",
    "detect string formats email date",
    "schema from example payload"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.937Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "json": {
          "type": "string",
          "description": "URL-encoded sample JSON document (up to 6000 characters)"
        }
      },
      "required": [
        "json"
      ]
    },
    "exampleResponse": {
      "root_type": "object",
      "schema_nodes": 9,
      "fields": [
        {
          "path": "id",
          "type": "integer"
        },
        {
          "path": "name",
          "type": "string"
        },
        {
          "path": "email",
          "type": "string:email"
        },
        {
          "path": "joined",
          "type": "string:date"
        },
        {
          "path": "tags",
          "type": "array"
        },
        {
          "path": "score",
          "type": "number"
        },
        {
          "path": "active",
          "type": "boolean"
        }
      ],
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "title": "Inferred",
        "description": "Inferred from one sample document",
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "joined": {
            "type": "string",
            "format": "date"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "score": {
            "type": "number"
          },
          "active": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "name",
          "email",
          "joined",
          "tags",
          "score",
          "active"
        ],
        "additionalProperties": true
      },
      "note": "Inferred from a single sample, so it marks every non-null field required and cannot know optional fields, enums or numeric ranges; review before using it for validation. Pass compact JSON (URL-encoded, up to 6000 characters).",
      "source": "schema inference"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "json": "{\"id\":7,\"name\":\"Ada\",\"email\":\"ada@example.com\",\"joined\":\"2026-01-05\",\"tags\":[\"a\",\"b\"],\"score\":9.5,\"active\":true}"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "root_type": "object",
              "schema_nodes": 9,
              "fields": [
                {
                  "path": "id",
                  "type": "integer"
                },
                {
                  "path": "name",
                  "type": "string"
                },
                {
                  "path": "email",
                  "type": "string:email"
                },
                {
                  "path": "joined",
                  "type": "string:date"
                },
                {
                  "path": "tags",
                  "type": "array"
                },
                {
                  "path": "score",
                  "type": "number"
                },
                {
                  "path": "active",
                  "type": "boolean"
                }
              ],
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "Inferred",
                "description": "Inferred from one sample document",
                "type": "object",
                "properties": {
                  "id": {
                    "type": "integer"
                  },
                  "name": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string",
                    "format": "email"
                  },
                  "joined": {
                    "type": "string",
                    "format": "date"
                  },
                  "tags": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "score": {
                    "type": "number"
                  },
                  "active": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "id",
                  "name",
                  "email",
                  "joined",
                  "tags",
                  "score",
                  "active"
                ],
                "additionalProperties": true
              },
              "note": "Inferred from a single sample, so it marks every non-null field required and cannot know optional fields, enums or numeric ranges; review before using it for validation. Pass compact JSON (URL-encoded, up to 6000 characters).",
              "source": "schema inference"
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "json": {
                      "type": "string",
                      "description": "URL-encoded sample JSON document (up to 6000 characters)"
                    }
                  },
                  "required": [
                    "json"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "root_type": {
                      "type": "string",
                      "description": "Root type"
                    },
                    "schema_nodes": {
                      "type": "number",
                      "description": "Schema nodes"
                    },
                    "fields": {
                      "type": "array",
                      "description": "Flattened list of field paths with inferred types",
                      "items": {
                        "type": "object",
                        "properties": {
                          "path": {
                            "description": "Dotted path of the field",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "type": {
                            "description": "Type or kind"
                          }
                        }
                      }
                    },
                    "schema": {
                      "type": "object",
                      "description": "Inferred JSON Schema (draft 2020-12)",
                      "properties": {
                        "$schema": {
                          "description": "JSON Schema dialect",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "required": {
                          "description": "Fields present in every sample object",
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "title": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Title"
                        },
                        "description": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Short description"
                        },
                        "type": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Type or kind"
                        },
                        "properties": {},
                        "additionalProperties": {
                          "type": [
                            "boolean",
                            "null"
                          ],
                          "description": "Additional properties"
                        }
                      }
                    },
                    "note": {
                      "type": "string",
                      "description": "Caveat or context for reading the result"
                    },
                    "source": {
                      "type": "string",
                      "description": "Data source the values come from"
                    }
                  },
                  "required": [
                    "root_type",
                    "schema",
                    "fields"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/dev/json-schema?json=%7B%22id%22%3A7%2C%22name%22%3A%22Ada%22%2C%22email%22%3A%22ada%40example.com%22%2C%22joined%22%3A%222026-01-05%22%2C%22tags%22%3A%5B%22a%22%2C%22b%22%5D%2C%22score%22%3A9.5%2C%22active%22%3Atrue%7D",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "root_type": "string",
    "schema_nodes": 0,
    "fields": [
      {
        "path": "string",
        "type": null
      }
    ],
    "schema": {
      "$schema": "string",
      "required": [
        "value"
      ],
      "title": "string",
      "description": "string",
      "type": "string",
      "properties": null,
      "additionalProperties": true
    },
    "note": "string",
    "source": "string"
  }
}