Skip to content

[DOCS] Align READMEs with core/system split#489

Merged
Victor Schappert (vcschapp) merged 1 commit intodevfrom
refactor-system-core-docs
Apr 8, 2026
Merged

[DOCS] Align READMEs with core/system split#489
Victor Schappert (vcschapp) merged 1 commit intodevfrom
refactor-system-core-docs

Conversation

@sethfitz
Copy link
Copy Markdown
Collaborator

Closes #488

The core and system packages were split but documentation still described them as one thing. Core's README documented system's primitives; system's README was a placeholder.

Package READMEs

core now documents what it actually contains: OvertureFeature, scoping framework (@scoped decorator with scope table), names (Named mixin), sources (with geometric range scoping example), cartographic hints, domain types, units, and discovery.

system now documents: Feature (GeoJSON base class), primitive numeric/geometry types (with the portability rationale -- why uint8 over int when targeting Parquet, Arrow, Spark StructTypes), validated string types, field constraints, model constraints, references, and supplementary modules. Constraint sections explain JSON Schema keyword generation and introspectability for code generation.

Collateral fixes

README.pydantic.md -- package one-liners updated to match.

PYDANTIC_GUIDE.md:

  • LanguageTag import: core.types -> system.string
  • primitives (plural) -> primitive
  • Relationship link: core/ref.py -> system/ref/ref.py
  • model_constraints -> system.model_constraint
  • Cross-theme examples: LanguageTag/CountryCode -> Names/Sources/Scope
  • TODO: DocumentedEnum replaced with working examples
  • MD036 lint fixes (bold-as-heading -> h5)

System README: document Feature, primitive types, string types,
field constraints, model constraints, references, and the Also
Included section (Optionality, DocumentedEnum, Metadata, JSON Schema).

Core README: document OvertureFeature, scoping (with scope table),
names, sources, cartography, and supplementary modules (types,
units, discovery).

Pydantic guide: correct import paths and package descriptions for
the core/system split. Fill in DocumentedEnum section that was
stubbed as TODO.

Signed-off-by: Seth Fitzsimmons <sethfitz@amazon.com>
@github-actions
Copy link
Copy Markdown

🗺️ Schema reference docs preview is live!

🌍 Preview https://staging.overturemaps.org/schema/pr/489/schema/index.html
🕐 Updated Mar 31, 2026 23:59 UTC
📝 Commit 7052b86
🔧 env SCHEMA_PREVIEW true

Note

♻️ This preview updates automatically with each push to this PR.

@vcschapp Victor Schappert (vcschapp) merged commit fe0e69e into dev Apr 8, 2026
6 of 7 checks passed
@vcschapp Victor Schappert (vcschapp) deleted the refactor-system-core-docs branch April 8, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Package READMEs don't reflect core/system split

3 participants