Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 18 additions & 32 deletions schemas/products/device.schema.tpl.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,56 +3,42 @@
"setupComponent"
],
"required": [
"deviceType",
"name"
"contribution",
"name",
"type"
],
"properties": {
"description": {
"type": "string",
"_instruction": "Enter a short text describing this device."
},
"deviceType": {
"_instruction": "Add the type of this device.",
"_linkedTypes": [
"controlledTerms:DeviceType"
]
},
"digitalIdentifier": {
"_instruction": "Add the globally unique and persistent digital identifier of this device.",
"_linkedTypes": [
"core:DOI",
"core:RRID"
]
"_instruction": "Enter a short description of the device. Describe the device itself for a custom-built device or note device-specific peculiarities or deviations from the standard product for a manufacturer-defined device."
},
"lookupLabel": {
"type": "string",
"_instruction": "Enter a lookup label for this device that may help you to find this instance more easily."
},
"manufacturer": {
"contribution": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"_instruction": "Add the manufacturer (private or industrial) that constructed this device.",
"_instruction": "Add all relevant contributions (e.g., ownership, maintenance) for this device.",
"_linkedCategories": [
"legalPerson"
]
},
"name": {
"internalIdentifier": {
"type": "string",
"_instruction": "Enter a descriptive name for this device, preferably including the model name as defined by the manufacturer."
"_instruction": "Enter the identifier (or label) of this device that is used by the owner to identify or reference this device."
},
"owner": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"_instruction": "Add all parties that legally own this device.",
"_linkedCategories": [
"legalPerson"
]
"name": {
"type": "string",
"_instruction": "Enter a descriptive name for this device, preferably defined by the owner."
},
"serialNumber": {
"type": "string",
"_instruction": "Enter the serial number of this device."
},
"type": {
"_instruction": "Add the device classification reference. Identify a device type for a custom-built device, or a hardware product for a device corresponding to a manufacturer-defined product model.",
"_linkedTypes": [
"controlledTerms:DeviceType",
"core:HardwareProduct"
]
}
}
}
83 changes: 83 additions & 0 deletions schemas/products/hardwareProduct.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"_type": "core:HardwareProduct",
"required": [
"contribution",
"name",
"scope",
"type"
],
"properties": {
"contribution": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"_instruction": "Add all relevant contributions (e.g., manufacturing, testing) for this hardware product.",
"_linkedCategories": [
"legalPerson"
]
},
"copyright": {
"_instruction": "Enter the copyright information of this hardware product.",
"_embeddedTypes": [
"core:Copyright"
]
},
"description": {
"type": "string",
"_instruction": "Enter a short text describing this hardware product."
},
"digitalIdentifier": {
"type": "string",
"_instruction": "Add the digital identifier for this hardware product.",
"_linkedTypes": [
"core:DOI",
"core:GenericIdentifier",
"core:RRID"
]
},
"keyword": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"_instruction": "Add all relevant keywords to this hardware product, either by adding controlled terms or by suggesting new terms.",
"_linkedCategories": [
"keyword"
]
},
"name": {
"type": "string",
"_instruction": "Enter the model name for this hardware product defined by the manufacturer. In case of versioned models, the version identifier should be included in the name."
},
"scope": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"_instruction": "Add terms that describe what this hardware product does.",
"_linkedCategories": [
"toolScope"
]
},
"specification": {
"_instruction": "Add the specification(s) of this hardware product as property value list.",
"_linkedTypes": [
"core:PropertyValueList"
]
},
"type": {
"_instruction": "Add the type of this hardware product.",
"_linkedTypes": [
"controlledTerms:DeviceType"
]
},
"usageCondition": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"_instruction": "Add all licenses and available usage agreements applicable to this hardware product.",
"_linkedTypes": [
"core:License",
"core:UsageAgreement"
]
}
}
}
Loading