Last active
          April 10, 2021 15:44 
        
      - 
      
- 
        Save BhCh7051/b8169fbd4c03fe9fe65f0ede90928c20 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "definitions": {}, | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "$id": "https://example.com/object1617980530.json", | |
| "title": "Root", | |
| "type": "object", | |
| "required": [ | |
| "users", | |
| "groups", | |
| "contacts" | |
| ], | |
| "properties": { | |
| "users": { | |
| "$id": "#root/users", | |
| "title": "Users", | |
| "type": "array", | |
| "default": [], | |
| "items":{ | |
| "$id": "#root/users/items", | |
| "title": "Items", | |
| "type": "object", | |
| "required": [ | |
| "id", | |
| "name", | |
| "profilePicture", | |
| "status", | |
| "unRead", | |
| "roomType", | |
| "isGroup", | |
| "messages" | |
| ], | |
| "properties": { | |
| "id": { | |
| "$id": "#root/users/items/id", | |
| "title": "Id", | |
| "type": "integer", | |
| "default": 0 | |
| }, | |
| "name": { | |
| "$id": "#root/users/items/name", | |
| "title": "Name", | |
| "type": "string", | |
| "default": "", | |
| "pattern": "^.*$" | |
| }, | |
| "profilePicture": { | |
| "$id": "#root/users/items/profilePicture", | |
| "title": "Profilepicture", | |
| "type": "string", | |
| "default": "", | |
| "pattern": "^.*$" | |
| }, | |
| "status": { | |
| "$id": "#root/users/items/status", | |
| "title": "Status", | |
| "type": "string", | |
| "default": "", | |
| "pattern": "^.*$" | |
| }, | |
| "unRead": { | |
| "$id": "#root/users/items/unRead", | |
| "title": "Unread", | |
| "type": "integer", | |
| "default": 0 | |
| }, | |
| "roomType": { | |
| "$id": "#root/users/items/roomType", | |
| "title": "Roomtype", | |
| "type": "string", | |
| "default": "", | |
| "pattern": "^.*$" | |
| }, | |
| "isGroup": { | |
| "$id": "#root/users/items/isGroup", | |
| "title": "Isgroup", | |
| "type": "boolean", | |
| "default": true | |
| }, | |
| "messages": { | |
| "$id": "#root/users/items/messages", | |
| "title": "Messages", | |
| "type": "array", | |
| "default": [], | |
| "items":{ | |
| "$id": "#root/users/items/messages/items", | |
| "title": "Items", | |
| "type": "object", | |
| "required": [ | |
| "id", | |
| "message", | |
| "time", | |
| "userType", | |
| "isImageMessage", | |
| "isFileMessage" | |
| ], | |
| "properties": { | |
| "id": { | |
| "$id": "#root/users/items/messages/items/id", | |
| "title": "Id", | |
| "type": "integer", | |
| "default": 0 | |
| }, | |
| "message": { | |
| "$id": "#root/users/items/messages/items/message", | |
| "title": "Message", | |
| "type": "string", | |
| "default": "", | |
| "pattern": "^.*$" | |
| }, | |
| "time": { | |
| "$id": "#root/users/items/messages/items/time", | |
| "title": "Time", | |
| "type": "string", | |
| "default": "", | |
| "pattern": "^.*$" | |
| }, | |
| "userType": { | |
| "$id": "#root/users/items/messages/items/userType", | |
| "title": "Usertype", | |
| "type": "string", | |
| "default": "", | |
| "pattern": "^.*$" | |
| }, | |
| "isImageMessage": { | |
| "$id": "#root/users/items/messages/items/isImageMessage", | |
| "title": "Isimagemessage", | |
| "type": "boolean", | |
| "default": true | |
| }, | |
| "isFileMessage": { | |
| "$id": "#root/users/items/messages/items/isFileMessage", | |
| "title": "Isfilemessage", | |
| "type": "boolean", | |
| "default": true | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "groups": { | |
| "$id": "#root/groups", | |
| "title": "Groups", | |
| "type": "array", | |
| "default": [], | |
| "items":{ | |
| "$id": "#root/groups/items", | |
| "title": "Items", | |
| "type": "object", | |
| "required": [ | |
| "gourpid", | |
| "name", | |
| "profilePicture", | |
| "isGroup", | |
| "unRead", | |
| "desc", | |
| "members" | |
| ], | |
| "properties": { | |
| "gourpid": { | |
| "$id": "#root/groups/items/gourpid", | |
| "title": "Gourpid", | |
| "type": "integer", | |
| "default": 0 | |
| }, | |
| "name": { | |
| "$id": "#root/groups/items/name", | |
| "title": "Name", | |
| "type": "string", | |
| "default": "", | |
| "pattern": "^.*$" | |
| }, | |
| "profilePicture": { | |
| "$id": "#root/groups/items/profilePicture", | |
| "title": "Profilepicture", | |
| "type": "string", | |
| "default": "", | |
| "pattern": "^.*$" | |
| }, | |
| "isGroup": { | |
| "$id": "#root/groups/items/isGroup", | |
| "title": "Isgroup", | |
| "type": "boolean", | |
| "default": true | |
| }, | |
| "unRead": { | |
| "$id": "#root/groups/items/unRead", | |
| "title": "Unread", | |
| "type": "integer", | |
| "default": 0 | |
| }, | |
| "desc": { | |
| "$id": "#root/groups/items/desc", | |
| "title": "Desc", | |
| "type": "string", | |
| "default": "", | |
| "pattern": "^.*$" | |
| }, | |
| "members": { | |
| "$id": "#root/groups/items/members", | |
| "title": "Members", | |
| "type": "array", | |
| "default": [], | |
| "items":{ | |
| "$id": "#root/groups/items/members/items", | |
| "title": "Items", | |
| "type": "object", | |
| "required": [ | |
| "userid", | |
| "name", | |
| "profilePicture", | |
| "role" | |
| ], | |
| "properties": { | |
| "userid": { | |
| "$id": "#root/groups/items/members/items/userid", | |
| "title": "Userid", | |
| "type": "integer", | |
| "default": 0 | |
| }, | |
| "name": { | |
| "$id": "#root/groups/items/members/items/name", | |
| "title": "Name", | |
| "type": "string", | |
| "default": "", | |
| "pattern": "^.*$" | |
| }, | |
| "profilePicture": { | |
| "$id": "#root/groups/items/members/items/profilePicture", | |
| "title": "Profilepicture", | |
| "type": "string", | |
| "default": "", | |
| "pattern": "^.*$" | |
| }, | |
| "role": { | |
| "$id": "#root/groups/items/members/items/role", | |
| "title": "Role", | |
| "type": "null", | |
| "default": null | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "contacts": { | |
| "$id": "#root/contacts", | |
| "title": "Contacts", | |
| "type": "array", | |
| "default": [], | |
| "items":{ | |
| "$id": "#root/contacts/items", | |
| "title": "Items", | |
| "type": "object", | |
| "required": [ | |
| "id", | |
| "name" | |
| ], | |
| "properties": { | |
| "id": { | |
| "$id": "#root/contacts/items/id", | |
| "title": "Id", | |
| "type": "integer", | |
| "default": 0 | |
| }, | |
| "name": { | |
| "$id": "#root/contacts/items/name", | |
| "title": "Name", | |
| "type": "string", | |
| "default": "", | |
| "pattern": "^.*$" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment