{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rewalto-com/json-schema/rewalto-com-extract-result-schema.json",
  "title": "Extract",
  "description": "One page’s structured data. Free.",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rewalto-com-openapi.json#/components/schemas/ExtractResult",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "data",
    "meta"
  ],
  "properties": {
    "data": {
      "type": "object",
      "title": "Extract result",
      "description": "What the page’s structured data states.",
      "additionalProperties": false,
      "required": [
        "url",
        "products",
        "organisations",
        "reason",
        "notes",
        "fetch",
        "found"
      ],
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "products": {
          "type": "array",
          "items": {
            "type": "object",
            "title": "Product",
            "description": "One schema.org Product (or ProductGroup, ProductModel, IndividualProduct, SomeProducts), or the OpenGraph product.",
            "additionalProperties": false,
            "required": [
              "source",
              "path",
              "type",
              "offers"
            ],
            "properties": {
              "source": {
                "enum": [
                  "jsonld",
                  "microdata",
                  "og"
                ],
                "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
              },
              "path": {
                "type": "string",
                "maxLength": 8000,
                "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
              },
              "type": {
                "type": "string"
              },
              "name": {
                "type": "object",
                "title": "Name",
                "description": "Name, with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "string"
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              },
              "description": {
                "type": "object",
                "title": "Description",
                "description": "Description, with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "string"
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              },
              "brand": {
                "type": "object",
                "title": "Brand",
                "description": "Brand, with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "string"
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              },
              "sku": {
                "type": "object",
                "title": "SKU",
                "description": "SKU, with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "string"
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              },
              "mpn": {
                "type": "object",
                "title": "MPN",
                "description": "MPN, with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "string"
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              },
              "gtin": {
                "type": "object",
                "title": "GTIN (gtin, gtin14, gtin13, gtin12 or gtin8)",
                "description": "GTIN (gtin, gtin14, gtin13, gtin12 or gtin8), with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "string"
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              },
              "category": {
                "type": "object",
                "title": "Category",
                "description": "Category, with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "string"
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              },
              "image": {
                "type": "object",
                "title": "Image URL",
                "description": "Image URL, with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "string",
                    "format": "uri"
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              },
              "url": {
                "type": "object",
                "title": "Product URL",
                "description": "Product URL, with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "string",
                    "format": "uri"
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              },
              "productGroupId": {
                "type": "object",
                "title": "Product group id",
                "description": "Product group id, with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "string"
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              },
              "variantOf": {
                "type": "integer",
                "minimum": 0,
                "description": "Index in products of the ProductGroup listing this product in its hasVariant. Nothing is copied from the group."
              },
              "offers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "title": "Offer",
                  "description": "One Offer, or an AggregateOffer (`kind: aggregate`: a range across variants, never a single price). Only what the page states; a missing value is left out, never guessed.",
                  "additionalProperties": false,
                  "required": [
                    "kind",
                    "path"
                  ],
                  "properties": {
                    "kind": {
                      "enum": [
                        "offer",
                        "aggregate"
                      ]
                    },
                    "path": {
                      "type": "string",
                      "maxLength": 8000,
                      "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                    },
                    "priceMinor": {
                      "type": "object",
                      "title": "Price",
                      "description": "Price, with the source and path it was read from.",
                      "additionalProperties": false,
                      "required": [
                        "value",
                        "source",
                        "path"
                      ],
                      "properties": {
                        "value": {
                          "type": "integer",
                          "description": "Integer minor units of the currency (paise for INR; x1000 for KWD, BHD, OMR; x1 for JPY, KRW)."
                        },
                        "source": {
                          "enum": [
                            "jsonld",
                            "microdata",
                            "og"
                          ],
                          "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                        },
                        "path": {
                          "type": "string",
                          "maxLength": 8000,
                          "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                        }
                      }
                    },
                    "listPriceMinor": {
                      "type": "object",
                      "title": "List price (ListPrice/StrikethroughPrice, or OpenGraph price beside a sale price)",
                      "description": "List price (ListPrice/StrikethroughPrice, or OpenGraph price beside a sale price), with the source and path it was read from.",
                      "additionalProperties": false,
                      "required": [
                        "value",
                        "source",
                        "path"
                      ],
                      "properties": {
                        "value": {
                          "type": "integer",
                          "description": "Integer minor units of the currency (paise for INR; x1000 for KWD, BHD, OMR; x1 for JPY, KRW)."
                        },
                        "source": {
                          "enum": [
                            "jsonld",
                            "microdata",
                            "og"
                          ],
                          "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                        },
                        "path": {
                          "type": "string",
                          "maxLength": 8000,
                          "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                        }
                      }
                    },
                    "lowPriceMinor": {
                      "type": "object",
                      "title": "Lowest price of the range",
                      "description": "Lowest price of the range, with the source and path it was read from.",
                      "additionalProperties": false,
                      "required": [
                        "value",
                        "source",
                        "path"
                      ],
                      "properties": {
                        "value": {
                          "type": "integer",
                          "description": "Integer minor units of the currency (paise for INR; x1000 for KWD, BHD, OMR; x1 for JPY, KRW)."
                        },
                        "source": {
                          "enum": [
                            "jsonld",
                            "microdata",
                            "og"
                          ],
                          "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                        },
                        "path": {
                          "type": "string",
                          "maxLength": 8000,
                          "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                        }
                      }
                    },
                    "highPriceMinor": {
                      "type": "object",
                      "title": "Highest price of the range",
                      "description": "Highest price of the range, with the source and path it was read from.",
                      "additionalProperties": false,
                      "required": [
                        "value",
                        "source",
                        "path"
                      ],
                      "properties": {
                        "value": {
                          "type": "integer",
                          "description": "Integer minor units of the currency (paise for INR; x1000 for KWD, BHD, OMR; x1 for JPY, KRW)."
                        },
                        "source": {
                          "enum": [
                            "jsonld",
                            "microdata",
                            "og"
                          ],
                          "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                        },
                        "path": {
                          "type": "string",
                          "maxLength": 8000,
                          "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                        }
                      }
                    },
                    "offerCount": {
                      "type": "object",
                      "title": "Offers in the range",
                      "description": "Offers in the range, with the source and path it was read from.",
                      "additionalProperties": false,
                      "required": [
                        "value",
                        "source",
                        "path"
                      ],
                      "properties": {
                        "value": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "source": {
                          "enum": [
                            "jsonld",
                            "microdata",
                            "og"
                          ],
                          "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                        },
                        "path": {
                          "type": "string",
                          "maxLength": 8000,
                          "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                        }
                      }
                    },
                    "currency": {
                      "type": "object",
                      "title": "Currency (ISO 4217 as published; ₹ and Rs read as INR)",
                      "description": "Currency (ISO 4217 as published; ₹ and Rs read as INR), with the source and path it was read from.",
                      "additionalProperties": false,
                      "required": [
                        "value",
                        "source",
                        "path"
                      ],
                      "properties": {
                        "value": {
                          "type": "string"
                        },
                        "source": {
                          "enum": [
                            "jsonld",
                            "microdata",
                            "og"
                          ],
                          "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                        },
                        "path": {
                          "type": "string",
                          "maxLength": 8000,
                          "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                        }
                      }
                    },
                    "availability": {
                      "type": "object",
                      "title": "Availability token, vocabulary prefix removed (e.g. InStock)",
                      "description": "Availability token, vocabulary prefix removed (e.g. InStock), with the source and path it was read from.",
                      "additionalProperties": false,
                      "required": [
                        "value",
                        "source",
                        "path"
                      ],
                      "properties": {
                        "value": {
                          "type": "string"
                        },
                        "source": {
                          "enum": [
                            "jsonld",
                            "microdata",
                            "og"
                          ],
                          "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                        },
                        "path": {
                          "type": "string",
                          "maxLength": 8000,
                          "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                        }
                      }
                    },
                    "inStock": {
                      "type": "object",
                      "title": "In stock: true or false from an explicit table; null when the token is neither",
                      "description": "In stock: true or false from an explicit table; null when the token is neither, with the source and path it was read from.",
                      "additionalProperties": false,
                      "required": [
                        "value",
                        "source",
                        "path"
                      ],
                      "properties": {
                        "value": {
                          "type": [
                            "null",
                            "boolean"
                          ]
                        },
                        "source": {
                          "enum": [
                            "jsonld",
                            "microdata",
                            "og"
                          ],
                          "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                        },
                        "path": {
                          "type": "string",
                          "maxLength": 8000,
                          "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                        }
                      }
                    },
                    "url": {
                      "type": "object",
                      "title": "Offer URL",
                      "description": "Offer URL, with the source and path it was read from.",
                      "additionalProperties": false,
                      "required": [
                        "value",
                        "source",
                        "path"
                      ],
                      "properties": {
                        "value": {
                          "type": "string",
                          "format": "uri"
                        },
                        "source": {
                          "enum": [
                            "jsonld",
                            "microdata",
                            "og"
                          ],
                          "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                        },
                        "path": {
                          "type": "string",
                          "maxLength": 8000,
                          "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                        }
                      }
                    },
                    "seller": {
                      "type": "object",
                      "title": "Seller name",
                      "description": "Seller name, with the source and path it was read from.",
                      "additionalProperties": false,
                      "required": [
                        "value",
                        "source",
                        "path"
                      ],
                      "properties": {
                        "value": {
                          "type": "string"
                        },
                        "source": {
                          "enum": [
                            "jsonld",
                            "microdata",
                            "og"
                          ],
                          "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                        },
                        "path": {
                          "type": "string",
                          "maxLength": 8000,
                          "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                        }
                      }
                    },
                    "sku": {
                      "type": "object",
                      "title": "Offer SKU",
                      "description": "Offer SKU, with the source and path it was read from.",
                      "additionalProperties": false,
                      "required": [
                        "value",
                        "source",
                        "path"
                      ],
                      "properties": {
                        "value": {
                          "type": "string"
                        },
                        "source": {
                          "enum": [
                            "jsonld",
                            "microdata",
                            "og"
                          ],
                          "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                        },
                        "path": {
                          "type": "string",
                          "maxLength": 8000,
                          "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "description": "From the first source that carries a product: JSON-LD, else microdata, else OpenGraph. Sources are never merged."
        },
        "organisations": {
          "type": "array",
          "items": {
            "type": "object",
            "title": "Organisation",
            "description": "A page-level Organization, Corporation, OnlineStore, LocalBusiness or store (a seller inside an offer is the offer’s seller).",
            "additionalProperties": false,
            "required": [
              "source",
              "path",
              "type"
            ],
            "properties": {
              "source": {
                "enum": [
                  "jsonld",
                  "microdata",
                  "og"
                ],
                "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
              },
              "path": {
                "type": "string",
                "maxLength": 8000,
                "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
              },
              "type": {
                "type": "string"
              },
              "name": {
                "type": "object",
                "title": "Name",
                "description": "Name, with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "string"
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              },
              "legalName": {
                "type": "object",
                "title": "Legal name",
                "description": "Legal name, with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "string"
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              },
              "url": {
                "type": "object",
                "title": "URL",
                "description": "URL, with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "string",
                    "format": "uri"
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              },
              "logo": {
                "type": "object",
                "title": "Logo URL",
                "description": "Logo URL, with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "string",
                    "format": "uri"
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              },
              "telephone": {
                "type": "object",
                "title": "Telephone",
                "description": "Telephone, with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "string"
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              },
              "email": {
                "type": "object",
                "title": "Email",
                "description": "Email, with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "string"
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              },
              "sameAs": {
                "type": "object",
                "title": "Profiles elsewhere (sameAs)",
                "description": "Profiles elsewhere (sameAs), with the source and path it was read from.",
                "additionalProperties": false,
                "required": [
                  "value",
                  "source",
                  "path"
                ],
                "properties": {
                  "value": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uri"
                    }
                  },
                  "source": {
                    "enum": [
                      "jsonld",
                      "microdata",
                      "og"
                    ],
                    "description": "jsonld (application/ld+json), microdata (itemscope/itemprop) or og (OpenGraph meta tags)."
                  },
                  "path": {
                    "type": "string",
                    "maxLength": 8000,
                    "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
                  }
                }
              }
            }
          }
        },
        "reason": {
          "enum": [
            "empty_input",
            "markup_too_deep",
            "no_markup",
            "jsonld_malformed",
            "no_product_markup",
            null
          ],
          "description": "Set exactly when products is empty: empty_input (no HTML), markup_too_deep (elements nested over 10,000 levels; refused), no_markup (no JSON-LD, microdata or OpenGraph at all), jsonld_malformed (a JSON-LD block is not valid JSON and nothing else carries a product), no_product_markup (structured data, but no product)."
        },
        "notes": {
          "type": "array",
          "items": {
            "type": "object",
            "title": "Note",
            "description": "Something read but not used, or used with a caveat.",
            "additionalProperties": false,
            "required": [
              "code",
              "path",
              "detail"
            ],
            "properties": {
              "code": {
                "enum": [
                  "jsonld_malformed",
                  "product_without_offer",
                  "price_unparsed",
                  "currency_missing",
                  "source_skipped",
                  "limit_reached"
                ]
              },
              "path": {
                "type": "string",
                "maxLength": 8000,
                "description": "Where it was read: jsonld/<block>/<keys...>, microdata/<item>/<itemprops...>, or meta[property=\"...\"]."
              },
              "detail": {
                "type": "string"
              }
            }
          }
        },
        "fetch": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "title": "Fetch",
              "description": "How the page was fetched (the page tool’s guarded fetch). The page itself is never kept.",
              "additionalProperties": false,
              "required": [
                "finalUrl",
                "status",
                "firstHopStatus",
                "blockClass",
                "blockReason",
                "contentType",
                "bytes",
                "truncated",
                "evidence",
                "servedBy"
              ],
              "properties": {
                "finalUrl": {
                  "type": "string",
                  "format": "uri",
                  "description": "The URL read, after redirects."
                },
                "status": {
                  "type": "integer",
                  "description": "The final HTTP status."
                },
                "firstHopStatus": {
                  "type": "integer",
                  "description": "The first response’s status (301 when it redirected)."
                },
                "blockClass": {
                  "enum": [
                    "ok",
                    "blocked",
                    "challenge",
                    "empty"
                  ],
                  "description": "ok, blocked (403, 429, a login wall), challenge (a bot check) or empty. A blocked page is still read, and usually has no product."
                },
                "blockReason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "contentType": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "bytes": {
                  "type": "integer",
                  "minimum": 0
                },
                "truncated": {
                  "type": "boolean",
                  "description": "True when the page was longer than the fetch reads, and cut."
                },
                "evidence": {
                  "type": "object",
                  "title": "Evidence",
                  "description": "What was read, when, and its SHA-256 hash.",
                  "additionalProperties": false,
                  "required": [
                    "sourceUrl",
                    "fetchedAt",
                    "sha256"
                  ],
                  "properties": {
                    "sourceUrl": {
                      "type": "string",
                      "format": "uri"
                    },
                    "fetchedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "sha256": {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    }
                  }
                },
                "servedBy": {
                  "type": "string",
                  "description": "Where the fetch ran, e.g. fly:bom."
                }
              }
            }
          ],
          "description": "Null when the request sent the HTML."
        },
        "found": {
          "type": "object",
          "title": "Found",
          "description": "What structured data the page carries.",
          "additionalProperties": false,
          "required": [
            "jsonldBlocks",
            "jsonldMalformed",
            "microdataItems",
            "ogTags",
            "productSource"
          ],
          "properties": {
            "jsonldBlocks": {
              "type": "integer",
              "minimum": 0
            },
            "jsonldMalformed": {
              "type": "integer",
              "minimum": 0
            },
            "microdataItems": {
              "type": "integer",
              "minimum": 0
            },
            "ogTags": {
              "type": "integer",
              "minimum": 0
            },
            "productSource": {
              "enum": [
                "jsonld",
                "microdata",
                "og",
                null
              ]
            }
          }
        }
      }
    },
    "meta": {
      "type": "object",
      "title": "Meta",
      "description": "Never charged.",
      "additionalProperties": false,
      "required": [
        "credits"
      ],
      "properties": {
        "credits": {
          "$ref": "#/$defs/NoCharge"
        }
      }
    }
  },
  "$defs": {
    "NoCharge": {
      "type": "object",
      "title": "No charge",
      "description": "Always nothing: discovery and samples are free and never touch the credit balance.",
      "additionalProperties": false,
      "required": [
        "charged",
        "units",
        "freeReread",
        "rate"
      ],
      "properties": {
        "charged": {
          "const": 0,
          "title": "Credits charged",
          "description": "Always 0."
        },
        "units": {
          "const": 0,
          "title": "Records delivered",
          "description": "Always 0: previews and samples are not delivered data."
        },
        "freeReread": {
          "const": false,
          "title": "Free re-read",
          "description": "Always false."
        },
        "rate": {
          "type": "null",
          "title": "Published rate",
          "description": "Always null: nothing is charged."
        }
      }
    }
  }
}