Open Know-How
Open Source Hardware project metadata
| Type | object |
|---|---|
| File match |
okh.json
okh.toml
okh.yaml
okh.yml
*.okh.json
*.okh.toml
*.okh.yaml
*.okh.yml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/open-know-how/latest.json |
| Source | https://www.schemastore.org/okh.json |
Validate with Lintel
npx @lintel/lintel check
This is a JSON-Schema which can validate an 'okh.toml' file, which holds an Open Source Hardware (OSH) projects Open Know-How (OKH) meta-data.
Properties
functional description, e.g. what it actually does, what problem it solves, for whom, under which conditions etc.
So if you wish that someone finds & uses your OSH specifically e.g. for COVID-19-crisis response, include relevant keywords in this field
A valid SPDX license expression
organization/individual behind the hardware design (holder of intellectual property)
working title of the OSH Module or Part
version of OKH specification the OSH projects metadata follows (different version → different data fields in this file). In the past this was 'OKH-LOSHv1.0' for a long time; now it should be a minor version release of the OKH spec, e.g. '2.4'.
Link to OKH JSON-Schema
relative or absolute path to files that are neither source files nor their exports, but still useful in the repository (e.g. KiCAD library files);
multiple inputs possible (with one entry each)
URL or repo-relative path to the bill of materials
IETF BCP 47 language tag(s)
ODRL-ID representing the development stage of the documentation; get it from: https://w3id.org/oseg/ont/otrl
relative or absolute path to export file (e.g. STEP export of 3D model or PDF export of drawing);
multiple inputs possible (with one entry each)
Outer dimensions of the OSH module or part in mm (millimeters), which completely encompass the product.
3 nested properties
physical component(s) of this open source hardware module, for which technical documentation (design files etc.) is available under a free/open license
2 nested properties
associated software package(s) used to operate this piece of open source hardware
relative or absolute path to source file (e.g. native CAD file);
multiple inputs possible (with one entry each)
OTRL-ID representing the development stage of the OSH module; get it from: https://w3id.org/oseg/ont/otrl
identifier of the applying Technology-specific Documentation Criteria (TsDC) according to DIN SPEC 3105-1 - get it from: https://w3id.org/oseg/ont/tsdc/core - multiple inputs possible (with one entry each)
version of this Module, preferably following the semantic versioning-scheme v2.0.0
All of
Definitions
A person or organization
"A01B33/00""A41G""A01""A""B23K""B25J9/026""B62K""B63C""D03D 35/00""D03D 5/00""D06B""F16M 11/2078""F16M11/2078""G01N""G05B""G06C 7/02""H01H""H01Q""H02J""H02J 1/00""H04""H04W""H05K""Y02P""H02J 1/00""H02J 1/12""H02J 1/123""H02J 1/1234""H02J 1/12345""H02J 1/123456"[ "D03D 35/00", "D03D 5/00" ]
"2000-04-06""0001-0-0""1984-10-1"
"https://doi.org/10.1080/10509585.2015.1092083""10.1080/10509585.2015.1092083""doi: 10.1080/10509585.2015.1092083""DOI: 10.1080/10509585.2015.1092083"
a text and the language it is written in
the text content
Language as a BCP 47 language tag
a single image reference (project relative path or absolute URL), optionally with additional meta-data
{ "location": "res/media/img/logo.svg", "depicts": "This OSH projects logo" }{ "location": "res/media/img/liquid-flow.svg", "depicts": "A diagram depicting the flow of the different liquids through the machine in an abstract manner" }{ "location": "res/assets/media/img/photo-white-bg.png", "depicts": "A photo of the finished hardware, taken with a white background." }{ "location": "https://image-hoster-xzy.net/accounts/our-user/our-project/our-image.png", "depicts": "Community supplied photo of the underbelly of our machine" }{ "location": "res/assets/media/img/photo-white-bg.png", "depicts": { "text": "A photo of the finished hardware, taken with a white background.", "language": "en" } }{ "location": "res/assets/media/img/photo-white-bg.png", "depicts": [ { "text": "A photo of the finished hardware, taken with a white background.", "language": "en" }, { "text": "Ein Foto der fertigen Maschiene, aufgenommen vor einem weissen Hintergrund.", "language": "de" } ] }
Human oriented description of what is visible in the image. This matters for example:
- for visually impaired or blind people
- in case the image is for some reason not available
- to put as a caption next to the image
Denotes the slot the image fills within the subject it belongs to. You may also think of it as the 'role' the image plays for its parent. The available slots are predefined, see the OKH image slots; there you will also read about the ability to define custom ones, though you might also consider proposing a new common tag in an issue. An image can fill multiple slots, but each slot can be filled at most once. This is useful for things like the projects icon, or the left-side view of the 3D model.
Links to a tag fit to describe the image. The available tags are predefined, see the OKH image tags; there you will also read about the ability to define custom ones, though you might also consider proposing a new common tag in an issue. An image can have multiple tags and each tag can be used by multiple images even within a single project.
Language as a BCP 47 language tag
"en""de""es""zh"
IETF BCP 47 language tag(s)
Mass of the part in g (grams).
working title of the OSH Module or Part
"Free Software Foundation""Open Source Initiative""Open Source Hardware Association""Open Source Ecology""Open Source Ecology Germany"[ "Free Software Foundation", "Open Source Initiative" ]{ "name": "Free Software Foundation", "url": "https://www.fsf.org" }[ { "name": "Free Software Foundation", "url": "https://www.fsf.org" }, { "name": "Open Source Ecology Germany", "url": "https://ose-germany.de" } ]
Outer dimensions of the OSH module or part in mm (millimeters), which completely encompass the product.
a physical component of an open source hardware module, for which technical documentation (design files etc.) is available under a free/open license
working title of the OSH Module or Part
relative or absolute path to files that are neither source files nor their exports, but still useful in the repository (e.g. KiCAD library files);
multiple inputs possible (with one entry each)
relative or absolute path to export file (e.g. STEP export of 3D model or PDF export of drawing);
multiple inputs possible (with one entry each)
Outer dimensions of the OSH module or part in mm (millimeters), which completely encompass the product.
3 nested properties
relative or absolute path to source file (e.g. native CAD file);
multiple inputs possible (with one entry each)
identifier of the applying Technology-specific Documentation Criteria (TsDC) according to DIN SPEC 3105-1 - get it from: https://w3id.org/oseg/ont/tsdc/core - multiple inputs possible (with one entry each)
A valid SPDX license expression