{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autodesk/json-schema/autodesk-command-schema.json",
  "title": "Command",
  "description": "Command response",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autodesk-commands-api-openapi.yml#/components/schemas/Command",
  "type": "object",
  "properties": {
    "jsonapi": {
      "$ref": "#/$defs/JsonApiVersion"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "description": "The ``data`` object that is returned will be one of the following, depending on the command that was executed. For the GetPublishModelJob command, ``data`` is ``null`` if the model does not need to be published.",
      "oneOf": [
        {
          "$ref": "#/$defs/CheckPermission"
        },
        {
          "$ref": "#/$defs/PublishModel"
        },
        {
          "$ref": "#/$defs/PublishWithoutLinks"
        },
        {
          "$ref": "#/$defs/PublishModelJob"
        },
        {
          "$ref": "#/$defs/ListRefs"
        },
        {
          "$ref": "#/$defs/ListItems"
        }
      ]
    }
  },
  "$defs": {
    "BaseAttributesExtensionObjectWithSchemaLink": {
      "title": "base_attributes_extension_object_with_schema_link:",
      "type": "object",
      "description": "A container of additional properties that extends this resource.",
      "properties": {
        "type": {
          "type": "string",
          "description": "The Type ID of the schema that defines the structure of the ``extension.data`` object."
        },
        "version": {
          "type": "string",
          "description": "The version of the schema that applies to the ``extension.data`` object."
        },
        "schema": {
          "type": "object",
          "description": "A container for the hyperlink to the schema of the type.",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "type": "string",
              "description": "A hypertext reference to the location of the referenced resource."
            }
          }
        },
        "data": {
          "type": "object",
          "description": "The object that contains the additional properties that extends this resource.",
          "additionalProperties": {
            "description": "Key-value pairs that contain the name and data of additional properties.\n"
          }
        }
      },
      "required": [
        "type",
        "version",
        "schema"
      ]
    },
    "CheckPermission": {
      "type": "object",
      "description": "The ``data`` object returned by the CheckPermission command.",
      "title": "CheckPermission Command",
      "required": [
        "type",
        "id",
        "attributes"
      ],
      "properties": {
        "type": {
          "$ref": "#/$defs/TypeCommands"
        },
        "id": {
          "type": "string",
          "description": "A unique ID assigned to the process executing the command."
        },
        "attributes": {
          "type": "object",
          "description": "Contains the properties of the response\nto the CheckPermission command.",
          "required": [
            "extension"
          ],
          "properties": {
            "extension": {
              "type": "object",
              "description": "An object that contains properties\nspecific to the CheckPermissions command,\nextending the default properties of a command.",
              "required": [
                "type",
                "version"
              ],
              "properties": {
                "type": {
                  "$ref": "#/$defs/TypeCommandTypeCheckPermission"
                },
                "version": {
                  "type": "string",
                  "description": "The version of the schema that the data is adhering to."
                },
                "schema": {
                  "type": "object",
                  "description": "Contains the location of the schema.",
                  "properties": {
                    "href": {
                      "type": "string",
                      "description": "The hypertext reference to the location of the schema."
                    }
                  }
                },
                "data": {
                  "type": "object",
                  "description": "A container of the results of the resources\nthat were checked for permission.",
                  "properties": {
                    "permissions": {
                      "type": "array",
                      "description": "An array of objects, where each object\nrepresents a folder, item, or version that\npermission was checked for.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "$ref": "#/$defs/TypeEntity"
                          },
                          "id": {
                            "type": "string",
                            "description": "The URN of the resource."
                          },
                          "details": {
                            "type": "object",
                            "description": "An object containing key value pairs, where\nthe key represents the type of permission\nthat was checked and the value is ``true``\nif the user has permission. Keys are drawn from the same set of actions as ``requiredActions``.",
                            "properties": {
                              "create": {
                                "type": "boolean"
                              },
                              "download": {
                                "type": "boolean"
                              },
                              "view": {
                                "type": "boolean"
                              }
                            },
                            "additionalProperties": {
                              "type": "boolean"
                            }
                          },
                          "permission": {
                            "type": "boolean",
                            "description": "``true`` - The user is permitted to perform all the actions checked for.\n\n``false`` - The user is not permitted to perform at least one of the actions checked for."
                          }
                        }
                      }
                    },
                    "requiredActions": {
                      "type": "array",
                      "description": "An array of keywords where each keyword\nis an action that permission was checked\nfor. Possible values:\n\n- ``read`` - Download and view specified resource.\n- ``view`` - View specified resource without downloading.\n- ``download`` - Download and view specified resource.\n- ``collaborate`` - Add comments for the specified resource.\n- ``write`` - Write to the specified resource.\n- ``upload`` - Upload to the specified resource.\n- ``updateMetaData`` - Update metadata of the specified resource.\n- ``create`` - Write and upload to the specified resource.\n- ``delete`` - Delete the specified resource.\n- ``admin`` - Perform administrative operations on specified resource.\n- ``share``- Share the specified resource.",
                      "items": {
                        "type": "string",
                        "enum": [
                          "read",
                          "view",
                          "download",
                          "collaborate",
                          "write",
                          "upload",
                          "updateMetaData",
                          "create",
                          "delete",
                          "admin",
                          "share"
                        ]
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "relationships": {
          "type": "object",
          "description": "Contains the list of resources checked for \npermission.",
          "properties": {
            "resources": {
              "type": "object",
              "description": "Contains the list of resources checked for \npermission.",
              "properties": {
                "data": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "$ref": "#/$defs/TypeEntity"
                      },
                      "id": {
                        "type": "string",
                        "description": "The URN of the resource."
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "CommandExecutionStatus": {
      "title": "command_execution_status",
      "type": "string",
      "enum": [
        "accepted",
        "committed",
        "complete",
        "failed"
      ],
      "description": "The current stage of the command execution \nprocess. Possible values:\n\n- ``accepted`` - The command is ready to be executed. \n- ``committed`` - The command is currently being executed.\n- ``complete`` - The command was successfully executed.\n- ``failed`` - There was an error and command execution was stopped prematurely."
    },
    "ConformingStatus": {
      "type": "string",
      "enum": [
        "NONE",
        "CONFORMING",
        "NON_CONFORMING"
      ],
      "description": "A status indicating whether this version conforms to its parent folder's file naming standard.\n\nPossible values:\n\n- ``NONE``: The conforming status is not applicable for the version.\n- ``CONFORMING``: The version conforms to its parent folder's file naming standard.\n- ``NON_CONFORMING``: The version does not conform to its parent folder's file naming standard.\n\nIn the event of a ``NON_CONFORMING`` status, use the [Get a Folder](/en/docs/data/v2/reference/http/projects-project_id-folders-folder_id-GET) operation to get the file naming standards IDs that have been applied to the version's parent folder. Then use the ID to call [GET naming-standards](/en/docs/bim360/v1/reference/http/document-management-naming-standards-id-GET/) to get the details of the file naming standard.\n\nNote that this feature is only available for BIM 360 projects.          \n\nTo learn more about the file naming standard feature, see the [BIM 360 File Naming Standard](https://help.autodesk.com/view/BIM360D/ENU/?guid=Common_Data_Environment) help documentation. \n"
    },
    "ItemAttributes": {
      "description": "Properties of an item.",
      "title": "Item Attributes:",
      "type": "object",
      "required": [
        "displayName",
        "createTime",
        "createUserId",
        "createUserName",
        "lastModifiedTime",
        "lastModifiedUserId",
        "lastModifiedUserName",
        "extension"
      ],
      "properties": {
        "displayName": {
          "type": "string",
          "minLength": 1,
          "description": "A human friendly name to identify the item. \nNote that for BIM 360 projects, this attribute is reserved for future releases and should not be used. Use a version's ``attributes.name`` for the file name."
        },
        "createTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the resource was created at."
        },
        "createUserId": {
          "type": "string",
          "minLength": 1,
          "description": "The ID of the user that created the version."
        },
        "createUserName": {
          "type": "string",
          "minLength": 1,
          "description": "The user name of the user that created the version."
        },
        "lastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the version was last modified."
        },
        "lastModifiedUserId": {
          "type": "string",
          "minLength": 1,
          "description": "The ID of the user that last modified the version."
        },
        "lastModifiedUserName": {
          "type": "string",
          "minLength": 1,
          "description": "The user name of the user that last modified the version."
        },
        "lastModifiedTimeRollup": {
          "type": "string",
          "description": "The date and time the item or any of its child versions were last updated."
        },
        "hidden": {
          "type": "boolean",
          "description": "``true``: The file has been deleted.\n\n``false``: The file has not been deleted.\n"
        },
        "reserved": {
          "type": "boolean",
          "description": "``true``: The file is locked.\n\n``false`` The file is not locked. \n\n**Note:** You can lock BIM 360 Project Files folder files and A360 files, but you cannot lock BIM 360 Plans Folder files.\n"
        },
        "reservedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time the item was reserved in the following format: ``YYYY-MM-DDThh:mm:ss.sz``."
        },
        "reservedUserId": {
          "type": "string",
          "description": "The unique identifier of the user who reserved the item."
        },
        "reservedUserName": {
          "type": "string",
          "description": "The name of the user who reserved the item."
        },
        "extension": {
          "$ref": "#/$defs/ItemExtensionWithSchemaLink"
        },
        "pathInProject": {
          "type": "string",
          "description": "The relative path of the item starting from project’s root folder."
        }
      }
    },
    "ItemData": {
      "title": "Item Data:",
      "type": "object",
      "description": "A container of data describing an item.",
      "properties": {
        "type": {
          "$ref": "#/$defs/TypeItem"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "description": "The unique identifier of the item."
        },
        "attributes": {
          "$ref": "#/$defs/ItemAttributes"
        },
        "relationships": {
          "type": "object",
          "description": "Contains links to resources that are directly related to this item.",
          "required": [
            "parent",
            "tip",
            "versions",
            "refs",
            "links"
          ],
          "properties": {
            "parent": {
              "$ref": "#/$defs/JsonApiRelationshipsLinksFolderParent"
            },
            "tip": {
              "$ref": "#/$defs/JsonApiRelationshipsLinksToTipVersion"
            },
            "versions": {
              "$ref": "#/$defs/JsonApiRelationshipsLinksVersions"
            },
            "refs": {
              "$ref": "#/$defs/JsonApiRelationshipsLinksRefs"
            },
            "links": {
              "$ref": "#/$defs/JsonApiRelationshipsLinksLinks"
            }
          }
        },
        "links": {
          "$ref": "#/$defs/JsonApiLinksSelfAndWebView"
        }
      },
      "required": [
        "type",
        "id",
        "attributes",
        "relationships",
        "links"
      ]
    },
    "ItemExtensionWithSchemaLink": {
      "type": "object",
      "description": "A container of additional properties that extends the default properties of this resource.",
      "properties": {
        "type": {
          "type": "string",
          "description": "The Type ID of the schema that defines the structure of the ``extension.data`` object."
        },
        "version": {
          "type": "string",
          "description": "The version of the schema that applies to the ``extension.data`` object."
        },
        "schema": {
          "$ref": "#/$defs/JsonApiLink"
        },
        "data": {
          "type": "object",
          "description": "The object that contains the additional properties that extends this resource.",
          "properties": {
            "description": {
              "type": "string",
              "description": "An attribute of type string that is only available for items in BIM 360 Docs or Forma projects. Contains the item's description property."
            },
            "reviewState": {
              "type": "string",
              "description": "An attribute of type string that is only available for items in BIM 360 Docs or Forma projects. Indicates the current status of items/lineages.\n\nThis parameter denotes the state of extracted document sheets, showing if they are awaiting publication. It applies to PDFs, IFCs, and DWFs in the [BIM360 Plans folder](https://help.autodesk.com/view/BIM360D/ENU/?guid=GUID-1B49B17A-12C3-47A1-9AAC-EFC46AF9D7AD). It tracks the progression through review and publication stages. Key states are ``NEEDS_REVIEW`` and ``ACCEPTED``.\n"
            }
          },
          "additionalProperties": {
            "description": "Key-value pairs that contain the name and data of additional properties.\n"
          }
        }
      },
      "required": [
        "type",
        "version"
      ]
    },
    "JsonApiLink": {
      "title": "json_api_link",
      "type": "object",
      "description": "An object containing the hyperlink to the referenced resource.",
      "properties": {
        "href": {
          "type": "string",
          "description": "A hypertext reference to the location of the referenced resource."
        }
      },
      "required": [
        "href"
      ]
    },
    "JsonApiLinksRelated": {
      "title": "json_api_links_related",
      "type": "object",
      "description": "Contains the endpoint you can use to retrieve the related resources.",
      "properties": {
        "related": {
          "type": "object",
          "description": "An object containing the endpoint to retrieve \na list of related resources.",
          "properties": {
            "href": {
              "type": "string",
              "description": "The URI of the endpoint that returns the related resources."
            }
          }
        }
      }
    },
    "JsonApiLinksSelfAndWebView": {
      "title": "json_api_links_self_and_web_view",
      "type": "object",
      "description": "Information on links to this resource.",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "$ref": "#/$defs/JsonApiLink"
        },
        "webView": {
          "$ref": "#/$defs/WebViewLink"
        }
      }
    },
    "JsonApiMetaLink": {
      "title": "json_api_meta_link",
      "type": "object",
      "description": "Meta-information on links to this resource.",
      "properties": {
        "link": {
          "$ref": "#/$defs/JsonApiLink"
        }
      }
    },
    "JsonApiRelationshipsLinksFolderParent": {
      "title": "json_api_relationships_links_folder_parent",
      "type": "object",
      "description": "Information on the parent of this resource in the folder hierarchy.",
      "properties": {
        "links": {
          "$ref": "#/$defs/JsonApiLinksRelated"
        },
        "data": {
          "$ref": "#/$defs/JsonApiTypeId"
        }
      }
    },
    "JsonApiRelationshipsLinksLinks": {
      "type": "object",
      "required": [
        "links"
      ],
      "description": "Information on the link resources found in this resource.",
      "properties": {
        "links": {
          "type": "object",
          "required": [
            "self"
          ],
          "description": "The object containing information on links to this resource.",
          "properties": {
            "self": {
              "$ref": "#/$defs/JsonApiLink"
            }
          }
        }
      }
    },
    "JsonApiRelationshipsLinksRefs": {
      "type": "object",
      "required": [
        "links"
      ],
      "description": "Information on other resources that have a custom relationship with this resource.",
      "properties": {
        "links": {
          "type": "object",
          "required": [
            "self",
            "related"
          ],
          "description": "The object containing information on links of related resources that share a custom relationship with this resource.",
          "properties": {
            "self": {
              "$ref": "#/$defs/JsonApiLink"
            },
            "related": {
              "$ref": "#/$defs/JsonApiLink"
            }
          }
        }
      }
    },
    "JsonApiRelationshipsLinksToTipVersion": {
      "title": "json_api_relationships_links_to_tip_version",
      "type": "object",
      "description": "Information about the latest version of the item.",
      "properties": {
        "links": {
          "$ref": "#/$defs/JsonApiLinksRelated"
        },
        "data": {
          "$ref": "#/$defs/JsonApiTypeId"
        }
      }
    },
    "JsonApiRelationshipsLinksVersions": {
      "title": "json_api_relationships_links_internal",
      "type": "object",
      "description": "Information about the existing versions of the item.",
      "properties": {
        "links": {
          "$ref": "#/$defs/JsonApiLinksRelated"
        }
      },
      "required": [
        "links"
      ]
    },
    "JsonApiTypeId": {
      "title": "json_api_type_id",
      "type": "object",
      "description": "An object containing the ``id`` and ``type`` properties of a resource.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The URN of the resource."
        },
        "type": {
          "type": "string",
          "description": "The type of the resource."
        }
      }
    },
    "JsonApiVersion": {
      "title": "json_api_version",
      "type": "object",
      "description": "The JSON API object.",
      "properties": {
        "version": {
          "$ref": "#/$defs/JsonApiVersionValue"
        }
      },
      "required": [
        "version"
      ]
    },
    "JsonApiVersionValue": {
      "description": "The version of JSON API. Will always be ``1.0``.",
      "type": "string",
      "enum": [
        "1.0"
      ]
    },
    "ListItems": {
      "type": "object",
      "description": "The ``data`` object returned by the ListItems command.",
      "title": "ListItems Command",
      "properties": {
        "type": {
          "$ref": "#/$defs/TypeCommands"
        },
        "id": {
          "type": "string",
          "description": "Unique identifier of the command."
        },
        "attributes": {
          "type": "object",
          "description": "Contains the properties of the response\nto the ListItems command.",
          "properties": {
            "status": {
              "$ref": "#/$defs/CommandExecutionStatus"
            },
            "extension": {
              "type": "object",
              "description": "An object that contains properties\nspecific to the ListItems command,\nextending the default properties of a command.",
              "properties": {
                "type": {
                  "$ref": "#/$defs/TypeCommandTypeListItems"
                },
                "version": {
                  "type": "string",
                  "description": "The version of the command."
                },
                "schema": {
                  "type": "string",
                  "description": "The link to the schema."
                }
              }
            }
          }
        },
        "relationships": {
          "type": "object",
          "description": "Contains the list of items that were\nchecked.",
          "properties": {
            "resources": {
              "type": "object",
              "description": "Contains the list of items that were\nchecked.",
              "properties": {
                "data": {
                  "type": "array",
                  "description": "An array of objects, where each object\nrepresents a item that was checked.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "$ref": "#/$defs/TypeItem"
                      },
                      "id": {
                        "type": "string",
                        "description": "The URN of the item."
                      },
                      "meta": {
                        "$ref": "#/$defs/ItemData"
                      }
                    }
                  }
                }
              }
            },
            "webView": {
              "type": "object",
              "description": "An object containing a link that opens the resource in a browser.",
              "properties": {
                "href": {
                  "type": "string",
                  "description": "The location (URL) of the resource the link goes to."
                }
              }
            }
          }
        },
        "included": {
          "type": "array",
          "description": "An array of objects, which contains a single \nobject. The object represents the tip version \nof the item. ",
          "items": {
            "$ref": "#/$defs/VersionData"
          }
        }
      }
    },
    "ListRefs": {
      "type": "object",
      "description": "The ``data`` object returned by the ListRefs command.",
      "title": "ListRefs Command",
      "required": [
        "type",
        "id",
        "attributes"
      ],
      "properties": {
        "type": {
          "$ref": "#/$defs/TypeCommands"
        },
        "id": {
          "type": "string",
          "description": "Unique identifier of the command."
        },
        "attributes": {
          "type": "object",
          "description": "Contains the properties of the response\nto the ListRefs command.",
          "required": [
            "status",
            "extension"
          ],
          "properties": {
            "status": {
              "$ref": "#/$defs/CommandExecutionStatus"
            },
            "extension": {
              "type": "object",
              "description": "An object that contains properties\nspecific to the ListRefs command,\nextending the default properties of a command.",
              "required": [
                "type",
                "version"
              ],
              "properties": {
                "type": {
                  "$ref": "#/$defs/TypeCommandTypeListRefs"
                },
                "version": {
                  "type": "string",
                  "description": "The version of the command."
                },
                "schema": {
                  "$ref": "#/$defs/JsonApiLink"
                }
              }
            }
          }
        },
        "relationships": {
          "type": "object",
          "description": "Contains the list of versions that were \nchecked. ",
          "properties": {
            "resources": {
              "type": "object",
              "description": "Contains the list of versions that were \nchecked. ",
              "properties": {
                "data": {
                  "type": "array",
                  "description": "An array of objects, where each object \nrepresents a version that was checked. ",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "$ref": "#/$defs/TypeVersion"
                      },
                      "id": {
                        "type": "string",
                        "description": "The URN of the version."
                      },
                      "meta": {
                        "$ref": "#/$defs/MetaRefs"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "included": {
          "type": "array",
          "description": "An array of objects, where each object \nrepresents a referenced resource.",
          "items": {
            "oneOf": [
              {
                "$ref": "#/$defs/ItemData"
              },
              {
                "$ref": "#/$defs/VersionData"
              }
            ]
          }
        }
      }
    },
    "MetaRefs": {
      "description": "Metadata on the resources referenced by this resource.",
      "type": "object",
      "title": "MetaRefs",
      "properties": {
        "refType": {
          "$ref": "#/$defs/TypeRef"
        },
        "direction": {
          "$ref": "#/$defs/MetaRefsDirection"
        },
        "fromId": {
          "type": "string",
          "description": "The ID of the resource from where data flows."
        },
        "fromType": {
          "$ref": "#/$defs/TypeEntity"
        },
        "toId": {
          "type": "string",
          "description": "The ID of the resource to where the data flows."
        },
        "toType": {
          "$ref": "#/$defs/TypeEntity"
        },
        "extension": {
          "$ref": "#/$defs/BaseAttributesExtensionObjectWithSchemaLink"
        }
      }
    },
    "MetaRefsDirection": {
      "type": "string",
      "enum": [
        "from",
        "to"
      ],
      "description": "Describes the direction of data flow in the relationship. Possible values are:\n\n- ``to`` - Data flows from this resource to the related resource.\n- ``from`` - Data flows from the related resource to this resource. "
    },
    "PublishModel": {
      "type": "object",
      "description": "The ``data`` object returned by the PublishModel command.",
      "title": "PublishModel Command",
      "required": [
        "type",
        "id",
        "attributes"
      ],
      "properties": {
        "type": {
          "$ref": "#/$defs/TypeCommands"
        },
        "id": {
          "type": "string",
          "description": "A unique ID assigned to the process executing the command."
        },
        "attributes": {
          "type": "object",
          "description": "Contains the properties of the response\nto the PublishModel command.",
          "required": [
            "status",
            "extension"
          ],
          "properties": {
            "extension": {
              "type": "object",
              "description": "An object that contains properties\nspecific to the PublishModel command,\nextending the default properties of a command.",
              "required": [
                "type",
                "version"
              ],
              "properties": {
                "type": {
                  "$ref": "#/$defs/TypeCommandTypePublishModel"
                },
                "version": {
                  "type": "string",
                  "description": "The version of the schema. Always ``1.0.0``\nfor the PublishModel command."
                }
              }
            },
            "status": {
              "$ref": "#/$defs/CommandExecutionStatus"
            }
          }
        }
      }
    },
    "PublishModelJob": {
      "type": "object",
      "title": "GetPublishModelJob Command",
      "description": "The ``data`` object returned by the GetPublishModelJob command, if the model needs publishing. If the model is already published, the ``data`` object will be ``null``.",
      "required": [
        "type",
        "id",
        "attributes"
      ],
      "properties": {
        "type": {
          "$ref": "#/$defs/TypeCommands"
        },
        "id": {
          "type": "string",
          "description": "A unique ID assigned to the process executing the command."
        },
        "attributes": {
          "type": "object",
          "description": "Contains the properties of the response\nto the GetPublishModelJob command.",
          "required": [
            "status",
            "extension"
          ],
          "properties": {
            "status": {
              "$ref": "#/$defs/CommandExecutionStatus"
            },
            "extension": {
              "type": "object",
              "description": "An object that contains properties\nspecific to the GetPublishModelJob command,\nextending the default properties of a command.",
              "required": [
                "type",
                "version"
              ],
              "properties": {
                "type": {
                  "$ref": "#/$defs/TypeCommandTypeGetPublishModelJob"
                },
                "version": {
                  "type": "string",
                  "description": "The version of the schema. Must be ``1.0.0``\nfor the GetPublishModelJob command."
                }
              }
            }
          }
        }
      }
    },
    "PublishWithoutLinks": {
      "type": "object",
      "description": "The ``data`` object returned by the PublishWithoutLinks command.",
      "title": "PublishWithoutLinks Command",
      "required": [
        "type",
        "id",
        "attributes"
      ],
      "properties": {
        "type": {
          "$ref": "#/$defs/TypeCommands"
        },
        "id": {
          "type": "string",
          "description": "A unique ID assigned to the process executing the command."
        },
        "attributes": {
          "type": "object",
          "description": "Contains the properties of the response\nto the PublishWithoutLinks command.",
          "required": [
            "status",
            "extension"
          ],
          "properties": {
            "extension": {
              "type": "object",
              "description": "An object that contains properties\nspecific to the PublishWithoutLinks command,\nextending the default properties of a command.",
              "required": [
                "type",
                "version"
              ],
              "properties": {
                "type": {
                  "$ref": "#/$defs/TypeCommandTypePublishWithoutLinks"
                },
                "version": {
                  "type": "string",
                  "description": "The version of the schema. Always ``1.0.0``\nfor the PublishWithoutLinks command."
                }
              }
            },
            "status": {
              "$ref": "#/$defs/CommandExecutionStatus"
            }
          }
        }
      }
    },
    "TypeCommandTypeCheckPermission": {
      "type": "string",
      "enum": [
        "commands:autodesk.core:CheckPermission"
      ],
      "description": "The Type ID of the schema used for extending properties. Must be ``commands:autodesk.core:CheckPermission`` for the CheckPermission command.",
      "title": ""
    },
    "TypeCommandTypeGetPublishModelJob": {
      "type": "string",
      "enum": [
        "commands:autodesk.bim360:C4RModelGetPublishJob"
      ],
      "description": "The Type ID of the schema used for extending properties. Must be ``commands:autodesk.bim360:C4RModelGetPublishJob`` for the GetPublishModelJob command.",
      "title": ""
    },
    "TypeCommandTypeListItems": {
      "type": "string",
      "enum": [
        "commands:autodesk.core:ListItems"
      ],
      "description": "The Type ID of the schema used for extending properties. Must be ``commands:autodesk.core:ListItems`` for the ListItems command.",
      "title": ""
    },
    "TypeCommandTypeListRefs": {
      "type": "string",
      "enum": [
        "commands:autodesk.core:ListRefs"
      ],
      "description": "The Type ID of the schema used for extending properties. Must be ``commands:autodesk.core:ListRefs`` for the ListRefs command.",
      "title": ""
    },
    "TypeCommandTypePublishModel": {
      "type": "string",
      "enum": [
        "commands:autodesk.bim360:C4RModelPublish"
      ],
      "description": "The Type ID of the schema used for extending properties. Must be ``commands:autodesk.bim360:C4RModelPublish`` for the PublishModel command.",
      "title": ""
    },
    "TypeCommandTypePublishWithoutLinks": {
      "type": "string",
      "enum": [
        "commands:autodesk.bim360:C4RPublishWithoutLinks"
      ],
      "description": "The Type ID of the schema used for extending properties. Must be ``commands:autodesk.bim360:C4RPublishWithoutLinks`` for the PublishWithoutLinks command.",
      "title": ""
    },
    "TypeCommands": {
      "type": "string",
      "enum": [
        "commands"
      ],
      "description": "The type of this resource. Possible values are ``commands``.",
      "title": ""
    },
    "TypeEntity": {
      "type": "string",
      "enum": [
        "folders",
        "items",
        "versions"
      ],
      "description": "The type of the resource. Possible values are ``folders``, ``items``, ``versions``."
    },
    "TypeItem": {
      "type": "string",
      "enum": [
        "items"
      ],
      "description": "The type of the resource. Possible values are ``items``."
    },
    "TypeRef": {
      "type": "string",
      "enum": [
        "derived",
        "dependencies",
        "auxiliary",
        "xrefs",
        "includes"
      ],
      "description": "The type of the resource. Possible values are ``derived``, ``dependencies``, ``auxiliary``, ``xrefs``, and ``includes``."
    },
    "TypeVersion": {
      "type": "string",
      "enum": [
        "versions"
      ],
      "description": "The type of the resource. Possible values are ``versions``."
    },
    "VersionAttributes": {
      "description": "The properties of a version.",
      "type": "object",
      "title": "Version Attributes:",
      "required": [
        "name",
        "displayName",
        "versionNumber",
        "createTime",
        "createUserId",
        "createUserName",
        "lastModifiedTime",
        "lastModifiedUserId",
        "lastModifiedUserName",
        "extension"
      ],
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "description": "The file name to be used when synced to local disk."
        },
        "displayName": {
          "type": "string",
          "minLength": 1,
          "description": "A human friendly name to identify the version. Note that for BIM 360 projects, this field is reserved for future releases and should not be used. Use a version's ``attributes.name`` for the file name."
        },
        "mimeType": {
          "type": "string",
          "minLength": 1,
          "description": "The MIME type of the content of the version."
        },
        "versionNumber": {
          "type": "integer",
          "format": "int32",
          "description": "Version number of this versioned file."
        },
        "fileType": {
          "type": "string",
          "description": "File type, only present if this version represents a file."
        },
        "storageSize": {
          "type": "integer",
          "format": "int64",
          "description": "File size in bytes, only present if this version represents a file."
        },
        "createTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the resource was created at."
        },
        "createUserId": {
          "type": "string",
          "minLength": 1,
          "description": "The ID of the user that created the version."
        },
        "createUserName": {
          "type": "string",
          "minLength": 1,
          "description": "The user name of the user that created the version."
        },
        "lastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the version was last modified."
        },
        "lastModifiedUserId": {
          "type": "string",
          "minLength": 1,
          "description": "The ID of the user that last modified the version."
        },
        "lastModifiedUserName": {
          "type": "string",
          "minLength": 1,
          "description": "The user name of the user that last modified the version."
        },
        "extension": {
          "$ref": "#/$defs/VersionExtensionWithSchemaLink"
        }
      }
    },
    "VersionData": {
      "title": "Version Data:",
      "description": "A container of data describing a version.",
      "type": "object",
      "properties": {
        "type": {
          "$ref": "#/$defs/TypeVersion"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "description": "URN of the version object."
        },
        "attributes": {
          "$ref": "#/$defs/VersionAttributes"
        },
        "relationships": {
          "type": "object",
          "description": "Contains information on other resources related to this resource.",
          "properties": {
            "item": {
              "type": "object",
              "description": "Contains information about the item this is a version of.",
              "properties": {
                "links": {
                  "$ref": "#/$defs/JsonApiLinksRelated"
                },
                "data": {
                  "$ref": "#/$defs/JsonApiTypeId"
                }
              }
            },
            "refs": {
              "$ref": "#/$defs/JsonApiRelationshipsLinksRefs"
            },
            "links": {
              "$ref": "#/$defs/JsonApiRelationshipsLinksLinks"
            },
            "storage": {
              "type": "object",
              "description": "Contains information about the storage location that contains the binary data of this version.",
              "properties": {
                "data": {
                  "$ref": "#/$defs/JsonApiTypeId"
                },
                "meta": {
                  "$ref": "#/$defs/JsonApiMetaLink"
                }
              }
            },
            "derivatives": {
              "type": "object",
              "description": "Contains information you can use to retrieve the derivatives of this version.",
              "properties": {
                "data": {
                  "$ref": "#/$defs/JsonApiTypeId"
                },
                "meta": {
                  "$ref": "#/$defs/JsonApiMetaLink"
                }
              }
            },
            "thumbnails": {
              "type": "object",
              "description": "Contains the information required to retrieve thumbnails of this version from the Model Derivative service. ",
              "properties": {
                "data": {
                  "$ref": "#/$defs/JsonApiTypeId"
                },
                "meta": {
                  "$ref": "#/$defs/JsonApiMetaLink"
                }
              }
            },
            "downloadFormats": {
              "type": "object",
              "description": "Contains the endpoint you can use to find out what formats the version can be downloaded as.",
              "properties": {
                "links": {
                  "$ref": "#/$defs/JsonApiLinksRelated"
                }
              }
            }
          }
        },
        "links": {
          "$ref": "#/$defs/JsonApiLinksSelfAndWebView"
        }
      },
      "required": [
        "type",
        "id",
        "attributes",
        "relationships"
      ]
    },
    "VersionExtensionWithSchemaLink": {
      "type": "object",
      "description": "A container of additional properties that extends the default properties of a version.",
      "properties": {
        "type": {
          "type": "string",
          "description": "The Type ID of the schema that defines the structure of the ``extension.data`` object."
        },
        "version": {
          "type": "string",
          "description": "The version of the schema that applies to the ``extension.data`` object."
        },
        "schema": {
          "$ref": "#/$defs/JsonApiLink"
        },
        "data": {
          "type": "object",
          "description": "The object that contains the additional properties, which makes this resource extensible.",
          "properties": {
            "conformingStatus": {
              "$ref": "#/$defs/ConformingStatus"
            }
          },
          "additionalProperties": {
            "description": "Key-value pairs that contain the name and data of additional properties.\n"
          }
        }
      },
      "required": [
        "type",
        "version"
      ],
      "title": ""
    },
    "WebViewLink": {
      "title": "web_view_link",
      "type": "object",
      "description": "An object containing a link that opens the resource in a browser.",
      "properties": {
        "href": {
          "type": "string",
          "description": "The location (URL) of the resource the link points to."
        }
      },
      "required": [
        "href"
      ]
    }
  }
}