Skip to content

Commit

Permalink
Merge pull request #119 from asam-ev/95-source-field
Browse files Browse the repository at this point in the history
#95 add source field to all remaining properties
  • Loading branch information
ClemensLinnhoff authored Sep 26, 2024
2 parents aee0c0a + 2ebed8b commit 3fcd049
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
5 changes: 3 additions & 2 deletions examples/example_material.xomp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
"openMaterialVersion": "1.0.0",
"copyright": "(C) 2023-2024, Example Company",
"license": "MPL-2.0",
"author": "[email protected]",
"author": "[email protected]"
},
"materialProperties": {
"surfaceRoughness": {
"surfaceHeightRms": 0.8,
"surfaceCorrelationLength": 1.0
"surfaceCorrelationLength": 1.0,
"source": "estimate"
},
"emissivityData": {
"emissivityCoefficient": 0.07,
Expand Down
1 change: 1 addition & 0 deletions examples/example_material_emp.xompt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"copyright": "(C) 2023-2024, Example Company",
"license": "MPL-2.0",
"author": "[email protected]",
"source": "estimate"
},
"electromagneticProperties": [
[500e-9, 293.0, 50.0, 0.000001256665, 0.0, -56.0, 24.0],
Expand Down
7 changes: 6 additions & 1 deletion schemas/material_emp_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
"author": {
"type": "string",
"description": "Name or email address of the author of this material. In case of multiple authors, use comma-separation. The author can also be a company name."
},
"source": {
"type": "string",
"description": "Source of the electromagnetic property data."
}
},
"required": [
Expand All @@ -56,7 +60,8 @@
"openMaterialVersion",
"copyright",
"license",
"author"
"author",
"source"
]
},
"electromagneticProperties": {
Expand Down
7 changes: 6 additions & 1 deletion schemas/material_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,16 @@
"surfaceCorrelationLength": {
"type": "number",
"description": "Correlation length of the surface height deviations."
},
"source": {
"type": "string",
"description": "Source of the surface roughness data."
}
},
"required": [
"surfaceHeightRms",
"surfaceCorrelationLength"
"surfaceCorrelationLength",
"source"
]
},
"emissivityData": {
Expand Down

0 comments on commit 3fcd049

Please sign in to comment.