{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/security-scorecard/json-schema/security-scorecard-add-companies-bulk-response-schema.json",
  "title": "AddCompaniesBulkResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/security-scorecard-portfolios-api-openapi.yml#/components/schemas/AddCompaniesBulkResponse",
  "type": "object",
  "properties": {
    "errors": {
      "description": "list of error messages in case there were",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "size": {
      "type": "number"
    },
    "no_of_added_companies": {
      "description": "number of companies added",
      "type": "number"
    },
    "added_companies": {
      "type": "array",
      "description": "list of added companies ids",
      "items": {
        "type": "string"
      }
    },
    "no_of_new_added_companies": {
      "description": "number of new added companies that consume a slot",
      "type": "number"
    },
    "new_added_companies": {
      "description": "list of new added companies ids that consume a slot",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "companies_already_using_slot": {
      "description": "list of companies ids that already consume a slot",
      "type": "array",
      "items": {}
    },
    "available_slots": {
      "description": "number of available slots",
      "type": "number"
    },
    "not_found_report_data": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  },
  "additionalProperties": false,
  "required": [
    "portfolios"
  ]
}