| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- {
- "additionalProperties": false,
- "description": "A validated registration form.",
- "properties": {
- "age": {
- "description": "Age in years.",
- "exclusiveMaximum": 130,
- "minimum": 13,
- "type": "number"
- },
- "email": {
- "description": "Contact email.",
- "format": "email",
- "type": "string"
- },
- "interests": {
- "description": "Interests.",
- "items": {
- "type": "string"
- },
- "maxItems": 5,
- "minItems": 1,
- "type": "array"
- },
- "subscribe": {
- "default": false,
- "description": "Whether to subscribe to the newsletter.",
- "type": "boolean"
- },
- "username": {
- "description": "Chosen username.",
- "maxLength": 20,
- "minLength": 3,
- "pattern": "^[a-z0-9_]+$",
- "type": "string"
- }
- },
- "required": [
- "username",
- "age",
- "email",
- "interests",
- "subscribe"
- ],
- "type": "object"
- }
|