Skip to main content
Version: 2.0.0

Introduction

CIVITAS/CORE Model Forge is the embedded design-time runtime for data modelling, versioning and integration configuration in the CIVITAS/CORE urban data platform.

It is consumed as Java/Spring Boot modules by a host application. The host integrating it is portal-backend from civitas-core-platform. Model Forge is not a standalone service.

What Model Forge Does​

CapabilityDescription
Schema registryImport, version and search JSON Schema / XSD Elements
Dependency graph$ref relationships as a queryable graph: dependencies, dependents, impact analysis
ViewsGenerated projections: inlined and bundled ($defs)
ValidationJSON Schema 2020-12 validation plus registry-aware existence checks for x-core-ref foreign keys
CompositionDataSetDatasetA data-related element that contains processed data and makes it available for consumption. A Dataset is populated via Pipelines and carries Metadata and access permissions. manifests referencing artifacts by URN
DataStructuresNamed, versioned groupings of Elements
Standards importXÖV standards from XRepository (XSD → JSON Schema) and FIWARE Smart Data Models from GitHub
CORE-IRCORE Intermediate RepresentationThe JSON-based exchange format between Model Management, UI, registry, Configuration Adapters and downstream generators. exportDataSetDatasetA data-related element that contains processed data and makes it available for consumption. A Dataset is populated via Pipelines and carries Metadata and access permissions. manifests and their referenced artifacts for downstream pipeline engines

Technology​

ConcernTechnology
RuntimeJava 25, Spring Boot 4 compatible starter
Integration boundaryEmbedded Java facade
Schema formatJSON Schema 2020-12
RegistryPostgreSQL artifact registry, migrated with Flyway in a dedicated schema
Validationnetworknt json-schema-validator
TypeScript artifactsZod / TypeScript types generated from the CORE-IRCORE Intermediate RepresentationThe JSON-based exchange format between Model Management, UI, registry, Configuration Adapters and downstream generators. JSON Schemas