{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/runn/json-schema/runn-person-request-schema.json",
  "title": "PersonRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/runn-person-requests-api-openapi.yml#/components/schemas/PersonRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "number"
    },
    "personId": {
      "description": "The ID of the placeholder associated with this request",
      "type": "number"
    },
    "projectId": {
      "type": "number"
    },
    "status": {
      "type": "string",
      "enum": [
        "NEED_TO_HIRE",
        "REQUESTED",
        "PENDING"
      ]
    },
    "requesterId": {
      "description": "The ID of the user who requested this person",
      "type": [
        "number",
        "null"
      ]
    },
    "updaterId": {
      "description": "The ID of the user who last updated this request",
      "type": [
        "number",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of when the object was created."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of when the object was last updated."
    }
  },
  "required": [
    "id",
    "personId",
    "projectId",
    "status",
    "requesterId",
    "updaterId",
    "createdAt",
    "updatedAt"
  ]
}