{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/edinetdb-jp/json-schema/edinetdb-jp-audit-fee-schema.json",
  "title": "AuditFee",
  "description": "/companies/{code}/audit-fees が返す監査報酬（2026-07-24 追加）。\n1件 = 1事業年度 × docID（通常1社1年度、一意キーは (edinetCode, docID)）。\n監査証明業務/非監査業務 × 提出会社/連結子会社/計 の3軸で、当期・前期の報酬額を返す。\n金額系フィールドは native（開示単位のまま）と yen（円換算、unitRaw 検出成功時のみ非null、\n現在は current_fee_* 系のみ yen 版を持つ）の2系統。誤った値より NULL を優先。\n",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/edinetdb-jp-openapi.json#/components/schemas/AuditFee",
  "properties": {
    "auditorName": {
      "description": "監査証明を行う監査法人・会計事務所名（原文表記）",
      "type": [
        "string",
        "null"
      ]
    },
    "currentFeeAuditFiler": {
      "description": "当期・監査証明業務に基づく報酬・提出会社（unitRaw単位のまま）",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "currentFeeAuditFilerYen": {
      "description": "currentFeeAuditFiler の円換算。unitRaw検出成功時のみ非null",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "currentFeeAuditSubsidiaries": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "currentFeeAuditSubsidiariesYen": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "currentFeeAuditTotal": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "currentFeeAuditTotalYen": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "currentFeeNonauditFiler": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "currentFeeNonauditFilerYen": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "currentFeeNonauditSubsidiaries": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "currentFeeNonauditSubsidiariesYen": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "currentFeeNonauditTotal": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "currentFeeNonauditTotalYen": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "docID": {
      "type": "string"
    },
    "edinetCode": {
      "type": "string"
    },
    "extractedAt": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "extractionStatus": {
      "description": "行単位の抽出品質。ok=主要フィールド抽出成功、partial=一部フィールドのみ（failed=ほぼ全滅の行はテーブルに投入されない）",
      "enum": [
        "ok",
        "partial"
      ],
      "type": "string"
    },
    "extractionWarnings": {
      "description": "行単位の解決方法・警告（例 'own_identity_mismatch_filer_plus_subsidiary_ne_total' — 恒等式不成立で一部フィールドを独立解決した場合）",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "fiscalYear": {
      "description": "有報の対象事業年度。null は全体の約6.1%（periodStart 逆算不能ケース）",
      "type": [
        "integer",
        "null"
      ]
    },
    "networkCurrentFeeAuditFiler": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "networkCurrentFeeAuditSubsidiaries": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "networkCurrentFeeAuditTotal": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "networkCurrentFeeNonauditFiler": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "networkCurrentFeeNonauditSubsidiaries": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "networkCurrentFeeNonauditTotal": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "networkFirmName": {
      "description": "同一ネットワークに属する監査人の報酬表がある場合のネットワーク名（例 'Ernst&amp;Young'）。該当なしの場合 null。原文コピーのためHTMLエンティティが未デコードのまま残ることがある",
      "type": [
        "string",
        "null"
      ]
    },
    "networkPriorFeeAuditFiler": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "networkPriorFeeAuditSubsidiaries": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "networkPriorFeeAuditTotal": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "networkPriorFeeNonauditFiler": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "networkPriorFeeNonauditSubsidiaries": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "networkPriorFeeNonauditTotal": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "periodBasis": {
      "description": "consolidated=連結会計年度表記、standalone=事業年度表記（連結非作成会社）",
      "enum": [
        "consolidated",
        "standalone"
      ],
      "type": [
        "string",
        "null"
      ]
    },
    "priorFeeAuditFiler": {
      "description": "前期・監査証明業務に基づく報酬・提出会社（unitRaw単位のまま。前期分に円換算[_yen]版は無い）",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "priorFeeAuditSubsidiaries": {
      "description": "前期・監査証明業務に基づく報酬・連結子会社合計",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "priorFeeAuditTotal": {
      "description": "前期・監査証明業務に基づく報酬・計（＝提出会社＋連結子会社。恒等式が成立しない場合は独立して一意な値のみ保持）",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "priorFeeNonauditFiler": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "priorFeeNonauditSubsidiaries": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "priorFeeNonauditTotal": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "source": {
      "description": "抽出方式識別子（例 'jpcrp_cor:AuditsTextBlock'）",
      "type": "string"
    },
    "unitRaw": {
      "description": "開示された金額単位。検出できない場合 null（この場合 current_fee_*_yen 系は全て null）",
      "enum": [
        "円",
        "千円",
        "百万円"
      ],
      "type": [
        "string",
        "null"
      ]
    }
  },
  "type": "object"
}