We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5d1425 commit e2f46b8Copy full SHA for e2f46b8
README.md
@@ -98,6 +98,24 @@ is_classic(classic_url) # True
98
99
---
100
101
+## Validation rules
102
+
103
+`deserialize()` enforces:
104
105
+| Rule | Limit | Exception |
106
+|------|-------|-----------|
107
+| Hex payload length | max 4,096 characters | `ValueError` |
108
+| Protobuf field count | max 100 per message | `ValueError` |
109
110
+`serialize()` enforces:
111
112
+| Field | Constraint | Exception |
113
+|-------|-----------|-----------|
114
+| `paintwear` | `[0.0, 1.0]` | `ValueError` |
115
+| `customname` | max 100 characters | `ValueError` |
116
117
+---
118
119
## How the format works
120
121
Three URL formats are handled:
0 commit comments