{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bancomat/main/json-schema/bancomat-construction-progress-schema.json",
  "title": "ConstructionProgress",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bancomat-construction-api-openapi.yml#/components/schemas/ConstructionProgress",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier of the construction progress",
      "x-faker": "datatype.uuid"
    },
    "site": {
      "type": "string",
      "format": "uuid",
      "description": "Identifier of the construction site",
      "x-faker": "datatype.uuid"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time of the construction progress creation",
      "x-faker": "date.past"
    },
    "amount": {
      "type": "number",
      "format": "float",
      "description": "Total amount of the construction progress",
      "x-faker": "finance.amount"
    },
    "invoices": {
      "type": "object",
      "description": "Array of invoices related to each supplier for the worker. Keys are the creditor identifiers.",
      "additionalProperties": {
        "$ref": "#/$defs/Fingerprint"
      }
    }
  },
  "$defs": {
    "Fingerprint": {
      "type": "string",
      "description": "Fingerprint of the document"
    }
  }
}