Difference between revisions of "Exploring data formats"
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
		
		
		
		
		
	
|  (→AS2) |  (→AS2) | ||
| Line 21: | Line 21: | ||
|        "secure": true, |        "secure": true, | ||
|        "altNicks": [ "howardtheduck", "famousduck" ] // this property would need to be added to the schema |        "altNicks": [ "howardtheduck", "famousduck" ] // this property would need to be added to the schema | ||
| − |      } | + |      }, | 
| + |     "target": "irc://irc.freenode.net" | ||
|    } |    } | ||
Revision as of 15:31, 5 June 2015
Methods of structuring data
Server Credentials
AS2
 {
   ...
   "context": "irc",
   "@type": "observe",
   "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"
 }
