Skip to content

usgin/ddeBuildingBlocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DDE Building Blocks

Modular metadata schema components for Deep-time Digital Earth (DDE), built using the OGC Building Blocks pattern.

Structure

DDEproperties (5 schema components)

Property building blocks that define DDE-specific metadata elements:

  • ddeCore — DDE mandatory fields: resource type (ResourceTypeCode), topic/acquisition keywords, browse graphics, conformance declaration. Composes cdifCore + ddeResourceType.
  • ddeResourceType — Constrains schema:additionalType to require a DefinedTerm from the DDE ResourceTypeCode codelist.
  • ddeCatalogRecord — DDE catalog record conformance declaration (extends cdifCatalogRecord to require ddeCore BB URI).
  • ddeGeographicDataset — Geographic extent, CRS, and resolution for geographic resources.
  • ddeImagery — Imagery acquisition metadata: sensor, platform, wavelength, signal generator, processing level.

DDEProfiles (11 resource type profiles)

Metadata profiles that compose property building blocks for specific resource types:

  • DDEDiscovery — base DDE discovery profile (ddeCore)
  • DDEDataset — datasets; conditional ddeGeographicDataset for geographicDataset type
  • DDEImage — imagery; includes ddeImagery; conditional ddeGeographicDataset for map type
  • DDEWebAPI — service resources; composes CDIF webAPI BB with DDE ServiceTypeCode constraints
  • DDECollection — collections; hasPart items require DDE resource type classification
  • DDEDocument, DDEEvent, DDESoftware, DDEFunctionalResource, DDEAudioVisualProduct, DDESemanticResource — resource-type-specific additionalType constraints

archive/deprecated

Superseded building blocks retained for reference:

  • DDEService — replaced by DDEWebAPI
  • ddeServiceInfo — service properties now inherited from CDIF webAPI building block

Tools

  • tools/resolve_schema.py — Resolve all $ref into single resolvedSchema.json files
  • tools/regenerate_schema_json.py — Generate *Schema.json from schema.yaml sources (YAML→JSON + ref rewrite)

Both tools are synced from the canonical copies in metadataBuildingBlocks/tools/. Do not edit locally — update the canonical copy and run python tools/sync_resolve_schema.py --apply from the metadataBuildingBlocks repo.

Cross-repo imports

This repository imports shared schema.org and CDIF property building blocks from metadataBuildingBlocks via the OGC Building Blocks import mechanism.

Viewer

Browse the building blocks at: https://usgin.github.io/ddeBuildingBlocks/

License

Apache 2.0

About

Building blocks for Deep-time Digital Earth (DDE) metadata profiles, using the OGC Building Blocks pattern.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors