{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/100hires-com/json-schema/100hires-com-company-update-request-schema.json",
  "title": "CompanyUpdateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/100hires-com-companies-api-openapi.yml#/components/schemas/CompanyUpdateRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Company name."
    },
    "website": {
      "type": "string",
      "description": "Company website URL."
    },
    "url": {
      "type": "string",
      "description": "Company profile URL."
    },
    "company_owner_email": {
      "type": "string",
      "format": "email",
      "description": "Company owner email address."
    },
    "company_owner_name": {
      "type": "string",
      "description": "Company owner full name."
    },
    "company_owner_phone": {
      "type": "string",
      "description": "Company owner phone number."
    },
    "is_staffing_agency": {
      "type": "boolean",
      "description": "Whether this company is a staffing agency."
    },
    "logo": {
      "$ref": "#/$defs/FileData"
    },
    "linkedin_company_id": {
      "type": "string",
      "pattern": "^[0-9]+$",
      "description": "Numeric LinkedIn Company ID, digits only, usually 6 to 9 digits. The company's jobs are posted to LinkedIn only when it is set: LinkedIn attaches every job in the feed to the page with this ID. Find it in the address bar after clicking See all jobs on the company page (the f_C value), in the page Admin View URL (the number after /company/), or in the public page source after urn:li:organization:. A vanity URL such as /company/acme-corp is not the ID. Omitted or empty keeps the stored value."
    },
    "linkedin_company_url": {
      "type": "string",
      "description": "LinkedIn company page URL, https://www.linkedin.com/company/<slug>. Set it together with linkedin_company_id. Omitted or empty keeps the stored value."
    },
    "job_board_names": {
      "type": "object",
      "description": "Company name per job board, keyed by the board name from GET /boards. linkedin and googlejobs are not accepted: LinkedIn shows the page set by linkedin_company_id, Google for Jobs reads the career site. A board that is not in the object keeps its stored name; null or an empty string removes the name, so the board shows the company name again. Indeed and ZipRecruiter pick up a change on the next job board sync, the other boards on the next feed build.",
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ],
        "maxLength": 191
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "FileData": {
      "type": "object",
      "required": [
        "data",
        "file_name",
        "mime_type"
      ],
      "properties": {
        "data": {
          "type": "string",
          "description": "Base64 content"
        },
        "file_name": {
          "type": "string",
          "description": "Original file name."
        },
        "mime_type": {
          "type": "string",
          "description": "MIME type (e.g. application/pdf)."
        },
        "size": {
          "type": "integer",
          "description": "Optional for uploads, returned in responses"
        }
      }
    }
  }
}