{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Update Project",
  "description": "Update an existing project's name and description. The ID cannot be changed after creation.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "title": "Project Name",
      "description": "A human-readable name for the project",
      "minLength": 1,
      "examples": ["Rails Application", "Marketing Website", "Data Pipeline"]
    },
    "description": {
      "type": "string",
      "title": "Project Description",
      "description": "An optional description of the project's purpose or contents",
      "maxLength": 255,
      "examples": ["Main customer-facing Rails application with PostgreSQL backend"]
    },
    "attributes": {
      "type": "object",
      "title": "Attributes",
      "description": "Key-value attributes for this project. Keys and values must be strings. Must conform to the organization's custom attributes for the project scope.",
      "additionalProperties": { "type": "string" },
      "x-gql-type": "map"
    }
  }
}
