Created
April 27, 2020 22:55
-
-
Save Khuzha/17fa19e136daa8fe6d86686363671374 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
const schema = { | |
'Date of request': { | |
prop: 'date', | |
type: Date | |
}, | |
'Name': { | |
prop: 'name', | |
type: String | |
}, | |
'Birthday': { | |
prop: 'bday', | |
type: Date | |
}, | |
'Passport': { | |
prop: 'passport', | |
type: { | |
'Series and number': { | |
prop: 'num', | |
type: String | |
}, | |
'Expiration date': { | |
prop: 'exp', | |
type: Date | |
}, | |
} | |
}, | |
'Wanted direction': { | |
prop: 'direct', | |
type: String | |
}, | |
'Wanted fly date': { | |
prop: 'flyDate', | |
type: Date | |
}, | |
'Phone number': { | |
prop: 'phone', | |
type: String | |
}, | |
'Telegram account': { | |
prop: 'tg', | |
type: String | |
}, | |
'E-mail': { | |
prop: 'email', | |
type: String | |
}, | |
'Ticket status': { | |
prop: 'ticket', | |
type: String | |
}, | |
'Note': { | |
prop: 'note', | |
type: String | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment