{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/doola/json-schema/doola-partner-annual-report-filing-response-schema.json",
  "title": "PartnerAnnualReportFilingResponse",
  "description": "An annual report on record.",
  "x-generated": "2026-11-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/doola-openapi.json#/components/schemas/PartnerAnnualReportFilingResponse",
  "type": "object",
  "properties": {
    "annualReportId": {
      "type": "string",
      "description": "Annual report ID (KSUID). Keep it: confirm and the status reads address the report by it."
    },
    "doolaCompanyId": {
      "type": "string",
      "description": "doola company ID (KSUID)."
    },
    "fiscalYear": {
      "type": "integer",
      "format": "int32",
      "description": "Fiscal year the report covers."
    },
    "state": {
      "type": "string",
      "description": "US state the report is filed in."
    },
    "entityType": {
      "type": "string",
      "description": "Entity type the report was filed for.",
      "enum": [
        "LLC",
        "CCorp"
      ]
    },
    "status": {
      "type": "string",
      "description": "Where the report stands.",
      "enum": [
        "FILLED",
        "IN_PROGRESS",
        "AWAITING_INFORMATION",
        "FILING_COMPLETED"
      ]
    },
    "priceInCents": {
      "type": "integer",
      "format": "int64",
      "description": "The state fee for this report in whole US cents, fixed when it was recorded. Nothing is charged through this API. 0 where the state charges nothing."
    },
    "submittedAt": {
      "type": [
        "string",
        "null"
      ],
      "description": "Date the report was handed to doola's filing pipeline (yyyy-MM-dd). Null on a report that has only just been recorded; read status for where the report stands."
    },
    "createdAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the report was first recorded. Null if the row carries no timestamp."
    },
    "updatedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the report last changed. Null if the row carries no timestamp."
    },
    "answers": {
      "type": "array",
      "description": "The answers on record, addressed by the field ids the requirements published. Empty for a state that asks no questions, which is most of them.",
      "items": {
        "$ref": "#/$defs/PartnerRecordedAnswerDto"
      }
    },
    "isReplaced": {
      "type": "boolean",
      "description": "True when a report was already on file for this year and this one took its place, which is allowed only while the report is still FILLED."
    }
  },
  "$defs": {
    "PartnerRecordedAnswerDto": {
      "type": "object",
      "description": "One answer on record for an annual report.",
      "properties": {
        "fieldId": {
          "type": "string",
          "description": "Field id, as published by the requirements endpoint's fields[].fieldId. An answer stays on record under it after doola stops asking that question, so it may name a field the requirements no longer publish."
        },
        "value": {
          "type": [
            "string",
            "null"
          ],
          "description": "What was answered, as given."
        }
      }
    }
  }
}