Skip to content

Instantly share code, notes, and snippets.

@regner
Last active August 29, 2015 14:08
Show Gist options
  • Save regner/f360e9972fbfd05dad7a to your computer and use it in GitHub Desktop.
Save regner/f360e9972fbfd05dad7a to your computer and use it in GitHub Desktop.
Updating with newest example.
{
"mediatypes": [
{
"attributes": {
"text": {
"type": "String",
"description": "Text of the document",
"isOptional": false
}
},
"type": "Dict",
"description": "Public Path-to-Game Document Contents for DUST",
"isOptional": false
},
{
"attributes": {},
"type": "Dict",
"isOptional": false
},
{
"attributes": {
"previous": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"items": {
"attributes": {
"tournament": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "the tournament this match is part of",
"isOptional": false
},
"stats": {
"attributes": {
"pilots": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
"redTeam": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"teamName": {
"type": "String",
"description": "name",
"isOptional": "Name of the team"
}
},
"type": "Ref",
"description": "The red team",
"isOptional": false
},
"bans": {
"attributes": {
"self": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "Bans for this match",
"isOptional": false
},
"redTeam": {
"attributes": {
"typeBans": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
},
"icon": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"bannedBy": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "the team that requested this ban",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"blueTeam": {
"attributes": {
"typeBans": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
},
"icon": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"bannedBy": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "the team that requested this ban",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
"finalized": {
"type": "Bool",
"description": "Is the match result decided",
"isOptional": false
},
"series": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "the series this match is part of",
"isOptional": false
},
"winner": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "Winner of this match",
"isOptional": true
},
"staticSceneData": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "The static scene data for the match",
"isOptional": true
},
"firstReplayFrame": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "The first frame of realtime data",
"isOptional": true
},
"lastReplayFrame": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "The last frame of realtime data",
"isOptional": true
},
"blueTeam": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"teamName": {
"type": "String",
"description": "name",
"isOptional": "Name of the team"
}
},
"type": "Ref",
"description": "The blue team",
"isOptional": false
},
"inProgress": {
"type": "Bool",
"description": "Is the match currently being played",
"isOptional": false
},
"score": {
"attributes": {
"redTeam": {
"type": "Float",
"isOptional": false
},
"blueTeam": {
"type": "Float",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"totalCount": {
"type": "Long",
"isOptional": true
},
"next": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"pageCount": {
"type": "Long",
"isOptional": true
}
},
"type": "Collection",
"isOptional": false
},
{
"attributes": {
"previous": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"items": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"id": {
"type": "Long",
"description": "ID of a killmail related to the selected war.",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"totalCount": {
"type": "Long",
"isOptional": true
},
"next": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"pageCount": {
"type": "Long",
"isOptional": true
}
},
"type": "Collection",
"isOptional": false
},
{
"attributes": {
"marketSellOrders": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
},
"marketBuyOrders": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
},
"description": {
"type": "String",
"description": "Description of the region",
"isOptional": false
},
"constellations": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"name": {
"type": "String",
"description": "Name of the region",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
{
"attributes": {
"corpJoinDate": {
"type": "String",
"description": "Date they joined their most recent corporation",
"isOptional": false
},
"creationDate": {
"type": "String",
"description": "Date the character was created",
"isOptional": false
},
"alliance": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Ref",
"description": "The alliance they belong to",
"isOptional": true
},
"damageDone": {
"type": "Float",
"isOptional": false
},
"kills": {
"type": "Long",
"isOptional": false
},
"deaths": {
"type": "Long",
"isOptional": false
},
"corporation": {
"attributes": {
"isNPC": {
"type": "Bool",
"isOptional": false
},
"logo": {
"attributes": {
"logo": {
"attributes": {
"color1": {
"type": "Long",
"isOptional": true
},
"color3": {
"type": "Long",
"isOptional": true
},
"shape3": {
"type": "Long",
"isOptional": true
},
"shape2": {
"type": "Long",
"isOptional": true
},
"shape1": {
"type": "Long",
"isOptional": true
},
"color2": {
"type": "Long",
"isOptional": true
}
},
"type": "Dict",
"isOptional": true
},
"128x128": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "A URI to the image server which returns a 128x128 corporations logo",
"isOptional": false
},
"256x256": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "A URI to the image server which returns a 256x256 corporations logo",
"isOptional": false
},
"64x64": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "A URI to the image server which returns a 64x64 corporations logo",
"isOptional": false
},
"32x32": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "A URI to the image server which returns a 32x32 corporations logo",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
"href": {
"type": "Uri",
"isOptional": false
},
"id": {
"type": "Long",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
"character": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"description": "name",
"isOptional": "Name of the pilot"
},
"icon": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "Portrait of the pilot",
"isOptional": false
}
},
"type": "Ref",
"description": "The character who these stats are for",
"isOptional": false
},
"recentShips": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
},
"icon": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"matchesParticipatedIn": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
{
"attributes": {
"previous": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"items": {
"attributes": {
"href": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"description": "The name of the team",
"isOptional": false
}
},
"type": "Ref",
"description": "Link to a tournament team resource",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"totalCount": {
"type": "Long",
"isOptional": true
},
"next": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"pageCount": {
"type": "Long",
"isOptional": true
}
},
"type": "Collection",
"isOptional": false
},
{
"attributes": {},
"type": "Dict",
"isOptional": false
},
{
"attributes": {
"position": {
"attributes": {
"y": {
"type": "Float",
"isOptional": false
},
"x": {
"type": "Float",
"isOptional": false
},
"z": {
"type": "Float",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
"type": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "Type of the planet",
"isOptional": false
},
"system": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Ref",
"description": "Reference to the system the planet is in",
"isOptional": false
},
"name": {
"type": "String",
"description": "Name of the planet",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
{
"attributes": {},
"type": "Dict",
"isOptional": false
},
{
"attributes": {
"globalObjects": {
"attributes": {
"name": {
"type": "String",
"isOptional": false
},
"planetOrMoonInfo": {
"attributes": {
"heightMap1": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
},
"shaderPreset": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
},
"heightMap2": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
},
"radius": {
"type": "Float",
"isOptional": false
}
},
"type": "Dict",
"isOptional": true
},
"y": {
"type": "Float",
"isOptional": false
},
"x": {
"type": "Float",
"isOptional": false
},
"z": {
"type": "Float",
"isOptional": false
},
"type": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
},
"icon": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"ships": {
"attributes": {
"item": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
},
"points": {
"type": "Float",
"description": "The point value of the ship",
"isOptional": false
},
"character": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
},
"icon": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
},
"turrets": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"graphicResource": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"type": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
},
"icon": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"nebulaName": {
"type": "String",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
{
"attributes": {
"previous": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"items": {
"attributes": {
"skillPoints": {
"type": "Long",
"description": "Current skill point count for skill",
"isOptional": true
},
"self": {
"type": "String",
"description": "URI of this sub-object, allowing updates and deletes when aggregated",
"isOptional": true
},
"href": {
"type": "Uri",
"description": "URI of skill ItemType",
"isOptional": false
},
"name": {
"type": "String",
"description": "Name of skill",
"isOptional": true
},
"level": {
"type": "Long",
"description": "Current skill level",
"isOptional": true
}
},
"type": "Array",
"isOptional": false
},
"totalCount": {
"type": "Long",
"isOptional": true
},
"next": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"pageCount": {
"type": "Long",
"isOptional": true
}
},
"type": "Collection",
"isOptional": false
},
{
"attributes": {
"previous": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"items": {
"attributes": {
"standing": {
"type": "Float",
"description": "Standing of contact",
"isOptional": false
},
"character": {
"attributes": {
"name": {
"type": "String",
"isOptional": false
},
"corporation": {
"attributes": {
"isNPC": {
"type": "Bool",
"isOptional": false
},
"logo": {
"attributes": {
"logo": {
"attributes": {
"color1": {
"type": "Long",
"isOptional": true
},
"color3": {
"type": "Long",
"isOptional": true
},
"shape3": {
"type": "Long",
"isOptional": true
},
"shape2": {
"type": "Long",
"isOptional": true
},
"shape1": {
"type": "Long",
"isOptional": true
},
"color2": {
"type": "Long",
"isOptional": true
}
},
"type": "Dict",
"isOptional": true
},
"128x128": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "A URI to the image server which returns a 128x128 corporations logo",
"isOptional": false
},
"256x256": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "A URI to the image server which returns a 256x256 corporations logo",
"isOptional": false
},
"64x64": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "A URI to the image server which returns a 64x64 corporations logo",
"isOptional": false
},
"32x32": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "A URI to the image server which returns a 32x32 corporations logo",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
"href": {
"type": "Uri",
"isOptional": false
},
"id": {
"type": "Long",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
"isNPC": {
"type": "Bool",
"isOptional": false
},
"mercenary": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"isOptional": true
},
"href": {
"type": "Uri",
"isOptional": false
},
"capsuleer": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"isOptional": true
},
"portrait": {
"attributes": {
"64x64": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "A URI to the image server which returns a 64x64 character portrait image",
"isOptional": false
},
"128x128": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "A URI to the image server which returns a 128x128 character portrait image",
"isOptional": false
},
"256x256": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "A URI to the image server which returns a 256x256 character portrait image",
"isOptional": false
},
"32x32": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "A URI to the image server which returns a 32x32 character portrait image",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
"id": {
"type": "Long",
"isOptional": false
}
},
"type": "Dict",
"isOptional": true
},
"contact": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
},
"id": {
"type": "Long",
"isOptional": false
}
},
"type": "Ref",
"description": "Reference to Character or Corporation",
"isOptional": false
},
"href": {
"type": "Uri",
"description": "URI of contact resource allowing updates and deletion when aggregated",
"isOptional": false
},
"contactType": {
"type": "String",
"description": "This contact is character or corporation",
"isOptional": false
},
"watched": {
"type": "Bool",
"description": "Flag indicating whether this contact is being watched",
"isOptional": true
},
"blocked": {
"type": "Bool",
"description": "Flag indicating whether this contact is in the blocked list. Note a missing value denotes unknown; not false or true",
"isOptional": true
}
},
"type": "Array",
"isOptional": false
},
"totalCount": {
"type": "Long",
"isOptional": true
},
"next": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"pageCount": {
"type": "Long",
"isOptional": true
}
},
"type": "Collection",
"isOptional": false
},
{
"attributes": {
"body": {
"type": "String",
"description": "The mail body content",
"isOptional": false
},
"forward": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "A reference to the Mail that is being forwarded",
"isOptional": true
},
"reply": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "A reference to the Mail that is being replied to",
"isOptional": true
},
"recipients": {
"attributes": {
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"subject": {
"type": "String",
"description": "The mail subject",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
{
"attributes": {},
"type": "Dict",
"isOptional": false
},
{
"attributes": {
"previous": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"items": {
"attributes": {
"alliance": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "link to member alliance",
"isOptional": true
},
"name": {
"type": "String",
"description": "The name of the member",
"isOptional": false
},
"corporation": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "link to member corporation",
"isOptional": true
},
"self": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "link to this resource",
"isOptional": false
},
"character": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "link to member character",
"isOptional": true
},
"icon": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "Icon for this member",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"totalCount": {
"type": "Long",
"isOptional": true
},
"next": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"pageCount": {
"type": "Long",
"isOptional": true
}
},
"type": "Collection",
"isOptional": false
},
{
"attributes": {
"standing": {
"type": "Float",
"description": "Standing of contact",
"isOptional": true
},
"watched": {
"type": "Bool",
"description": "Flag indicating whether this contact is being watched",
"isOptional": true
},
"href": {
"type": "Uri",
"description": "URI of contact resource allowing updates and deletion when aggregated",
"isOptional": true
},
"contact": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": true
},
"id": {
"type": "Long",
"isOptional": true
}
},
"type": "Ref",
"description": "Reference to Character or Corporation",
"isOptional": false
},
"contactType": {
"type": "String",
"description": "This contact is character or corporation",
"isOptional": true
}
},
"type": "Dict",
"isOptional": false
},
{
"attributes": {
"character": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "Reference to the character bound to this token",
"isOptional": true
},
"user": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"id": {
"type": "Long",
"isOptional": false
}
},
"type": "Ref",
"description": "Reference to the user bound to this token",
"isOptional": true
}
},
"type": "Dict",
"isOptional": false
},
{
"attributes": {
"previous": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"items": {
"attributes": {
"systemCostIndices": {
"attributes": {
"costIndex": {
"type": "Float",
"description": "value of the index",
"isOptional": false
},
"activityID": {
"type": "Long",
"description": "id of the activty",
"isOptional": false
},
"activityName": {
"type": "String",
"description": "name of the activity",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"solarSystem": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"id": {
"type": "Long",
"description": "solarSystemID for the system the team resides in.",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Ref",
"description": "Solar system.",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"totalCount": {
"type": "Long",
"isOptional": true
},
"next": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"pageCount": {
"type": "Long",
"isOptional": true
}
},
"type": "Collection",
"isOptional": false
},
{
"attributes": {
"matchesInProgress": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Array",
"description": "An array of URLs to matches that are currently in progress",
"isOptional": true
},
"redTeam": {
"attributes": {
"isDecided": {
"type": "Bool",
"isOptional": false
},
"isBye": {
"type": "Bool",
"isOptional": false
},
"team": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"teamName": {
"type": "String",
"description": "name",
"isOptional": "Name of the team"
}
},
"type": "Ref",
"description": "The red team",
"isOptional": true
}
},
"type": "Dict",
"isOptional": false
},
"matchesWon": {
"attributes": {
"redTeam": {
"type": "Long",
"isOptional": false
},
"blueTeam": {
"type": "Long",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
"matches": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
},
"self": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
},
"winner": {
"attributes": {
"isDecided": {
"type": "Bool",
"isOptional": false
},
"isBye": {
"type": "Bool",
"isOptional": false
},
"team": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"teamName": {
"type": "String",
"description": "name",
"isOptional": "Name of the team"
}
},
"type": "Ref",
"description": "The winning team",
"isOptional": true
}
},
"type": "Dict",
"isOptional": false
},
"loser": {
"attributes": {
"isDecided": {
"type": "Bool",
"isOptional": false
},
"isBye": {
"type": "Bool",
"isOptional": false
},
"team": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"teamName": {
"type": "String",
"description": "name",
"isOptional": "Name of the team"
}
},
"type": "Ref",
"description": "The losing team",
"isOptional": true
}
},
"type": "Dict",
"isOptional": false
},
"length": {
"type": "Long",
"description": "Amount of matches in this series",
"isOptional": false
},
"blueTeam": {
"attributes": {
"isDecided": {
"type": "Bool",
"isOptional": false
},
"isBye": {
"type": "Bool",
"isOptional": false
},
"team": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"teamName": {
"type": "String",
"description": "name",
"isOptional": "Name of the team"
}
},
"type": "Ref",
"description": "The blue team",
"isOptional": true
}
},
"type": "Dict",
"isOptional": false
},
"structure": {
"attributes": {
"outgoingLoser": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "Next series for loser",
"isOptional": true
},
"outgoingWinner": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "Next series for winner",
"isOptional": true
},
"incomingRed": {
"attributes": {
"linkType": {
"type": "String",
"description": "Whether this is the series winner or loser",
"isOptional": false
},
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "Series where blue team was decided",
"isOptional": true
},
"incomingBlue": {
"attributes": {
"linkType": {
"type": "String",
"description": "Whether this is the series winner or loser",
"isOptional": false
},
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "Series where red team was decided",
"isOptional": true
}
},
"type": "Dict",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
{
"attributes": {
"category": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
},
"published": {
"type": "Bool",
"isOptional": false
},
"description": {
"type": "String",
"isOptional": false
},
"types": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
{
"attributes": {
"status": {
"type": "String",
"description": "The server status message",
"isOptional": false
},
"motd": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "Link to the message of the day",
"isOptional": false
},
"clientVersion": {
"type": "String",
"description": "The client version",
"isOptional": false
},
"crestEndpoint": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "Link to the root of the crest API.",
"isOptional": false
},
"sentryDSN": {
"type": "String",
"description": "Connection string for sentry exception reporting.",
"isOptional": false
},
"serverVersion": {
"type": "String",
"description": "The server version",
"isOptional": false
},
"authEndpoint": {
"attributes": {
"username": {
"type": "String",
"description": "The endpoint at which to authenticate by username",
"isOptional": false
},
"psn": {
"type": "String",
"description": "The endpoint for authenticate with a PSN token",
"isOptional": true
},
"vgs": {
"type": "String",
"description": "The endpoint for the virtual goods service",
"isOptional": true
}
},
"type": "Dict",
"description": "The URIs to use for authentication",
"isOptional": false
},
"userCount": {
"type": "Long",
"description": "Number of online users",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
{
"attributes": {
"name": {
"type": "String",
"isOptional": false
},
"groups": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"published": {
"type": "Bool",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
{
"attributes": {
"redTeamShipData": {
"attributes": {
"physicsData": {
"attributes": {
"vx": {
"type": "Float",
"isOptional": false
},
"vy": {
"type": "Float",
"isOptional": false
},
"y": {
"type": "Float",
"isOptional": false
},
"x": {
"type": "Float",
"isOptional": false
},
"vz": {
"type": "Float",
"isOptional": false
},
"z": {
"type": "Float",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
"shield": {
"type": "Float",
"isOptional": false
},
"armor": {
"type": "Float",
"isOptional": false
},
"points": {
"type": "Float",
"isOptional": false
},
"shipType": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
},
"icon": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
},
"structure": {
"type": "Float",
"isOptional": false
},
"pilot": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"description": "name",
"isOptional": "Name of the pilot"
},
"icon": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "Portrait of the pilot",
"isOptional": false
}
},
"type": "Ref",
"description": "The character who is flying this ship",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"blueTeamShipData": {
"attributes": {
"physicsData": {
"attributes": {
"vx": {
"type": "Float",
"isOptional": false
},
"vy": {
"type": "Float",
"isOptional": false
},
"y": {
"type": "Float",
"isOptional": false
},
"x": {
"type": "Float",
"isOptional": false
},
"vz": {
"type": "Float",
"isOptional": false
},
"z": {
"type": "Float",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
"shield": {
"type": "Float",
"isOptional": false
},
"armor": {
"type": "Float",
"isOptional": false
},
"points": {
"type": "Float",
"isOptional": false
},
"shipType": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
},
"icon": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
},
"structure": {
"type": "Float",
"isOptional": false
},
"pilot": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"description": "name",
"isOptional": "Name of the pilot"
},
"icon": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"description": "Portrait of the pilot",
"isOptional": false
}
},
"type": "Ref",
"description": "The character who is flying this ship",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"blueTeamFleetAttributes": {
"attributes": {
"totalEHP": {
"type": "Float",
"isOptional": false
},
"maxControl": {
"type": "Float",
"isOptional": false
},
"totalReps": {
"type": "Float",
"isOptional": false
},
"appliedDPS": {
"type": "Float",
"isOptional": false
},
"appliedControl": {
"type": "Float",
"isOptional": false
},
"maxDPS": {
"type": "Float",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
"frameNum": {
"type": "Long",
"isOptional": false
},
"tidiFactor": {
"type": "Float",
"description": "How fast time is advancing: 1.0 is normal, 2.0 is double speed",
"isOptional": false
},
"time": {
"type": "Long",
"isOptional": false
},
"redTeamFleetAttributes": {
"attributes": {
"totalEHP": {
"type": "Float",
"isOptional": false
},
"maxControl": {
"type": "Float",
"isOptional": false
},
"totalReps": {
"type": "Float",
"isOptional": false
},
"appliedDPS": {
"type": "Float",
"isOptional": false
},
"appliedControl": {
"type": "Float",
"isOptional": false
},
"maxDPS": {
"type": "Float",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
"prevFrame": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "The previous frame of replay",
"isOptional": true
},
"nextFrame": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "The next frame of replay",
"isOptional": true
}
},
"type": "Dict",
"isOptional": false
},
{
"attributes": {
"previous": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"items": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"totalCount": {
"type": "Long",
"isOptional": true
},
"next": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"pageCount": {
"type": "Long",
"isOptional": true
}
},
"type": "Collection",
"isOptional": false
},
{
"attributes": {
"previous": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"items": {
"attributes": {
"parentGroup": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "A reference to the parent market group",
"isOptional": true
},
"href": {
"type": "Uri",
"description": "A URI for this market group",
"isOptional": false
},
"name": {
"type": "String",
"description": "The market group's name",
"isOptional": false
},
"types": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "A reference to the list of types available in this market group",
"isOptional": false
},
"description": {
"type": "String",
"description": "The market group's description",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"totalCount": {
"type": "Long",
"isOptional": true
},
"next": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"pageCount": {
"type": "Long",
"isOptional": true
}
},
"type": "Collection",
"isOptional": false
},
{
"attributes": {
"nda": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "DUST Beta Nondisclosure Agreement",
"isOptional": false
},
"eula": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "DUST End User License Agreement",
"isOptional": false
},
"servernotavailable": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "Text to be displayed at times when the server is not available",
"isOptional": false
},
"patchnotes": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "Current DUST patch notes",
"isOptional": false
},
"ageconfirmation": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "Legal text asking for age confirmation",
"isOptional": false
}
},
"type": "Dict",
"description": "Public Path-to-Game Documents for DUST",
"isOptional": false
},
{
"attributes": {
"previous": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"items": {
"attributes": {
"updateClonesQuote": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "A reference to the resource for requesting a quote for modifying the districts clones.",
"isOptional": true
},
"owner": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"id": {
"type": "Long",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Ref",
"description": "A reference to the current owner of the district.",
"isOptional": true
},
"reinforce": {
"type": "Long",
"description": "A reinforce hour from 0 to 24.",
"isOptional": true
},
"href": {
"type": "Uri",
"isOptional": false
},
"conquerable": {
"type": "Bool",
"description": "Is this district allowed to be owned by player corporations?",
"isOptional": false
},
"constellation": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"id": {
"type": "Long",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Ref",
"description": "A reference to the constellation this district is in.",
"isOptional": false
},
"id": {
"type": "Long",
"isOptional": false
},
"nextReinforce": {
"type": "String",
"description": "The UTC date when this district will next enter its reinforce cycle.",
"isOptional": true
},
"index": {
"type": "Long",
"description": "The district index on the planet.",
"isOptional": false
},
"system": {
"attributes": {
"security": {
"type": "Float",
"isOptional": false
},
"href": {
"type": "Uri",
"isOptional": false
},
"id": {
"type": "Long",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Ref",
"description": "A reference to the system this district is in.",
"isOptional": false
},
"cloneCapacity": {
"type": "Long",
"description": "The maximum number of clones that can be stored.",
"isOptional": false
},
"latitude": {
"type": "Float",
"description": "Latitude in radians of this district on the planet.",
"isOptional": false
},
"generating": {
"type": "Bool",
"description": "Is this district currently generating new clones?",
"isOptional": false
},
"infrastructure": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"id": {
"type": "Long",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Ref",
"description": "A reference to the type of infrastructure installed on this district.",
"isOptional": true
},
"attacked": {
"type": "Bool",
"description": "Is this district currently scheduled for an attack?",
"isOptional": false
},
"updateClones": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "A reference to the resource for modifying clones on this district.",
"isOptional": true
},
"cloneRate": {
"type": "Long",
"description": "The number of clones that will be generated at the next reinforce cycle.",
"isOptional": false
},
"clones": {
"type": "Long",
"description": "Number of clones currently available at this district.",
"isOptional": false
},
"locked": {
"type": "Bool",
"description": "Is this district currently locked from making any changes?",
"isOptional": false
},
"name": {
"type": "String",
"description": "The name of this district.",
"isOptional": false
},
"region": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"id": {
"type": "Long",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Ref",
"description": "A reference to the region this district is in.",
"isOptional": false
},
"longitude": {
"type": "Float",
"description": "Longitude in radians of this district on the planet.",
"isOptional": false
},
"planet": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"id": {
"type": "Long",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Ref",
"description": "A reference to the planet this district is on.",
"isOptional": false
},
"updateInfrastructure": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "A URI to the resource for modifying the infrastructure type on this district.",
"isOptional": true
},
"updateReinforce": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"description": "A reference to the resource for modifying reinforce time on this district.",
"isOptional": true
}
},
"type": "Array",
"isOptional": false
},
"totalCount": {
"type": "Long",
"isOptional": true
},
"next": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"pageCount": {
"type": "Long",
"isOptional": true
}
},
"type": "Collection",
"isOptional": false
},
{
"attributes": {
"previous": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"items": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
},
"totalCount": {
"type": "Long",
"isOptional": true
},
"next": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"pageCount": {
"type": "Long",
"isOptional": true
}
},
"type": "Collection",
"isOptional": false
},
{
"attributes": {
"marketGroup": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"id": {
"type": "Long",
"isOptional": false
}
},
"type": "Ref",
"description": "A reference to the market group this type belongs in",
"isOptional": false
},
"type": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"id": {
"type": "Long",
"isOptional": false
},
"icon": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": false
},
"name": {
"type": "String",
"isOptional": false
}
},
"type": "Ref",
"description": "The actual static type referenced by this market type",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
{
"attributes": {
"representations": {
"attributes": {
"acceptType": {
"attributes": {
"name": {
"type": "String",
"isOptional": false
},
"jsonDumpOfStructure": {
"type": "String",
"isOptional": true
}
},
"type": "Dict",
"isOptional": true
},
"verb": {
"type": "String",
"isOptional": false
},
"contentType": {
"attributes": {
"name": {
"type": "String",
"isOptional": false
},
"jsonDumpOfStructure": {
"type": "String",
"isOptional": true
}
},
"type": "Dict",
"isOptional": true
},
"version": {
"type": "Long",
"isOptional": false
}
},
"type": "Array",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
{
"attributes": {
"previous": {
"attributes": {
"href": {
"type": "String",
"isOptional": false
}
},
"type": "ExternalRef",
"isOptional": true
},
"items": {
"attributes": {
"matchesInProgress": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Array",
"description": "An array of URLs to matches that are currently in progress",
"isOptional": true
},
"redTeam": {
"attributes": {
"isDecided": {
"type": "Bool",
"isOptional": false
},
"isBye": {
"type": "Bool",
"isOptional": false
},
"team": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"teamName": {
"type": "String",
"description": "name",
"isOptional": "Name of the team"
}
},
"type": "Ref",
"description": "The red team",
"isOptional": true
}
},
"type": "Dict",
"isOptional": false
},
"matchesWon": {
"attributes": {
"redTeam": {
"type": "Long",
"isOptional": false
},
"blueTeam": {
"type": "Long",
"isOptional": false
}
},
"type": "Dict",
"isOptional": false
},
"matches": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
},
"self": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
}
},
"type": "Ref",
"isOptional": false
},
"winner": {
"attributes": {
"isDecided": {
"type": "Bool",
"isOptional": false
},
"isBye": {
"type": "Bool",
"isOptional": false
},
"team": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"teamName": {
"type": "String",
"description": "name",
"isOptional": "Name of the team"
}
},
"type": "Ref",
"description": "The winning team",
"isOptional": true
}
},
"type": "Dict",
"isOptional": false
},
"loser": {
"attributes": {
"isDecided": {
"type": "Bool",
"isOptional": false
},
"isBye": {
"type": "Bool",
"isOptional": false
},
"team": {
"attributes": {
"href": {
"type": "Uri",
"isOptional": false
},
"teamName": {
"type": "String",
"description": "name",
"isOptional": "Name of the team"
}
},
"type": "Ref",
"description": "The losing team",
"isOptional": true
}