Skip to content

Instantly share code, notes, and snippets.

@tonypee
Created July 22, 2020 13:19
Show Gist options
  • Save tonypee/836877757dbbe9d519b796815c98f376 to your computer and use it in GitHub Desktop.
Save tonypee/836877757dbbe9d519b796815c98f376 to your computer and use it in GitHub Desktop.
{
"__schema": {
"description": null,
"queryType": {
"name": "Query"
},
"mutationType": {
"name": "Mutation"
},
"subscriptionType": {
"name": "Subscription"
},
"types": [
{
"kind": "OBJECT",
"name": "Note",
"description": "Note card",
"fields": [
{
"name": "pin",
"description": "If true, element will be \"pinned\" and immovable in the workspace",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "id",
"description": "Workspace-unique element id",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "zIndex",
"description": "Stack order, an element with a higher stack order is in front of a lower stack order",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "transform",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Transform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "traits",
"description": null,
"args": [
{
"name": "key",
"description": "If present, only output traits with the specified keys",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Trait",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "style",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "NoteStyle",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "width",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "height",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "text",
"description": "Note content",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "surface",
"description": null,
"args": [],
"type": {
"kind": "INTERFACE",
"name": "Surface",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "attachments",
"description": null,
"args": [
{
"name": "type",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "ElementType",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "INTERFACE",
"name": "Attachable",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Element",
"ofType": null
},
{
"kind": "INTERFACE",
"name": "Attachable",
"ofType": null
},
{
"kind": "INTERFACE",
"name": "Surface",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INTERFACE",
"name": "Element",
"description": "Basic workspace building block",
"fields": [
{
"name": "id",
"description": "Workspace-unique element id",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "zIndex",
"description": "Stack order, an element with a higher stack order is in front of a lower stack order",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "transform",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Transform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "traits",
"description": null,
"args": [
{
"name": "key",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Trait",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "style",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INTERFACE",
"name": "Style",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": [
{
"kind": "OBJECT",
"name": "Note",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Canvas",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Image",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Stroke",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Shape",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Browser",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Text",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Document",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Video",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Grid",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Group",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Window",
"ofType": null
}
]
},
{
"kind": "SCALAR",
"name": "ID",
"description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "Int",
"description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Transform",
"description": "transformation relative to origin",
"fields": [
{
"name": "x",
"description": "x coordinate",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "y",
"description": "y coordinate",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "scaleX",
"description": "x-coordinate scaling factor",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "scaleY",
"description": "y-coordinate scaling factor",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "Float",
"description": "The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Trait",
"description": "Key-value pair describing arbitrary metadata in JSON-LD format, attached to an element",
"fields": [
{
"name": "key",
"description": "Property name, conforming to JSON-LD, structured as an URI",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "value",
"description": "Property value, in JSON-LD format",
"args": [],
"type": {
"kind": "SCALAR",
"name": "JSON",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "String",
"description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "JSON",
"description": "The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INTERFACE",
"name": "Style",
"description": null,
"fields": [
{
"name": "hidden",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": [
{
"kind": "OBJECT",
"name": "NoteStyle",
"ofType": null
},
{
"kind": "OBJECT",
"name": "CanvasStyle",
"ofType": null
},
{
"kind": "OBJECT",
"name": "ElementStyle",
"ofType": null
},
{
"kind": "OBJECT",
"name": "StrokeStyle",
"ofType": null
},
{
"kind": "OBJECT",
"name": "ShapeStyle",
"ofType": null
},
{
"kind": "OBJECT",
"name": "BrowserStyle",
"ofType": null
},
{
"kind": "OBJECT",
"name": "TextStyle",
"ofType": null
},
{
"kind": "OBJECT",
"name": "GridStyle",
"ofType": null
},
{
"kind": "OBJECT",
"name": "WindowStyle",
"ofType": null
}
]
},
{
"kind": "SCALAR",
"name": "Boolean",
"description": "The `Boolean` scalar type represents `true` or `false`.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INTERFACE",
"name": "Attachable",
"description": "Element that can be attached to other elements",
"fields": [
{
"name": "id",
"description": "Workspace-unique element id",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "zIndex",
"description": "Stack order, an element with a higher stack order is in front of a lower stack order",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "transform",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Transform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "traits",
"description": null,
"args": [
{
"name": "key",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Trait",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "style",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INTERFACE",
"name": "Style",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": [
{
"kind": "OBJECT",
"name": "Note",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Image",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Stroke",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Browser",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Text",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Document",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Video",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Window",
"ofType": null
}
]
},
{
"kind": "INTERFACE",
"name": "Surface",
"description": "Element to which other elements can be attached",
"fields": [
{
"name": "id",
"description": "Workspace-unique element id",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "zIndex",
"description": "Stack order, an element with a higher stack order is in front of a lower stack order",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "transform",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Transform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "traits",
"description": null,
"args": [
{
"name": "key",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Trait",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "style",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INTERFACE",
"name": "Style",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": [
{
"kind": "OBJECT",
"name": "Note",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Image",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Browser",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Document",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Video",
"ofType": null
},
{
"kind": "OBJECT",
"name": "Window",
"ofType": null
}
]
},
{
"kind": "OBJECT",
"name": "NoteStyle",
"description": null,
"fields": [
{
"name": "hidden",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "fontSize",
"description": "font size in pixels",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "fontWeight",
"description": null,
"args": [],
"type": {
"kind": "ENUM",
"name": "FontWeight",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "textTransform",
"description": null,
"args": [],
"type": {
"kind": "ENUM",
"name": "TextTransform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "backgroundColor",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Style",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "FontWeight",
"description": "font thickness",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "normal",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "bold",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "TextTransform",
"description": "text transform",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "none",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "uppercase",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "ElementType",
"description": "element type",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "Text",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Note",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Image",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Document",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Grid",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Browser",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Video",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Stroke",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Shape",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Canvas",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Group",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Window",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Canvas",
"description": "Rectangular area of the workspace",
"fields": [
{
"name": "id",
"description": "Workspace-unique element id",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "zIndex",
"description": "Stack order, an element with a higher stack order is in front of a lower stack order",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "transform",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Transform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "traits",
"description": null,
"args": [
{
"name": "key",
"description": "If present, only output traits with the specified keys",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Trait",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "style",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "CanvasStyle",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Element",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "CanvasStyle",
"description": null,
"fields": [
{
"name": "hidden",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "width",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "height",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "borderColor",
"description": null,
"args": [],
"type": {
"kind": "ENUM",
"name": "CanvasBorderColor",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Style",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "CanvasBorderColor",
"description": "color of the canvas border",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "Blue",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Green",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Red",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Yellow",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Image",
"description": "Image asset",
"fields": [
{
"name": "width",
"description": "Intrinsic asset width",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "height",
"description": "Intrinsic asset height",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "title",
"description": "Asset title",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "pin",
"description": "If true, element will be \"pinned\" and immovable in the workspace",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "id",
"description": "Workspace-unique element id",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "zIndex",
"description": "Stack order, an element with a higher stack order is in front of a lower stack order",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "transform",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Transform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "traits",
"description": null,
"args": [
{
"name": "key",
"description": "If present, only output traits with the specified keys",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Trait",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "style",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "ElementStyle",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "contentType",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "ImageContentType",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "surface",
"description": null,
"args": [],
"type": {
"kind": "INTERFACE",
"name": "Surface",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "attachments",
"description": null,
"args": [
{
"name": "type",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "ElementType",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "INTERFACE",
"name": "Attachable",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "url",
"description": "asset url, provided if asset download is allowed",
"args": [
{
"name": "scale",
"description": null,
"type": {
"kind": "ENUM",
"name": "ImageScale",
"ofType": null
},
"defaultValue": null
}
],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Attachable",
"ofType": null
},
{
"kind": "INTERFACE",
"name": "Surface",
"ofType": null
},
{
"kind": "INTERFACE",
"name": "Element",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "ElementStyle",
"description": null,
"fields": [
{
"name": "hidden",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Style",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "ImageContentType",
"description": null,
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "jpeg",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "gif",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "png",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "tiff",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "unknown",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "ImageScale",
"description": null,
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "Original",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "High",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Medium",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Low",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Stroke",
"description": "freehand stroke",
"fields": [
{
"name": "id",
"description": "Workspace-unique element id",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "zIndex",
"description": "Stack order, an element with a higher stack order is in front of a lower stack order",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "transform",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Transform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "traits",
"description": null,
"args": [
{
"name": "key",
"description": "If present, only output traits with the specified keys",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Trait",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "style",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "StrokeStyle",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "points",
"description": "stroke locations as a list of pairs,\n where coordinates are paired '[x, y, x, y, x, y, ...]' in an array,\n in the coordinate space of the containing object",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "surface",
"description": null,
"args": [],
"type": {
"kind": "INTERFACE",
"name": "Surface",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Element",
"ofType": null
},
{
"kind": "INTERFACE",
"name": "Attachable",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "StrokeStyle",
"description": null,
"fields": [
{
"name": "hidden",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "color",
"description": null,
"args": [],
"type": {
"kind": "ENUM",
"name": "StrokeColor",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "strokeWidth",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "brushType",
"description": null,
"args": [],
"type": {
"kind": "ENUM",
"name": "StrokeBrush",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Style",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "StrokeColor",
"description": null,
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "White",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Gray",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Yellow",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Red",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Green",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Purple",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Cyan",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "StrokeBrush",
"description": null,
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "Pen",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Eraser",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Shape",
"description": "Predefined shape",
"fields": [
{
"name": "pin",
"description": "If true, element will be \"pinned\" and immovable in the workspace",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "id",
"description": "Workspace-unique element id",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "zIndex",
"description": "Stack order, an element with a higher stack order is in front of a lower stack order",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "transform",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Transform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "traits",
"description": null,
"args": [
{
"name": "key",
"description": "If present, only output traits with the specified keys",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Trait",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "style",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "ShapeStyle",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "geometry",
"description": "predefined shape",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "ShapeGeometry",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "text",
"description": "text on shape",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "mirrorX",
"description": "if true, flip the predefined shape around the X-axis",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "mirrorY",
"description": "if true, flip the predefined shape around the Y-axis",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "points",
"description": "shape locations as a list of pairs, where coordinates are paired '[x, y, x, y, ...]' in an array",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Element",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "ShapeStyle",
"description": null,
"fields": [
{
"name": "hidden",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "width",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "height",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "strokeWidth",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "strokeColor",
"description": null,
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "fillColor",
"description": null,
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "strokeStyle",
"description": null,
"args": [],
"type": {
"kind": "ENUM",
"name": "ShapeStrokeStyle",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "startCap",
"description": null,
"args": [],
"type": {
"kind": "ENUM",
"name": "ShapeCapStyle",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "endCap",
"description": null,
"args": [],
"type": {
"kind": "ENUM",
"name": "ShapeCapStyle",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Style",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "ShapeStrokeStyle",
"description": "one of Solid, Dot, DashShort, DashLong",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "Solid",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Dot",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "DashShort",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "DashLong",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "ShapeCapStyle",
"description": "one of None, ArrowFill, ArrowStroke, Tee, Circle",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "None",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ArrowFill",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ArrowStroke",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Tee",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Circle",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "ShapeGeometry",
"description": null,
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "Line",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Rectangle",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Ellipse",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Diamond",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Circle",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "TriangleUp",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "TriangleRight",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ArrowUp",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ArrowRight",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ArrowUpDown",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ArrowLeftRight",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ArrowAll",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ArrowRightCurve",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ArrowRightU",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Browser",
"description": "web browser",
"fields": [
{
"name": "id",
"description": "Workspace-unique element id",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "zIndex",
"description": "Stack order, an element with a higher stack order is in front of a lower stack order",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "transform",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Transform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "traits",
"description": null,
"args": [
{
"name": "key",
"description": "If present, only output traits with the specified keys",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Trait",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "style",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "BrowserStyle",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "url",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "frameless",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "surface",
"description": null,
"args": [],
"type": {
"kind": "INTERFACE",
"name": "Surface",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "attachments",
"description": null,
"args": [
{
"name": "type",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "ElementType",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "INTERFACE",
"name": "Attachable",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Element",
"ofType": null
},
{
"kind": "INTERFACE",
"name": "Attachable",
"ofType": null
},
{
"kind": "INTERFACE",
"name": "Surface",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "BrowserStyle",
"description": null,
"fields": [
{
"name": "hidden",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "width",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "height",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Style",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Text",
"description": "Freeform text",
"fields": [
{
"name": "pin",
"description": "If true, element will be \"pinned\" and immovable in the workspace",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "id",
"description": "Workspace-unique element id",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "zIndex",
"description": "Stack order, an element with a higher stack order is in front of a lower stack order",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "transform",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Transform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "traits",
"description": null,
"args": [
{
"name": "key",
"description": "If present, only output traits with the specified keys",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Trait",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "style",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "TextStyle",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "text",
"description": "characters",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "surface",
"description": null,
"args": [],
"type": {
"kind": "INTERFACE",
"name": "Surface",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Element",
"ofType": null
},
{
"kind": "INTERFACE",
"name": "Attachable",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "TextStyle",
"description": null,
"fields": [
{
"name": "hidden",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "width",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "height",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "fontWeight",
"description": null,
"args": [],
"type": {
"kind": "ENUM",
"name": "FontWeight",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "textTransform",
"description": null,
"args": [],
"type": {
"kind": "ENUM",
"name": "TextTransform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "fontSize",
"description": "font size in pixels",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "fontFamily",
"description": null,
"args": [],
"type": {
"kind": "ENUM",
"name": "FontFamily",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "fontStyle",
"description": null,
"args": [],
"type": {
"kind": "ENUM",
"name": "FontStyle",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "color",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "backgroundColor",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Style",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "FontFamily",
"description": "font family",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "Dosis",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Helvetica",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Times_New_Roman",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Source_Code_Pro",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Aleo",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "Exo_2",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "FontStyle",
"description": "italicization",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "normal",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "italic",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Document",
"description": "multipage document with navigation capabilities",
"fields": [
{
"name": "width",
"description": "Intrinsic asset width",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "height",
"description": "Intrinsic asset height",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "title",
"description": "Asset title",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "id",
"description": "Workspace-unique element id",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "zIndex",
"description": "Stack order, an element with a higher stack order is in front of a lower stack order",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "transform",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Transform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "traits",
"description": null,
"args": [
{
"name": "key",
"description": "If present, only output traits with the specified keys",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Trait",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "style",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "ElementStyle",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "contentType",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "DocumentContentType",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "url",
"description": "asset url, provided if asset download is allowed",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "surface",
"description": null,
"args": [],
"type": {
"kind": "INTERFACE",
"name": "Surface",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "attachments",
"description": null,
"args": [
{
"name": "type",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "ElementType",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "INTERFACE",
"name": "Attachable",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Element",
"ofType": null
},
{
"kind": "INTERFACE",
"name": "Attachable",
"ofType": null
},
{
"kind": "INTERFACE",
"name": "Surface",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "DocumentContentType",
"description": null,
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "doc",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "docx",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ppt",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "pptx",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "xls",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "xlsx",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "pdf",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "unknown",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Video",
"description": "Video file asset asset",
"fields": [
{
"name": "width",
"description": "Intrinsic asset width",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "height",
"description": "Intrinsic asset height",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "title",
"description": "Asset title",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "id",
"description": "Workspace-unique element id",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "zIndex",
"description": "Stack order, an element with a higher stack order is in front of a lower stack order",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "transform",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Transform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "traits",
"description": null,
"args": [
{
"name": "key",
"description": "If present, only output traits with the specified keys",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Trait",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "style",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "ElementStyle",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "url",
"description": "asset url, provided if asset download is allowed",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "surface",
"description": null,
"args": [],
"type": {
"kind": "INTERFACE",
"name": "Surface",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "attachments",
"description": null,
"args": [
{
"name": "type",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "ElementType",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "INTERFACE",
"name": "Attachable",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Surface",
"ofType": null
},
{
"kind": "INTERFACE",
"name": "Element",
"ofType": null
},
{
"kind": "INTERFACE",
"name": "Attachable",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Grid",
"description": "Element grid",
"fields": [
{
"name": "pin",
"description": "If true, element will be \"pinned\" and immovable in the workspace",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "id",
"description": "Workspace-unique element id",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "zIndex",
"description": "Stack order, an element with a higher stack order is in front of a lower stack order",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "transform",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Transform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "traits",
"description": null,
"args": [
{
"name": "key",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Trait",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "style",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "GridStyle",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "rows",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "columns",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "cells",
"description": null,
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Cell",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Element",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "GridStyle",
"description": null,
"fields": [
{
"name": "hidden",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "horizontalMargin",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "verticalMargin",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "cellWidth",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "cellHeight",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Style",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Cell",
"description": null,
"fields": [
{
"name": "id",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "row",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "column",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Group",
"description": "Group of elements",
"fields": [
{
"name": "id",
"description": "Workspace-unique element id",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "zIndex",
"description": "Stack order, an element with a higher stack order is in front of a lower stack order",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "transform",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Transform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "traits",
"description": null,
"args": [
{
"name": "key",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Trait",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "style",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "ElementStyle",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "children",
"description": null,
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "INTERFACE",
"name": "Element",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Element",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Window",
"description": "Generic rectangular element with possibly custom content",
"fields": [
{
"name": "id",
"description": "Workspace-unique element id",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "zIndex",
"description": "Stack order, an element with a higher stack order is in front of a lower stack order",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "transform",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Transform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "traits",
"description": null,
"args": [
{
"name": "key",
"description": "If present, only output traits with the specified keys",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Trait",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "style",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "WindowStyle",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "surface",
"description": null,
"args": [],
"type": {
"kind": "INTERFACE",
"name": "Surface",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "attachments",
"description": null,
"args": [
{
"name": "type",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "ElementType",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "INTERFACE",
"name": "Attachable",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Element",
"ofType": null
},
{
"kind": "INTERFACE",
"name": "Attachable",
"ofType": null
},
{
"kind": "INTERFACE",
"name": "Surface",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "WindowStyle",
"description": null,
"fields": [
{
"name": "hidden",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "width",
"description": "Extrinsic window width",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "height",
"description": "Extrinsic window height",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Style",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "NewCommand",
"description": null,
"fields": [
{
"name": "received",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "clientId",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "actor",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Actor",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "new",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INTERFACE",
"name": "Element",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Command",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INTERFACE",
"name": "Command",
"description": null,
"fields": [
{
"name": "received",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "clientId",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "actor",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Actor",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": [
{
"kind": "OBJECT",
"name": "NewCommand",
"ofType": null
},
{
"kind": "OBJECT",
"name": "MergeCommand",
"ofType": null
},
{
"kind": "OBJECT",
"name": "DeleteCommand",
"ofType": null
}
]
},
{
"kind": "SCALAR",
"name": "DateTime",
"description": "The javascript `Date` as string. Type represents date and time as the ISO Date string.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Actor",
"description": null,
"fields": [
{
"name": "type",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "ActorType",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "uid",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "ActorType",
"description": "actor type",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "WALL",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "USER",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "CLIENT_BOT",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "CLIENT",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "MergeCommand",
"description": null,
"fields": [
{
"name": "received",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "clientId",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "actor",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Actor",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "merge",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INTERFACE",
"name": "MergeElementInput",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Command",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INTERFACE",
"name": "MergeElementInput",
"description": null,
"fields": [
{
"name": "id",
"description": "Workspace-unique element id",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "zIndex",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "transform",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Transform",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": []
},
{
"kind": "OBJECT",
"name": "DeleteCommand",
"description": null,
"fields": [
{
"name": "received",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "clientId",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "actor",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Actor",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "id",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Command",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Query",
"description": null,
"fields": [
{
"name": "elements",
"description": null,
"args": [
{
"name": "workspace",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "traits",
"description": "Restrict output to elements with traits matching these traits",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "TraitInput",
"ofType": null
}
}
},
"defaultValue": null
},
{
"name": "canvas",
"description": "id of the canvas in which the elements are included",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "id",
"description": "id of the element. When canvas is specified the element will exist in the bounds of the canvas ",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "type",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "ElementType",
"ofType": null
}
}
},
"defaultValue": null
},
{
"name": "viewport",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "Viewport",
"ofType": null
},
"defaultValue": null
},
{
"name": "asof",
"description": "retrieve element state as of the specified moment in time",
"type": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "INTERFACE",
"name": "Element",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "TraitInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "key",
"description": "trait name",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "vocab",
"description": "JSON-LD vocabulary, https://json-ld.org/spec/latest/json-ld/#default-vocabulary",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "type",
"description": "JSON-LD @type of the value, which cannot be specified by the value itself due to lexical restrictions of GraphQL",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "id",
"description": "JSON-LD @id of the value,, which cannot be specified by the value itself due to lexical restrictions of GraphQL",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "value",
"description": null,
"type": {
"kind": "SCALAR",
"name": "JSON",
"ofType": null
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "Viewport",
"description": null,
"fields": null,
"inputFields": [
{
"name": "x",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "y",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "width",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "height",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Mutation",
"description": null,
"fields": [
{
"name": "delete",
"description": null,
"args": [
{
"name": "id",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "workspace",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "newUpload",
"description": null,
"args": [
{
"name": "in",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "UploadInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "workspace",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Upload",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "newCanvas",
"description": null,
"args": [
{
"name": "workspace",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "in",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "NewCanvasInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Canvas",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "newStroke",
"description": null,
"args": [
{
"name": "workspace",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "in",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "NewStrokeInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Stroke",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "newNote",
"description": null,
"args": [
{
"name": "workspace",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "in",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "NewNoteInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Note",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "newText",
"description": null,
"args": [
{
"name": "workspace",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "in",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "NewTextInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Text",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "newWindow",
"description": null,
"args": [
{
"name": "workspace",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "in",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "NewWindowInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Window",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "newGrid",
"description": null,
"args": [
{
"name": "workspace",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "in",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "NewGridInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Grid",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "newVideo",
"description": null,
"args": [
{
"name": "workspace",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "in",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "NewVideoInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Video",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "newBrowser",
"description": null,
"args": [
{
"name": "workspace",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "in",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "NewBrowserInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Browser",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "newImage",
"description": null,
"args": [
{
"name": "workspace",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "in",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "NewImageInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Image",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "newDocument",
"description": null,
"args": [
{
"name": "workspace",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "in",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "NewDocumentInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Document",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "newShape",
"description": null,
"args": [
{
"name": "workspace",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "in",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "NewShapeInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Shape",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Upload",
"description": null,
"fields": [
{
"name": "uploadId",
"description": "upload ID",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "url",
"description": "URL for uploading asset data, valid for a limited time",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "fields",
"description": "POST form data to supply on upload",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "UploadFormData",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "UploadFormData",
"description": null,
"fields": [
{
"name": "Policy",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "UploadInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "contentType",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "UploadContentType",
"ofType": null
}
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "UploadContentType",
"description": null,
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "jpeg",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "gif",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "png",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "tiff",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "doc",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "docx",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ppt",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "pptx",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "xls",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "xlsx",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "pdf",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "mp4",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "unknown",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "NewCanvasInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "traits",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "TraitInput",
"ofType": null
}
}
},
"defaultValue": null
},
{
"name": "transform",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "TransformInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "style",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "CanvasStyleInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "name",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "TransformInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "x",
"description": "x coordinate",
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "0"
},
{
"name": "y",
"description": "y coordinate",
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "0"
},
{
"name": "scaleX",
"description": "x-coordinate scaling factor",
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "1"
},
{
"name": "scaleY",
"description": "y-coordinate scaling factor",
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "1"
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "CanvasStyleInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "width",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "1000"
},
{
"name": "height",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "1000"
},
{
"name": "borderColor",
"description": null,
"type": {
"kind": "ENUM",
"name": "CanvasBorderColor",
"ofType": null
},
"defaultValue": "Red"
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "NewStrokeInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "traits",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "TraitInput",
"ofType": null
}
}
},
"defaultValue": null
},
{
"name": "transform",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "TransformInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "style",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "StrokeStyleInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "points",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
}
}
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "StrokeStyleInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "color",
"description": null,
"type": {
"kind": "ENUM",
"name": "StrokeColor",
"ofType": null
},
"defaultValue": "White"
},
{
"name": "strokeWidth",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "1"
},
{
"name": "brushType",
"description": null,
"type": {
"kind": "ENUM",
"name": "StrokeBrush",
"ofType": null
},
"defaultValue": "Pen"
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "NewNoteInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "traits",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "TraitInput",
"ofType": null
}
}
},
"defaultValue": null
},
{
"name": "transform",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "TransformInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "style",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "NoteStyleInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "text",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "NoteStyleInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "fontWeight",
"description": null,
"type": {
"kind": "ENUM",
"name": "FontWeight",
"ofType": null
},
"defaultValue": "normal"
},
{
"name": "textTransform",
"description": null,
"type": {
"kind": "ENUM",
"name": "TextTransform",
"ofType": null
},
"defaultValue": "none"
},
{
"name": "backgroundColor",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": "\"none\""
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "NewTextInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "traits",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "TraitInput",
"ofType": null
}
}
},
"defaultValue": null
},
{
"name": "transform",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "TransformInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "style",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "TextStyleInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "text",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "TextStyleInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "width",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "265"
},
{
"name": "height",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "75"
},
{
"name": "fontWeight",
"description": null,
"type": {
"kind": "ENUM",
"name": "FontWeight",
"ofType": null
},
"defaultValue": "normal"
},
{
"name": "textTransform",
"description": null,
"type": {
"kind": "ENUM",
"name": "TextTransform",
"ofType": null
},
"defaultValue": "none"
},
{
"name": "fontSize",
"description": "font size in pixels",
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": "64"
},
{
"name": "fontFamily",
"description": null,
"type": {
"kind": "ENUM",
"name": "FontFamily",
"ofType": null
},
"defaultValue": "Dosis"
},
{
"name": "fontStyle",
"description": null,
"type": {
"kind": "ENUM",
"name": "FontStyle",
"ofType": null
},
"defaultValue": "normal"
},
{
"name": "color",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": "\"white\""
},
{
"name": "backgroundColor",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": "\"none\""
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "NewWindowInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "traits",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "TraitInput",
"ofType": null
}
}
},
"defaultValue": null
},
{
"name": "transform",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "TransformInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "style",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "ElementStyleInput",
"ofType": null
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "ElementStyleInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "hidden",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": "false"
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "NewGridInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "traits",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "TraitInput",
"ofType": null
}
}
},
"defaultValue": null
},
{
"name": "transform",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "TransformInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "style",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "GridStyleInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "rows",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": "0"
},
{
"name": "columns",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": "0"
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "GridStyleInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "hidden",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": "false"
},
{
"name": "horizontalMargin",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "0"
},
{
"name": "verticalMargin",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "0"
},
{
"name": "cellWidth",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "0"
},
{
"name": "cellHeight",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "0"
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "NewVideoInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "traits",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "TraitInput",
"ofType": null
}
}
},
"defaultValue": null
},
{
"name": "transform",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "TransformInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "width",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "height",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "uploadId",
"description": "Workspace-unique element id assigned on upload",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "style",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "ElementStyleInput",
"ofType": null
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "NewBrowserInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "traits",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "TraitInput",
"ofType": null
}
}
},
"defaultValue": null
},
{
"name": "transform",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "TransformInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "style",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "BrowserStyleInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "url",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "frameless",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "BrowserStyleInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "hidden",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": "false"
},
{
"name": "width",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "800"
},
{
"name": "height",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "600"
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "NewImageInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "traits",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "TraitInput",
"ofType": null
}
}
},
"defaultValue": null
},
{
"name": "transform",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "TransformInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "width",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "height",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "uploadId",
"description": "Workspace-unique element id assigned on upload",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "style",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "ElementStyleInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "url",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "title",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "contentType",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "ImageContentType",
"ofType": null
}
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "NewDocumentInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "traits",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "TraitInput",
"ofType": null
}
}
},
"defaultValue": null
},
{
"name": "transform",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "TransformInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "width",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "height",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "uploadId",
"description": "Workspace-unique element id assigned on upload",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "style",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "ElementStyleInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "contentType",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "DocumentContentType",
"ofType": null
}
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "NewShapeInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "traits",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "TraitInput",
"ofType": null
}
}
},
"defaultValue": null
},
{
"name": "transform",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "TransformInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "style",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "ShapeStyleInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "geometry",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "ShapeGeometry",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "mirrorX",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": null
},
{
"name": "mirrorY",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": null
},
{
"name": "points",
"description": "shape locations as a list of pairs, where coordinates are paired '[x, y, x, y]' in an array",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
}
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "ShapeStyleInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "width",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "0"
},
{
"name": "height",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "0"
},
{
"name": "strokeWidth",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": "0"
},
{
"name": "strokeColor",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
}
},
"defaultValue": "[0, 0, 0, 0]"
},
{
"name": "fillColor",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
}
},
"defaultValue": "[0, 0, 0, 0]"
},
{
"name": "strokeStyle",
"description": null,
"type": {
"kind": "ENUM",
"name": "ShapeStrokeStyle",
"ofType": null
},
"defaultValue": "Solid"
},
{
"name": "startCap",
"description": null,
"type": {
"kind": "ENUM",
"name": "ShapeCapStyle",
"ofType": null
},
"defaultValue": "None"
},
{
"name": "endCap",
"description": null,
"type": {
"kind": "ENUM",
"name": "ShapeCapStyle",
"ofType": null
},
"defaultValue": "None"
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Subscription",
"description": null,
"fields": [
{
"name": "history",
"description": null,
"args": [
{
"name": "workspace",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INTERFACE",
"name": "Command",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__Schema",
"description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",
"fields": [
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "types",
"description": "A list of all types supported by this server.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "queryType",
"description": "The type that query operations will be rooted at.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "mutationType",
"description": "If this server supports mutation, the type that mutation operations will be rooted at.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "subscriptionType",
"description": "If this server support subscription, the type that subscription operations will be rooted at.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "directives",
"description": "A list of all directives supported by this server.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Directive",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__Type",
"description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",
"fields": [
{
"name": "kind",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "__TypeKind",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "specifiedByUrl",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "fields",
"description": null,
"args": [
{
"name": "includeDeprecated",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": "false"
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Field",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "interfaces",
"description": null,
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "possibleTypes",
"description": null,
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "enumValues",
"description": null,
"args": [
{
"name": "includeDeprecated",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": "false"
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__EnumValue",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "inputFields",
"description": null,
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__InputValue",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ofType",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "__TypeKind",
"description": "An enum describing what kind of type a given `__Type` is.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "SCALAR",
"description": "Indicates this type is a scalar.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "OBJECT",
"description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INTERFACE",
"description": "Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "UNION",
"description": "Indicates this type is a union. `possibleTypes` is a valid field.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ENUM",
"description": "Indicates this type is an enum. `enumValues` is a valid field.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INPUT_OBJECT",
"description": "Indicates this type is an input object. `inputFields` is a valid field.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "LIST",
"description": "Indicates this type is a list. `ofType` is a valid field.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "NON_NULL",
"description": "Indicates this type is a non-null. `ofType` is a valid field.",
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__Field",
"description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",
"fields": [
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "args",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__InputValue",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "type",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "isDeprecated",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "deprecationReason",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__InputValue",
"description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",
"fields": [
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "type",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "defaultValue",
"description": "A GraphQL-formatted string representing the default value for this input value.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__EnumValue",
"description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",
"fields": [
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "isDeprecated",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "deprecationReason",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__Directive",
"description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",
"fields": [
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "isRepeatable",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "locations",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "__DirectiveLocation",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "args",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__InputValue",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "__DirectiveLocation",
"description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "QUERY",
"description": "Location adjacent to a query operation.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "MUTATION",
"description": "Location adjacent to a mutation operation.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "SUBSCRIPTION",
"description": "Location adjacent to a subscription operation.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "FIELD",
"description": "Location adjacent to a field.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "FRAGMENT_DEFINITION",
"description": "Location adjacent to a fragment definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "FRAGMENT_SPREAD",
"description": "Location adjacent to a fragment spread.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INLINE_FRAGMENT",
"description": "Location adjacent to an inline fragment.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "VARIABLE_DEFINITION",
"description": "Location adjacent to a variable definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "SCHEMA",
"description": "Location adjacent to a schema definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "SCALAR",
"description": "Location adjacent to a scalar definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "OBJECT",
"description": "Location adjacent to an object type definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "FIELD_DEFINITION",
"description": "Location adjacent to a field definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ARGUMENT_DEFINITION",
"description": "Location adjacent to an argument definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INTERFACE",
"description": "Location adjacent to an interface definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "UNION",
"description": "Location adjacent to a union definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ENUM",
"description": "Location adjacent to an enum definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ENUM_VALUE",
"description": "Location adjacent to an enum value definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INPUT_OBJECT",
"description": "Location adjacent to an input object type definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INPUT_FIELD_DEFINITION",
"description": "Location adjacent to an input object field definition.",
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
}
],
"directives": [
{
"name": "include",
"description": "Directs the executor to include this field or fragment only when the `if` argument is true.",
"isRepeatable": false,
"locations": [
"FIELD",
"FRAGMENT_SPREAD",
"INLINE_FRAGMENT"
],
"args": [
{
"name": "if",
"description": "Included when true.",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"defaultValue": null
}
]
},
{
"name": "skip",
"description": "Directs the executor to skip this field or fragment when the `if` argument is true.",
"isRepeatable": false,
"locations": [
"FIELD",
"FRAGMENT_SPREAD",
"INLINE_FRAGMENT"
],
"args": [
{
"name": "if",
"description": "Skipped when true.",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"defaultValue": null
}
]
},
{
"name": "deprecated",
"description": "Marks an element of a GraphQL schema as no longer supported.",
"isRepeatable": false,
"locations": [
"FIELD_DEFINITION",
"ENUM_VALUE"
],
"args": [
{
"name": "reason",
"description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": "\"No longer supported\""
}
]
},
{
"name": "specifiedBy",
"description": "Exposes a URL that specifies the behaviour of this scalar.",
"isRepeatable": false,
"locations": [
"SCALAR"
],
"args": [
{
"name": "url",
"description": "The URL that specifies the behaviour of this scalar.",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment