{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/assignar/json-schema/assignar-pay-code-schema.json",
  "title": "PayCode",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/assignar-invoices-api-openapi.yml#/components/schemas/PayCode",
  "type": "object",
  "required": [
    "code"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "readOnly": true
    },
    "code": {
      "type": "string"
    },
    "label": {
      "type": "string"
    },
    "time_code_id": {
      "type": [
        "integer",
        "null"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "created_by_id": {
      "type": "integer",
      "readOnly": true
    },
    "modified_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "modified_by_id": {
      "type": "integer",
      "readOnly": true
    },
    "deleted_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "readOnly": true
    },
    "deleted_by_id": {
      "type": [
        "integer",
        "null"
      ],
      "readOnly": true
    }
  }
}