diff --git a/schemas/ingredients.json b/schemas/ingredients.json index c4f637c..9265088 100644 --- a/schemas/ingredients.json +++ b/schemas/ingredients.json @@ -18,7 +18,7 @@ "additionalProperties": false, "required": [ "price", "amount", "unit" ], "properties": { - "price": { "type": "integer" }, + "price": { "type": "number" }, "amount": { "type": "integer" }, "unit": { "type": "string" } } @@ -33,7 +33,7 @@ "properties": { "from": { "type": "string" }, "to": { "type": "string" }, - "ratio": { "type": "integer" } + "ratio": { "type": "number" } } } }, @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/schemas/recipe.json b/schemas/recipe.json index 3b4c980..0f690ae 100644 --- a/schemas/recipe.json +++ b/schemas/recipe.json @@ -33,4 +33,4 @@ "items": { "$ref": "/recipe.json" } } } -} \ No newline at end of file +}