{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rotageek/json-schema/rotageek-rotageek-asp-net-core-public-api-models-user-classification-request-model-schema.json",
  "title": "Rotageek.AspNetCore.PublicApi.Models.UserClassificationRequestModel",
  "description": "Request model for creating or updating a user classification by FixedId and AwardCode.\nFixedId and AwardCode together identify the classification to assign and must be provided as a pair:\nomitting or nulling both records \"No Classification\" for the effective date, while providing only\none of the two is rejected with a 400 response.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rotageek-userclassifications-api-openapi.yml#/components/schemas/Rotageek.AspNetCore.PublicApi.Models.UserClassificationRequestModel",
  "required": [
    "effectiveFrom"
  ],
  "type": "object",
  "properties": {
    "fixedId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The fixed identifier of the classification. Must be supplied together with AwardCode, or left null\ntogether with AwardCode to record \"No Classification\" for the effective date.",
      "format": "int32"
    },
    "awardCode": {
      "maxLength": 50,
      "minLength": 0,
      "type": [
        "string",
        "null"
      ],
      "description": "The award code associated with the classification. Must be supplied together with FixedId, or left\nnull together with FixedId to record \"No Classification\" for the effective date."
    },
    "effectiveFrom": {
      "type": "string",
      "description": "The date from which this classification applies. Required; must be on or after the user's\nemployee start date.",
      "format": "date-time"
    }
  },
  "additionalProperties": false
}