{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AccountingProfitloss",
  "title": "AccountingProfitloss",
  "properties": {
    "category_ids": {
      "$ref": "#/components/schemas/property_AccountingProfitloss_category_ids"
    },
    "cost_of_goods_sold": {
      "$ref": "#/components/schemas/property_AccountingProfitloss_cost_of_goods_sold"
    },
    "cost_of_goods_sold_sections": {
      "$ref": "#/components/schemas/property_AccountingProfitloss_cost_of_goods_sold_sections"
    },
    "cost_of_goods_sold_total_amount": {
      "type": "number"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "currency": {
      "type": "string"
    },
    "end_at": {
      "format": "date-time",
      "type": "string"
    },
    "expenses": {
      "$ref": "#/components/schemas/property_AccountingProfitloss_expenses"
    },
    "expenses_sections": {
      "$ref": "#/components/schemas/property_AccountingProfitloss_expenses_sections"
    },
    "expenses_total_amount": {
      "type": "number"
    },
    "gross_profit_amount": {
      "type": "number"
    },
    "id": {
      "type": "string"
    },
    "income": {
      "$ref": "#/components/schemas/property_AccountingProfitloss_income"
    },
    "income_sections": {
      "$ref": "#/components/schemas/property_AccountingProfitloss_income_sections"
    },
    "income_total_amount": {
      "type": "number"
    },
    "name": {
      "type": "string"
    },
    "net_income_amount": {
      "type": "number"
    },
    "net_profit_amount": {
      "type": "number"
    },
    "raw": {
      "additionalProperties": true,
      "type": "object"
    },
    "start_at": {
      "format": "date-time",
      "type": "string"
    },
    "updated_at": {
      "format": "date-time",
      "type": "string"
    }
  },
  "type": "object"
}