# Ownership and License Records

The user has stated that the farm/system owner has real licenses. The application therefore supports recording those real documents, but this repository does not invent or pre-populate license numbers, issuing authorities, dates or verification decisions.

## Ownership model

`project_ownership_records` links a project to either:

- an application user acting as owner; or
- a legal entity representing the farm/company.

An ownership record can remain private until supporting evidence is reviewed and the administrator explicitly allows public display.

## License model

`license_records` stores the license category and review metadata. Sensitive document numbers can be stored encrypted/ciphertext rather than rendered publicly.

A public license badge requires all of the following:

1. an actual record exists;
2. evidence is attached where required;
3. a reviewer records approval;
4. `public_visible=true`;
5. the public label is appropriate to the evidence.

The software must not translate the mere presence of an uploaded file into a claim such as government-approved or licensed.

## Expiry reminders

The cPanel scheduler is intended to scan `license_records.expiry_date` and create reminders before expiry. That job remains pending until the PostgreSQL repository and notifications module are connected.
