{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wagepoint/main/json-schema/wagepoint-paged-response-company-list-item-response-schema.json",
  "title": "paged_response_company_list_item_response",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/wagepoint-api-openapi.json#/components/schemas/paged_response_company_list_item_response",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/company_list_item_response"
      }
    },
    "page_info": {
      "$ref": "#/$defs/page_info"
    }
  },
  "$defs": {
    "company_list_item_response": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "type": "string"
        },
        "dba": {
          "type": "string"
        },
        "company_code": {
          "type": "string"
        },
        "status": {
          "enum": [
            "not_defined",
            "waiting_data",
            "pending_verification",
            "active",
            "inactive",
            "close_initiated",
            "close_pending",
            "closed",
            "expired",
            "banned"
          ],
          "type": "string",
          "default": "not_defined"
        }
      }
    },
    "page_info": {
      "type": "object",
      "properties": {
        "after": {
          "type": "string"
        },
        "page_size": {
          "type": "integer",
          "format": "int32"
        },
        "has_more": {
          "type": "boolean"
        }
      }
    }
  }
}