{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/moneyhub/main/json-schema/moneyhub-standard-financial-statements-metadata-schema.json",
  "title": "StandardFinancialStatementsMetadata",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/moneyhub-standard-financial-statements-api-openapi.yml#/components/schemas/StandardFinancialStatementsMetadata",
  "additionalProperties": false,
  "type": "object",
  "properties": {
    "createdAt": {
      "description": "The timestamp at which the standard financial statement was generated",
      "type": "string"
    },
    "requestedAt": {
      "description": "The timestamp at which the standard financial statement was requested",
      "type": [
        "string",
        "null"
      ]
    },
    "id": {
      "description": "The standard financial statement ID",
      "type": "string"
    },
    "status": {
      "description": "Whether the standard financial statement is 'complete', 'pending' or 'failed'.",
      "type": "string",
      "enum": [
        "pending",
        "complete",
        "failed"
      ]
    },
    "statusDetails": {
      "description": "Additional information about the status of the standard financial statement (if applicable)",
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "message": {
          "description": "A message describing the status of the standard financial statement, e.g. an error if the standard financial statement status is 'failed'",
          "type": "string"
        }
      }
    }
  },
  "required": [
    "id"
  ]
}