Document profile: OKF v0.2 with provenance and rights status #52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Define the document profile the Studio reads and writes, on OKF v0.2, before curation (#38 step 4a) writes to tenant repositories and ingestion (4b) produces documents. Every document records who produced it, who confirmed it, and under which rights it is held.
Design
typerequired; no empty fields (omit the key); unknown keys preserved; rootcontent/index.mddeclaresokf_version: "0.2".type,title,category(theme folder),soa,generated,rights.generated: { by, at }replacestimestamp;verified: [{ by, at }]. Actors:human:<account>for a curator,process:<id>for ingestion,<producer>/<version>for a model. Ingestion writesprocess:only; a curator's save writeshuman:<account>and is the author of the commit. Trust tier derived, never stored.revisionis dropped: the commit is the revision.rights, closed vocabulary:open(licence + URL required),licensed(contract or subscription),own(produced by the tenant),quote-only(record and short quotations only),unknown,excluded. Set at ingestion (unknownby default), changed by a curator.rightsunknown/excluded: not indexed, never quoted in answers. Full text in the repository only foropenandown; otherwise record and original summary only, the source stays in private storage.sources: [{ id, resource, title, author, publisher, year, isbn/doi, licence }];resourcepoints to the original in tenant storage.thematicsindex.mdper theme regenerated in the same commit as any document change.Steps
Blocks #38 step 4a.