Customize for your company¶
The baseline catalog covers the data most organizations hold. Every company also has data that matters more to it than to others, under names only it uses. A listed company treats revenue as inside information before results day; a law firm's matter numbers look like nothing to a generic filter; a codename means nothing outside the building. OPP gives you five ways to say so in your privacy model.
| You want to | Use | Example |
|---|---|---|
| Make a catalog class stricter, or give it your own field names and phrases | classifications |
Revenue is restricted, and lives in net_sales |
| Define a confidential topic the catalog does not have | concepts |
Pricing exceptions agreed with key accounts |
| Teach tools your identifier formats | identifiers |
Matter numbers like M-2026-0042 |
| Mark a word as confidential in itself | terms |
Project Juniper |
| Say what one field holds, or set its level | sources → fields |
crm.accounts.arr is revenue, restricted |
Nothing here can lower the protection the catalog gives a class. To share something more freely with one destination, add a rule override with a reason.
1. Reclassify a catalog class: revenue as restricted¶
By default confidential.revenue is confidential: shared inside the company, handled (blocked) for external AI.
If revenue is inside information for you, raise it company-wide and tell tools what your people call it:
classifications:
- class: confidential.revenue
sensitivity: restricted # was: confidential
handling: block
name_hints: [net_sales, gross_bookings, monthly_bookings] # your column names
cues: [bookings number, quarterly sales] # your phrases
reason: Revenue is inside information until results are published.
status: certified
What changes:
- Every field, concept and finding of class
confidential.revenueis now restricted. With the default rules, restricted content is blocked for partners, external AI and the public, and handled (here: blocked) internally. - OPP Engine tags columns named
net_salesorgross_bookingsas revenue when it generates or refreshes the model. - A prompt that says "the bookings number for Q3" is caught at check time.
The same works for any class: personal.gender as restricted in an HR context, confidential.source_code with
your repository names, personal.travel for an executive-protection team.
2. Add a concept the catalog does not have¶
A concept is a confidential topic in your own words. It extends the closest catalog class and can only be stricter.
concepts:
- id: org.pricing_exceptions
label: Pricing exceptions
description: Discounts and custom prices agreed with individual enterprise clients outside the price list.
extends: confidential.pricing
sensitivity: restricted
name_hints: [special_discount_pct, custom_price] # fields that hold it
cues: [special discount, custom price] # phrases that reveal it
status: certified
With OPP Model installed, the engine also matches the concept by meaning, using its description.
3. Identifiers and terms¶
identifiers:
- {id: matter, label: Matter number, class: personal.record_identifier, pattern: "M-[0-9]{4}-[0-9]{4}", status: certified}
terms:
- {term: Project Juniper, class: confidential.deals, status: certified}
4. A single field¶
sources:
- id: crm
type: database
locator: postgresql://db.internal/crm
datasets:
- name: accounts
type: table
fields:
- name: arr
classes: [{class: confidential.revenue, status: certified}]
sensitivity: restricted
Workflow¶
- Run
opp-engine generateon your sources to get a draft. - Add
classifications,concepts,identifiersandtermsfor what only your company knows. - Run
opp-engine generate ... --merge acme.opp.yamlagain: your additions are kept and used to classify new fields, and certified entries are never overwritten. - Validate with
opp validate acme.opp.yamland commit the file.
Full definitions: specification, sections 4.5 to 4.10.