{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UpdateResourceRequestDTO",
  "title": "UpdateResourceRequestDTO",
  "type": "object",
  "description": "Request DTO for updating a resource with its type and associated collections.",
  "properties": {
    "resourceType": {
      "type": "string",
      "description": "Resource type.",
      "example": "team",
      "minLength": 1
    },
    "resourceId": {
      "type": "string",
      "description": "Resource Id.",
      "example": "80f49a6e-11d7-4651-b730-99ed2f726f61",
      "minLength": 1
    },
    "resourceCollections": {
      "type": "array",
      "description": "List of resource collections associated with the resource.",
      "items": {
        "$ref": "#/components/schemas/ResourceCollectionDetails"
      }
    }
  },
  "required": [
    "resourceId",
    "resourceType"
  ]
}