{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mocko/main/json-schema/mocko-get-products-id-response-schema.json",
  "title": "GetProductsIdResponse",
  "x-generated": "2026-10-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/mocko-recipes-openapi-generated.yml#/components/schemas/GetProductsIdResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Product identifier"
    },
    "name": {
      "type": "string",
      "description": "Product name"
    },
    "price": {
      "type": "number",
      "description": "Product price"
    },
    "error": {
      "type": "string",
      "description": "Error message when product not found"
    }
  }
}