{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getmattered/json-schema/getmattered-developer-profile-update-schema.json",
  "title": "DeveloperProfileUpdate",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getmattered-developer-api-openapi.yml#/components/schemas/DeveloperProfileUpdate",
  "type": "object",
  "properties": {
    "addressLine1": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 255,
      "description": "Address line 1"
    },
    "addressLine2": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 255,
      "description": "Address line 2"
    },
    "city": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 100,
      "description": "City"
    },
    "country": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 100,
      "description": "Country"
    },
    "githubUrl": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 500,
      "format": "uri",
      "description": "GitHub profile URL"
    },
    "linkedinUrl": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 500,
      "format": "uri",
      "description": "LinkedIn profile URL"
    },
    "phone": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 20,
      "description": "Phone number"
    },
    "portfolioUrl": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 500,
      "format": "uri",
      "description": "Portfolio website URL"
    },
    "relocationLocations": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "Preferred relocation locations as \"City, Country\" or \"Country\" (max per-entry stripping of middle admin segments on ingest)."
    },
    "state": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 100,
      "description": "State or province"
    },
    "willingToRelocate": {
      "type": "boolean",
      "description": "Willing to relocate for a job"
    },
    "workAuthorization": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "us_citizen",
        "permanent_resident",
        "visa_holder",
        "require_sponsorship",
        "other",
        null
      ],
      "description": "Work authorization status"
    },
    "zipCode": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 20,
      "description": "ZIP or postal code"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "The candidate's full name, as employers see it."
    }
  },
  "additionalProperties": false
}