{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lexgo-be/json-schema/lexgo-be-job-detail-schema.json",
  "title": "JobDetail",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lexgo-be-openapi.json#/components/schemas/JobDetail",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "integer"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "click_url": {
      "type": "string",
      "format": "uri",
      "description": "LexGO page with tracking. Send candidates here."
    },
    "domain": {
      "type": "string",
      "enum": [
        "be",
        "lu"
      ]
    },
    "languages": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "nl",
          "fr",
          "en"
        ]
      },
      "description": "Posting content locales, not required spoken languages."
    },
    "published_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "offline_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updated_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "titles": {
      "$ref": "#/$defs/LocalizedStrings"
    },
    "summaries": {
      "$ref": "#/$defs/LocalizedStrings"
    },
    "company": {
      "$ref": "#/$defs/CompanyName"
    },
    "functions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Function"
      }
    },
    "disciplines": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Function"
      }
    },
    "work_environments": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Function"
      }
    },
    "regions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Region"
      }
    },
    "experience": {
      "$ref": "#/$defs/Experience"
    },
    "contract": {
      "$ref": "#/$defs/ContractFlags"
    },
    "work_arrangement": {
      "$ref": "#/$defs/WorkArrangement"
    },
    "location": {
      "$ref": "#/$defs/Location"
    },
    "descriptions": {
      "$ref": "#/$defs/LocalizedStrings"
    },
    "salary": {
      "$ref": "#/$defs/Salary"
    }
  },
  "$defs": {
    "CompanyName": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "ContractFlags": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "permanent": {
          "type": "boolean"
        },
        "temporary": {
          "type": "boolean"
        },
        "self_employed": {
          "type": "boolean"
        }
      }
    },
    "Experience": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "integer"
        },
        "nl_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "fr_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "en_name": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "Function": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "integer"
        },
        "nl_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "fr_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "en_name": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "LocalizedStrings": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "nl": {
          "type": [
            "string",
            "null"
          ]
        },
        "fr": {
          "type": [
            "string",
            "null"
          ]
        },
        "en": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "Location": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "Region": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "integer"
        },
        "nl_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "fr_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "en_name": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "Salary": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "currency": {
          "type": "string"
        },
        "period": {
          "type": "string"
        },
        "minimum": {
          "type": [
            "integer",
            "null"
          ]
        },
        "maximum": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    },
    "WorkArrangement": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "fulltime": {
          "type": "boolean"
        },
        "parttime": {
          "type": "boolean"
        },
        "remote_friendly": {
          "type": "boolean"
        }
      }
    }
  }
}