{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/united-states-steel/json-schema/united-states-steel-test-report-list-schema.json",
  "title": "TestReportList",
  "description": "Paginated list of test reports.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/united-states-steel-test-reports-api-openapi.yml#/components/schemas/TestReportList",
  "type": "object",
  "properties": {
    "total": {
      "type": "integer",
      "description": "Total number of matching test reports."
    },
    "reports": {
      "type": "array",
      "description": "List of test report records.",
      "items": {
        "$ref": "#/$defs/TestReport"
      }
    }
  },
  "$defs": {
    "TestReport": {
      "type": "object",
      "description": "A physical, mechanical, or chemical test report for a steel product.",
      "properties": {
        "reportId": {
          "type": "string",
          "description": "Unique test report identifier."
        },
        "coilId": {
          "type": "string",
          "description": "Coil or material identifier."
        },
        "orderId": {
          "type": "string",
          "description": "Associated order identifier."
        },
        "product": {
          "type": "string",
          "description": "Steel product type."
        },
        "grade": {
          "type": "string",
          "description": "Steel grade designation."
        },
        "reportType": {
          "type": "string",
          "description": "Type of test report.",
          "enum": [
            "MECHANICAL",
            "CHEMICAL",
            "PHYSICAL"
          ]
        },
        "certified": {
          "type": "boolean",
          "description": "Whether this is a certified test report with electronic signature."
        },
        "reportDate": {
          "type": "string",
          "format": "date",
          "description": "Date the test report was issued."
        },
        "yieldStrength": {
          "type": "number",
          "description": "Yield strength in ksi."
        },
        "tensileStrength": {
          "type": "number",
          "description": "Tensile strength in ksi."
        },
        "elongation": {
          "type": "number",
          "description": "Elongation percentage."
        }
      }
    }
  }
}