{ "$id": "common-http", "title": "Common Definitions for HTTP Schemas", "description": "Common schema definitions shared by Automation Studio component schemas", "definitions": { "dereferenced-account": { "type": "object", "required": [ "_id" ], "properties": { "_id": { "oneOf": [ { "const": "Pronghorn" }, { "$ref": "common#/definitions/object-id-string" } ] }, "username": { "oneOf": [ { "type": "null" }, { "type": "string" } ] }, "provenance": { "type": "string" }, "missing": { "type": "boolean" } }, "additionalProperties": false }, "account": { "$ref": "#/definitions/dereferenced-account" }, "foldersExpanded": { "title": "Project folders", "description": "A list of folders and their members", "type": "array", "items": { "oneOf": [ { "$ref": "#/definitions/folderNodeExpanded" }, { "$ref": "#/definitions/componentNodeExpanded" } ] } }, "componentNodeExpanded": { "type": "object", "required": [ "iid", "nodeType" ], "properties": { "iid": { "$ref": "common#/definitions/iid" }, "nodeType": { "$ref": "projects-common#/definitions/folderNodeType" }, "type": { "$ref": "projects-common#/definitions/componentType" }, "reference": { "type": "string" } } }, "folderNodeExpanded": { "type": "object", "required": [ "name", "nodeType", "children" ], "properties": { "nodeType": { "$ref": "projects-common#/definitions/folderNodeType" }, "name": { "$ref": "projects-common#/definitions/folderName" }, "children": { "type": "array", "items": { "oneOf": [ { "$ref": "#/definitions/folderNodeExpanded" }, { "$ref": "#/definitions/componentNodeExpanded" } ] } } } } } }