{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/finance-dev/json-schema/finance-dev-historical-esg-response-schema.json",
  "title": "HistoricalEsgResponse",
  "description": "Historical ESG (environmental, social, governance) scores and disclosures for a company by period.",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/finance-dev-openapi.json#/components/schemas/HistoricalEsgResponse",
  "properties": {
    "data": {
      "description": "ESG records by period.",
      "items": {
        "properties": {
          "data": {
            "description": "Detailed ESG disclosures and metrics for the period.",
            "properties": {
              "adultContent": {
                "description": "Whether the company has involvement in adult content.",
                "type": "boolean"
              },
              "alcoholic": {
                "description": "Whether the company has involvement in alcoholic beverages.",
                "type": "boolean"
              },
              "animalTesting": {
                "description": "Whether the company is involved in animal testing.",
                "type": "boolean"
              },
              "antitrust": {
                "description": "Antitrust-related disclosure for the company, as free text.",
                "type": "string"
              },
              "asianEmployeePercentage": {
                "description": "Percentage of the company workforce that is Asian.",
                "type": "number"
              },
              "asianManagementPercentage": {
                "description": "Percentage of company management that is Asian.",
                "type": "number"
              },
              "blackEmployeePercentage": {
                "description": "Percentage of the company workforce that is Black.",
                "type": "number"
              },
              "blackManagementPercentage": {
                "description": "Percentage of company management that is Black.",
                "type": "number"
              },
              "carbonReductionPolicy": {
                "description": "Description of the company carbon reduction policy.",
                "type": "string"
              },
              "catholic": {
                "description": "Whether the company is flagged as conflicting with Catholic values screens.",
                "type": "boolean"
              },
              "co2EmissionScope1": {
                "description": "Reported direct (Scope 1) CO2 emissions.",
                "type": "integer"
              },
              "co2EmissionScope2": {
                "description": "Reported indirect (Scope 2) CO2 emissions from purchased energy.",
                "type": "integer"
              },
              "co2EmissionScope3": {
                "description": "Reported other indirect (Scope 3) CO2 emissions.",
                "type": "integer"
              },
              "co2EmissionTotal": {
                "description": "Reported total CO2 emissions.",
                "type": "integer"
              },
              "coalEnergy": {
                "description": "Whether the company has involvement in coal energy.",
                "type": "boolean"
              },
              "ecofriendlyPackaging": {
                "description": "Whether the company uses eco-friendly packaging.",
                "type": "boolean"
              },
              "environmentalReporting": {
                "description": "Whether the company publishes environmental reporting.",
                "type": "boolean"
              },
              "firearms": {
                "description": "Whether the company has involvement in firearms.",
                "type": "boolean"
              },
              "fuelEfficiencyConsumption": {
                "description": "Whether the company reports fuel efficiency or consumption measures.",
                "type": "boolean"
              },
              "gambling": {
                "description": "Whether the company has involvement in gambling.",
                "type": "boolean"
              },
              "gmo": {
                "description": "Whether the company has involvement in genetically modified organisms.",
                "type": "boolean"
              },
              "hazardousSubstances": {
                "description": "Whether the company handles hazardous substances.",
                "type": "boolean"
              },
              "hispanicLatinoEmployeePercentage": {
                "description": "Percentage of the company workforce that is Hispanic or Latino.",
                "type": "number"
              },
              "hispanicLatinoManagementPercentage": {
                "description": "Percentage of company management that is Hispanic or Latino.",
                "type": "number"
              },
              "humanRightsPolicy": {
                "description": "Whether the company has a human rights policy.",
                "type": "boolean"
              },
              "militaryContract": {
                "description": "Whether the company holds military contracts.",
                "type": "boolean"
              },
              "nuclear": {
                "description": "Whether the company has involvement in nuclear energy.",
                "type": "boolean"
              },
              "pesticides": {
                "description": "Pesticide-related disclosure for the company, or null when not available.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "recallPolicySafety": {
                "description": "Whether the company has a product recall and safety policy.",
                "type": "boolean"
              },
              "recyclingPolicy": {
                "description": "Whether the company has a recycling policy.",
                "type": "boolean"
              },
              "stakeholderEngagement": {
                "description": "Whether the company reports stakeholder engagement.",
                "type": "boolean"
              },
              "tobacco": {
                "description": "Whether the company has involvement in tobacco.",
                "type": "boolean"
              },
              "totalWomenPercentage": {
                "description": "Percentage of the company workforce that is women.",
                "type": "integer"
              },
              "waterEfficiencyConsumption": {
                "description": "Whether the company reports water efficiency or consumption measures.",
                "type": "boolean"
              },
              "whiteEmployeePercentage": {
                "description": "Percentage of the company workforce that is White.",
                "type": "number"
              },
              "whiteManagementPercentage": {
                "description": "Percentage of company management that is White.",
                "type": "number"
              },
              "workplaceHealthSafety": {
                "description": "Whether the company has a workplace health and safety policy.",
                "type": "boolean"
              }
            },
            "type": "object"
          },
          "environmentScore": {
            "description": "Environmental score for the period.",
            "type": "number"
          },
          "governanceScore": {
            "description": "Governance score for the period.",
            "type": "number"
          },
          "period": {
            "description": "Reporting period of the record.",
            "type": "string"
          },
          "socialScore": {
            "description": "Social score for the period.",
            "type": "number"
          },
          "totalESGScore": {
            "description": "Total ESG score for the period.",
            "type": "number"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "symbol": {
      "description": "Ticker symbol of the company.",
      "type": "string"
    }
  },
  "type": "object"
}