
Metadata Schema
Working with tika-metadata-schema, the build-gated registry of Tika metadata keys, ...
Install
npx skills add apache/tika --skill metadata-schema -g -a claude-code -y- Repository
- apache/tika4.1k
- Category
- Testing
- Updated
- 3d ago
- License
- Apache-2.0
- Context cost
- Mediumabout 1,504 tokens
- Runs scripts
- No, instructions only
What it does
Working with tika-metadata-schema, the build-gated registry of Tika metadata keys, regeneration after Property changes, gate tests, naming conventions, post-rename sweeps. Use when adding or renaming metadata keys or when the schema gate fails.
Local override: $TIKA_SKILLS_LOCAL/metadata-schema/LOCAL.md (default ~/.tika-skills),
read after this file, wins on conflict.
Metadata Key Registry & Schema Skill
Working with tika-metadata-schema, the committed, build-gated registry of Tika's metadata keys.
File structure and the CLOSED/OPEN/TEMPLATE/UNKNOWN classification are in that module's README.md;
this covers conventions, regeneration, and the traps.
The three registries
Under tika-metadata-schema/src/main/resources/org/apache/tika/metadata/:
metadata-keys.json, closed set: everyPropertyconstant + the synthesizedtk:digest:*cross-product.metadata-open-namespaces.json,KeyPrefixprefixes for runtime-minted names (html:,message:raw-header:,mdb-prop:).metadata-key-fields.json, TIKA-4797{class, field, key}table for field-identity migration.
Committed on purpose: they are the reviewable audit trail of the key space (a rename or a dropped key shows up as a diff). Don't switch to build-time-only generation, that loses the review signal.
Regenerate (after adding/changing a Property or KeyPrefix)
tika-metadata-schema/regen.sh


