1 # You can validate config files with this file by a tool named kwalify.
2 # http://www.kuwata-lab.com/kwalify/
5 # kwalify -f nopaste-config-schema.yml <your-nopaste-config>
12 "server" : {required: true}
13 "port" : {required: true, type: integer}
14 "nick" : {required: true}
15 "username": {required: true}
16 "ircname" : {required: true}
20 "port": {required: true, type: integer}
24 "file": {required: true}
30 "name" : {required: true}
31 "id" : {required: true, pattern: "/^[a-zA-Z0-9_\-.]+$/"}
32 "charset" : {desc: default is "ISO-8859-1"}
33 "locale" : {desc: default is "en"}
38 desc: default is "any"
39 enum: &permission [op, halfop, voice, member, any]
41 desc: default is "any"