Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/rules/metaschema-authoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This rule defines repository-specific conventions for authoring Metaschema modul
For YAML Metaschema modules, configure IDE validation using the generated JSON schema:

```text
databind-metaschema/target/generated-resources/schema/json/metaschema-model_schema.json
databind-modules/target/generated-resources/schema/json/metaschema-model_schema.json
```

Build with `mvn install` first to generate the schema.
Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/metaschema-java-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ metaschema-framework (parent)
├── core - Core API, Metapath engine, model interfaces
├── databind - Data binding, serialization, code generation
├── schemagen - XML/JSON schema generation
├── databind-metaschema - Metaschema binding modules
├── databind-modules - Metaschema binding modules
├── metaschema-maven-plugin - Maven plugin for code/schema generation
├── metaschema-testing - Testing utilities
├── cli-processor - CLI framework
Expand Down
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[submodule "core/qt3tests"]
path = core/qt3tests
url = https://github.com/w3c/qt3tests.git
[submodule "databind-metaschema/modules"]
path = databind-metaschema/modules
[submodule "databind-modules/modules"]
path = databind-modules/modules
url = https://github.com/metaschema-framework/metaschema-modules.git
branch = develop
2 changes: 2 additions & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ https://projects.eclipse.org/projects/eclipse.jdt
http://www.gnu.org/software/classpath/license.html
# fix later
https://github.com/metaschema-framework/liboscal-java/
# transient 404 during module rename PR - remove after merge
https://github.com/metaschema-framework/metaschema-java/tree/develop/databind-modules/.*
4 changes: 2 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ metaschema-framework (parent)
├── core (metaschema-core) - Core API, Metapath expression language
├── databind (metaschema-databind) - Data binding and code generation
├── schemagen (metaschema-schema-generator) - XML/JSON schema generation
├── databind-metaschema - Metaschema binding modules
├── databind-modules - Metaschema binding modules
├── metaschema-maven-plugin - Maven plugin for code/schema generation
├── metaschema-testing - Testing utilities
├── cli-processor - CLI framework
Expand Down Expand Up @@ -139,7 +139,7 @@ See the README.md files in each module for detailed instructions.

**YAML-first approach**: When creating new Metaschema modules, prefer YAML format over XML.
- YAML modules use `.yaml` extension and are stored in `src/main/metaschema/`
- Use the JSON schema at `databind-metaschema/target/generated-resources/schema/json/metaschema-model_schema.json` for IDE validation
- Use the JSON schema at `databind-modules/target/generated-resources/schema/json/metaschema-model_schema.json` for IDE validation
- Reference existing YAML modules (e.g., `databind/src/main/metaschema/metaschema-bindings.yaml`) for structure examples

### Key Interfaces
Expand Down
2 changes: 1 addition & 1 deletion PRDs/20251221-xmlbeans-removal/implementation-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This document details each PR for removing XMLBeans and replacing it with Metasc

**Metaschema Module JSON Schema** (for YAML module authoring):
```text
databind-metaschema/target/generated-resources/schema/json/metaschema-model_schema.json
databind-modules/target/generated-resources/schema/json/metaschema-model_schema.json
```

Use this schema for IDE validation when authoring the YAML Metaschema modules.
Expand Down
2 changes: 1 addition & 1 deletion PRDs/20251224-codegen-quality/implementation-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ This PR extends the binding configuration to support overriding default collecti
| `databind/src/main/java/gov/nist/secauto/metaschema/databind/codegen/config/DefaultBindingConfiguration.java` | Parse `<collection-class>` element |
| `databind/src/main/java/gov/nist/secauto/metaschema/databind/codegen/typeinfo/IPropertyTypeInfo.java` | Update `getCollectionImplementationClass()` to accept override |
| `databind/src/main/java/gov/nist/secauto/metaschema/databind/codegen/typeinfo/AbstractModelInstanceTypeInfo.java` | Apply collection class override from binding config |
| `databind-metaschema/src/main/metaschema/metaschema-bindings.yaml` | Add `collection-class` field definition to binding schema |
| `databind-modules/src/main/metaschema-bindings/metaschema-bindings.yaml` | Add `collection-class` field definition to binding schema |

### Implementation Approach

Expand Down
2 changes: 1 addition & 1 deletion databind-metaschema/pom.xml → databind-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</distributionManagement>

<scm>
<url>${scm.url}/tree/develop/databind-metaschema</url>
<url>${scm.url}/tree/develop/databind-modules</url>
<tag>HEAD</tag>
</scm>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../../../../databind-metaschema/target/generated-resources/schema/json/metaschema-model_schema.json
# yaml-language-server: $schema=../../../../../databind-modules/target/generated-resources/schema/json/metaschema-model_schema.json
metaschema-meta-constraints:
contexts:
- metapaths:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@
<module>schemagen</module>
<module>metaschema-maven-plugin</module>
<module>metaschema-testing</module>
<module>databind-metaschema</module>
<module>databind-modules</module>
<module>cli-processor</module>
<module>metaschema-cli</module>
<!-- <module>metaschema-freemarker-support</module> -->
Expand Down