Exploring data formats

From Kosmos Wiki
Jump to navigation Jump to search

Methods of structuring data

Server Credentials

AS2

 {
   ...
   "context": "irc", 
   "@type": "..." // could be 'create', 'add', 'author'... whatever we choose, this open for discussion
   "actor": {
     "@id": "irc://howard@irc.freenode.net",
     "displayName": "howard"
   },
   "object": {
     "@type" : "credentials",
     "nick": : "howard",
     "password": "radical",
     "server": "irc.freenode.net",
     "port": 1234,
     "secure": true,
     "altNicks": [ "howardtheduck", "famousduck" ] // this property would need to be added to the schema
   },
   "target": "irc://irc.freenode.net"
 }

Messages