diff --git a/schema-docs.md b/schema-docs.md
index 3c524606..675335b8 100644
--- a/schema-docs.md
+++ b/schema-docs.md
@@ -397,8 +397,8 @@ Usages:
| Property | Type | Required? | Constraints | Description |
|---|---|---|---|---|
-| `max_scale` | one of:
* `integer`
* `null`
| `false` | No constraints. | TODO |
-| `max_size` | one of:
* `integer`
* `null`
| `false` | No constraints. | TODO |
+| `max_scale` | one of:
* `integer`
* `null`
| `false` | * `minimum`: `-10`
* `maximum`: `20`
| TODO |
+| `max_size` | one of:
* `integer`
* `null`
| `false` | * `minimum`: `2`
| TODO |
| `record_min_max` | one of:
* `boolean`
* `null`
| `false` | No constraints. | TODO |
@@ -434,13 +434,16 @@ Usages:
"type": [
"integer",
"null"
- ]
+ ],
+ "minimum": -10,
+ "maximum": 20
},
"max_size": {
"type": [
"integer",
"null"
- ]
+ ],
+ "minimum": 2
},
"record_min_max": {
"type": [
@@ -4030,13 +4033,16 @@ Usages:
"type": [
"integer",
"null"
- ]
+ ],
+ "minimum": -10,
+ "maximum": 20
},
"max_size": {
"type": [
"integer",
"null"
- ]
+ ],
+ "minimum": 2
},
"record_min_max": {
"type": [
diff --git a/schema/meter_provider.json b/schema/meter_provider.json
index 19c675f5..ab61febf 100644
--- a/schema/meter_provider.json
+++ b/schema/meter_provider.json
@@ -455,10 +455,13 @@
"additionalProperties": false,
"properties": {
"max_scale": {
- "type": ["integer", "null"]
+ "type": ["integer", "null"],
+ "minimum": -10,
+ "maximum": 20
},
"max_size": {
- "type": ["integer", "null"]
+ "type": ["integer", "null"],
+ "minimum": 2
},
"record_min_max": {
"type": ["boolean", "null"]