{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bolsai/json-schema/bolsai-paginated-response-company-summary-schema.json",
  "title": "PaginatedResponse[CompanySummary]",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bolsai-companies-api-openapi.yml#/components/schemas/PaginatedResponse_CompanySummary_",
  "properties": {
    "data": {
      "items": {
        "$ref": "#/$defs/CompanySummary"
      },
      "type": "array",
      "title": "Data"
    },
    "count": {
      "type": "integer",
      "title": "Count"
    },
    "total": {
      "type": "integer",
      "title": "Total"
    },
    "offset": {
      "type": "integer",
      "title": "Offset"
    },
    "limit": {
      "type": "integer",
      "title": "Limit"
    }
  },
  "type": "object",
  "required": [
    "data",
    "count",
    "total",
    "offset",
    "limit"
  ],
  "$defs": {
    "CompanySummary": {
      "properties": {
        "cvm_code": {
          "type": "string",
          "title": "Cvm Code"
        },
        "cnpj": {
          "type": "string",
          "title": "Cnpj"
        },
        "corporate_name": {
          "type": "string",
          "title": "Corporate Name"
        },
        "trade_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Trade Name"
        },
        "ticker_primary": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ticker Primary"
        },
        "sector": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Sector"
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status"
        }
      },
      "type": "object",
      "required": [
        "cvm_code",
        "cnpj",
        "corporate_name",
        "trade_name",
        "sector",
        "status"
      ],
      "title": "CompanySummary",
      "description": "Compact company representation for list endpoints."
    }
  }
}