Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "type": "object",
- "properties": {
- "userId": {
- "type": "integer"
- },
- "vorname": {
- "type": "string",
- "maxLength": 50
- },
- "nachname": {
- "type": "string",
- "maxLength": 50
- },
- "email": {
- "type": "string",
- "format": "email"
- },
- "benutzername": {
- "type": "string",
- "minLength": 3,
- "maxLength": 20
- },
- "geburtsdatum": {
- "type": "string",
- "format": "date"
- },
- "aktiv": {
- "type": "boolean"
- },
- "adresse": {
- "type": "object",
- "properties": {
- "strasse": {
- "type": "string"
- },
- "hausnummer": {
- "type": "string"
- },
- "stadt": {
- "type": "string"
- },
- "postleitzahl": {
- "type": "string",
- "pattern": "^[0-9]{4,5}$"
- },
- "land": {
- "type": "string"
- }
- },
- "required": ["strasse", "stadt", "postleitzahl", "land"]
- }
- },
- "required": ["userId", "vorname", "nachname", "email", "benutzername", "geburtsdatum", "aktiv"]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement