-
Notifications
You must be signed in to change notification settings - Fork 0
PRD Implementation #4
Copy link
Copy link
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for Feature.
Problem
Need to implement the DPP in line with
PRD_DPP.mdand the following two condition:Action-plan of Implementation
Goal
Make schemas discoverable by sector and DPP type, provide a developer‑friendly DPP creation pipeline, and complete domain mapping heuristics.
1. Schema metadata and sector listing
config/schemas.ymlwith, per schema: #5SchemaRegistryto loadconfig/schemas.ymlcatalog #6SchemaRegistry: #72. Developer‑friendly DPP creation pipeline
adapters.py(or similar) with input adapters: #8SchemaMappersubclasses: #9register_default_mappers(): #10api.py: #11create_dppfrom__init__.pyfor easy developer access.3. Mapping Solution for Ontology
4. Turn PRD “starter kits” into code
config/starter_kits.yml:name,sector,input_schema,output_schema, and mapping/config files to use (aligned with PRD starter kits).api.pywith helper functions:list_starter_kits() -> List[Dict[str, Any]]run_starter_kit(kit_name: str, files: List[Path]) -> dictrun_starter_kitshould:create_dppwith appropriate schemas, adapters, and config.dpp list-schemas --sector batterydpp list-starter-kitsdpp run-starter-kit battery_isa95 --input ./data.5. Minimal sequencing / milestones
ECLASSMapperand register it.create_dppforinput_schema="ECLASS"andoutput_schema="ECLASS"or “Generic DPP (ECLASS JSON‑LD)”.schemas.yml) andlist_schemas_by_sectorfor the manager persona.run_starter_kit.ISA95Mapper.This gives a vertical slice where managers can discover schemas by sector and developers can generate a DPP for an ECLASS‑based product line with minimal glue. Which of these sections (1–5) do you want to turn into an actual PR first?