@@ -24,6 +24,19 @@ cargo install germanic
2424
2525Verify: ` germanic --version ` should print ` 0.2.0 ` .
2626
27+ ## Workspace
28+
29+ GERMANIC operates relative to the current working directory.
30+ All paths in this document are relative to the workspace root.
31+
32+ ``` bash
33+ # Find available schemas
34+ find . -name " *.schema.json" -type f
35+
36+ # Find example data
37+ find . -name " *.json" -path " */examples/*" -type f
38+ ```
39+
2740## When to Use
2841
2942Use GERMANIC when you need to:
@@ -42,7 +55,7 @@ Do NOT use GERMANIC for:
4255"I have JSON data" →
4356 Known built-in schema? → germanic compile --schema practice --input data.json
4457 Not built-in? → Check workspace schemas first:
45- find /workspace -name "*.schema.json" 2>/dev/null | grep -i <domain>
58+ find . -name "*.schema.json" 2>/dev/null | grep -i <domain>
4659 Found? → germanic compile --schema <path-to-schema> --input data.json
4760 No schema exists? → germanic init --from data.json --schema-id <id>
4861 → edit .schema.json (mark required fields) → germanic compile
@@ -111,13 +124,13 @@ If the schema says `telefon` is required, it's required for a reason.
111124If a file path fails, search before giving up:
112125
113126``` bash
114- find /workspace -name ' <filename>' 2> /dev/null
127+ find . -name ' <filename>' 2> /dev/null
115128```
116129
117130Common locations:
118- - Schemas: ` /workspace/ data/schemas/de/` and ` /workspace/ data/schemas/en/`
119- - Examples: ` /workspace/ data/examples/de/` and ` /workspace/ data/examples/en/`
120- - Compiled: ` /workspace/ ` ( same directory as input, with .grm extension)
131+ - Schemas: ` data/schemas/de/ ` and ` data/schemas/en/ `
132+ - Examples: ` data/examples/de/ ` and ` data/examples/en/ `
133+ - Compiled: same directory as input, with ` .grm ` extension
121134
122135## Schema Fields Are German
123136
0 commit comments