{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/centaur-labs/json-schema/centaur-labs-update-project-params-schema.json",
  "title": "UpdateProjectParams",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/centaur-labs-add-and-manage-projects-api-openapi.yml#/components/schemas/UpdateProjectParams",
  "properties": {
    "name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 60,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "description": "The project's title"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description",
      "description": "The project's description"
    },
    "content_type": {
      "anyOf": [
        {
          "$ref": "#/$defs/ContentType"
        },
        {
          "type": "null"
        }
      ],
      "description": "The content type of the project"
    },
    "copy_files": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Copy Files",
      "description": "Whether to copy files from the source bucket into Centaur's AWS bucket"
    },
    "views": {
      "anyOf": [
        {
          "items": {
            "type": "string",
            "maxLength": 20,
            "minLength": 1
          },
          "type": "array",
          "maxItems": 10,
          "minItems": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Views",
      "description": "All view names that should be associated with the project. All existing views will be overwritten unless explicitly provided here"
    }
  },
  "type": "object",
  "$defs": {
    "ContentType": {
      "type": "string",
      "enum": [
        "image",
        "video",
        "audio",
        "text",
        "html",
        "dicom",
        "pdf"
      ],
      "title": "ContentType"
    }
  }
}