{
  "spec": "fio",
  "spec_version": "0.3.0",
  "manifest": {
    "id": "macrs-depreciation-schedule-2026",
    "name": "MACRS Depreciation Calculator",
    "description": "Computes annual MACRS tax depreciation, book depreciation, net book value, and remaining tax basis across fixed assets.",
    "workbook": {
      "uri": "Fixed%20Asset%20Depreciation%20Schedule.xlsx",
      "locale": "en-US",
      "date_system": 1900
    }
  },
  "ports": [
    {
      "id": "report_year",
      "dir": "in",
      "shape": "scalar",
      "location": {
        "a1": "'Start Here'!B6"
      },
      "schema": {
        "type": "integer"
      },
      "default": 2026,
      "constraints": {
        "min": 2000,
        "max": 2100,
        "nullable": false
      },
      "description": "Calendar report year for annual depreciation and basis calculations"
    },
    {
      "id": "asset_1_cost",
      "dir": "in",
      "shape": "scalar",
      "location": {
        "a1": "Assets!D5"
      },
      "schema": {
        "type": "number"
      },
      "default": 185000,
      "constraints": {
        "min": 0,
        "nullable": false
      },
      "description": "Original cost basis of the primary fixed asset in USD"
    },
    {
      "id": "asset_1_salvage",
      "dir": "in",
      "shape": "scalar",
      "location": {
        "a1": "Assets!E5"
      },
      "schema": {
        "type": "number"
      },
      "default": 15000,
      "constraints": {
        "min": 0,
        "nullable": false
      },
      "description": "Estimated salvage value of the primary fixed asset in USD"
    },
    {
      "id": "asset_1_book_life_years",
      "dir": "in",
      "shape": "scalar",
      "location": {
        "a1": "Assets!F5"
      },
      "schema": {
        "type": "integer"
      },
      "default": 10,
      "constraints": {
        "min": 1,
        "max": 15,
        "nullable": false
      },
      "description": "Useful book depreciation life of the primary asset in years"
    },
    {
      "id": "asset_1_book_method",
      "dir": "in",
      "shape": "scalar",
      "location": {
        "a1": "Assets!G5"
      },
      "schema": {
        "type": "string"
      },
      "default": "Straight-line",
      "constraints": {
        "enum": [
          "Straight-line",
          "Declining balance"
        ],
        "nullable": false
      },
      "description": "Book depreciation method for the primary asset"
    },
    {
      "id": "asset_1_macrs_class_years",
      "dir": "in",
      "shape": "scalar",
      "location": {
        "a1": "Assets!H5"
      },
      "schema": {
        "type": "integer"
      },
      "default": 7,
      "constraints": {
        "min": 3,
        "max": 20,
        "nullable": false
      },
      "description": "IRS MACRS property class recovery period in years"
    },
    {
      "id": "total_asset_cost",
      "dir": "out",
      "shape": "scalar",
      "location": {
        "a1": "'Start Here'!B9"
      },
      "schema": {
        "type": "number"
      },
      "description": "Total cost basis across all listed fixed assets in USD"
    },
    {
      "id": "total_book_depreciation_this_year",
      "dir": "out",
      "shape": "scalar",
      "location": {
        "a1": "'Start Here'!B10"
      },
      "schema": {
        "type": "number"
      },
      "description": "Total book depreciation expense for the report year in USD"
    },
    {
      "id": "accumulated_book_depreciation",
      "dir": "out",
      "shape": "scalar",
      "location": {
        "a1": "'Start Here'!B11"
      },
      "schema": {
        "type": "number"
      },
      "description": "Cumulative book depreciation across all assets through the report year in USD"
    },
    {
      "id": "total_net_book_value",
      "dir": "out",
      "shape": "scalar",
      "location": {
        "a1": "'Start Here'!B12"
      },
      "schema": {
        "type": "number"
      },
      "description": "Total net book value across all assets at report year end in USD"
    },
    {
      "id": "total_macrs_depreciation_this_year",
      "dir": "out",
      "shape": "scalar",
      "location": {
        "a1": "'Start Here'!B13"
      },
      "schema": {
        "type": "number"
      },
      "description": "Total MACRS tax depreciation deduction for the report year in USD"
    },
    {
      "id": "book_vs_tax_difference_this_year",
      "dir": "out",
      "shape": "scalar",
      "location": {
        "a1": "'Start Here'!B14"
      },
      "schema": {
        "type": "number"
      },
      "description": "Difference between MACRS tax depreciation and book depreciation in the report year in USD"
    },
    {
      "id": "asset_1_book_dep_this_year",
      "dir": "out",
      "shape": "scalar",
      "location": {
        "a1": "Assets!J5"
      },
      "schema": {
        "type": "number"
      },
      "description": "Report-year book depreciation expense for the primary asset in USD"
    },
    {
      "id": "asset_1_net_book_value",
      "dir": "out",
      "shape": "scalar",
      "location": {
        "a1": "Assets!L5"
      },
      "schema": {
        "type": "number"
      },
      "description": "Net book value of the primary asset at report year end in USD"
    },
    {
      "id": "asset_1_macrs_dep_this_year",
      "dir": "out",
      "shape": "scalar",
      "location": {
        "a1": "Assets!M5"
      },
      "schema": {
        "type": "number"
      },
      "description": "Report-year MACRS tax depreciation deduction for the primary asset in USD"
    },
    {
      "id": "asset_1_tax_basis_remaining",
      "dir": "out",
      "shape": "scalar",
      "location": {
        "a1": "Assets!N5"
      },
      "schema": {
        "type": "number"
      },
      "description": "Remaining unrecovered MACRS tax basis of the primary asset in USD"
    }
  ]
}
