ホスティング記述ファイルのサンプル

YAML
-
 name: John Smith
 login: jsmith
 email: jsmith@example.com
 password: 123qwe
 subscriptions:
 -
 name: example.com
 sys_user:
 login: jsmith
 password: 123qwe1
 addon_domains:
 -
 name: another.tld
 -
 name: other.tld
 subdomains:
 -
 name: s.another.tld
 -
 name: s.example.com
 databases:
 -
 type: mysql
 name: examplecomdb1
 user:
 login: exdbuser1
 password: qweqwe
 -
 type: mysql
 name: examplecomdb2
 user:
 login: exdbuser2
 password: eiury
 mailboxes:
 -
 name: john@example.com
 password: 123qwe
 limit: 50M
 spamfilter: true
 antivirus: false
 -
 name: bob@example.com
 password: 123qwe
 limit: 10M
 -
 name: tom@example.com
 password: 123qwe
 limit: 10M
 -
 name: example.net
 source_webspace_root: /home/sergey/data/
 source_document_root: /home/sergey/data/www/example.net
 sys_user:
 login: serg
 password: 123qwe
 databases:
 -
 type: mysql
 name: db3
 user:
 login: db3user
 password: qweqwe
-
 name: Alex Smith
 login: asmith
 email: asmith@example.com
 password: 123qwe
 subscriptions:
 -
 name: example.info
 source_webspace_root: /home/alexey/data/
 source_document_root: /home/alexey/data/www/example.info
 sys_user:
 login: alexey
 databases:
 -
 type: mysql
 name: db1
 user:
 login: db1user
 password: qweqwe
 -
 type: mysql
 name: db2
 user:
 login: db2user
 mailboxes:
 -
 name: alexey@example.info
 password: 123qwe
JSON
[
 {
 "name": "John Smith",
 "login": "jsmith",
 "subscriptions": [
 {
 "name": "jsmith.tld",
 "sys_user": {
 "login": "johny",
 "password": "123qwe"
 }
 }
 ]
 },
 {
 "name": "Alex Smith",
 "login": "alexey",
 "subscriptions": [
 {
 "name": "alex.tld",
 "sys_user": {
 "login": "alexsmith",
 "password": "123qwe"
 }
 }
 ]
 }
 ]
XML
<?xml version="1.0"?>
<clients>
 <client>
 <name>John Smith</name>
 <login>john</login>
 <subscriptions>
 <subscription>
 <name>john.tld</name>
 sable
 <login>john</login>
 <password>123qwe</password>
 </sys_user>
 </subscription>
 </subscriptions>
 </client>
 <client>
 <name>Alex Smith</name>
 <login>asmith</login>
 <subscriptions>
 <subscription>
 <name>asmith.tld</name>
 sable
 <login>asmith</login>
 <password>123qwe</password>
 </sys_user>
 </subscription>
 </subscriptions>
 </client>
</clients>