Skip to content

Commit

Permalink
Add creation tool and date
Browse files Browse the repository at this point in the history
Signed-off-by: ClemensLinnhoff <[email protected]>
  • Loading branch information
ClemensLinnhoff committed Aug 8, 2024
1 parent 4261f4a commit 860af42
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
4 changes: 2 additions & 2 deletions examples/example_asset.xoma
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"openmaterial_version": "1.0.0",
"copyright" : "(C) 2023-2024, Example Company",
"license" : "MPL-2.0",
"generator": "Blender",
"creator": "Example Company",
"author" : "[email protected]"
"model_creation_tool": "Blender",
"creation_date": "20240703T101728Z"
},
"material_mapping": [
Expand Down
24 changes: 10 additions & 14 deletions schemas/asset_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,54 +5,50 @@
"properties": {
"metadata": {
"type": "object",
"description": "Metadata about the asset",
"description": "Metadata about the asset.",
"properties": {
"name": {
"type": "string",
"description": "Name of the asset"
"description": "Name of the asset."
},
"description": {
"type": "string",
"description": "Short description of the asset in 2 - 3 sentences."
},
"uuid": {
"type": "string",
"description": "Universally unique identifier for the asset",
"description": "Universally unique identifier for the asset.",
"pattern": "^[a-f0-9]{32}$"
},
"asset_version": {
"type": "string",
"description": "Version of the asset",
"description": "Version of the asset.",
"pattern": "^\\d+\\.\\d+\\.\\d+$"
},
"openmaterial_version": {
"type": "string",
"description": "Version of OpenMATERIAL",
"description": "Version of OpenMATERIAL.",
"pattern": "^\\d+\\.\\d+\\.\\d+$"
},
"copyright": {
"type": "string",
"description": "Copyright information with year and company"
"description": "Copyright information with year and company."
},
"license": {
"type": "string",
"description": "License information. For common open source licenses, provide an SPDX identifier. For other types of licenses, provide an URL to a webpage with the license or the filename of a separately provided license file."
},
"author": {
"type": "string",
"description": "Name or email address of the author of this asset. In case of multiple authors, use comma-separation."
"description": "Name or email address of the author of this asset. In case of multiple authors, use comma-separation. The author can also be a company name."
},
"generator": {
"model_creation_tool": {
"type": "string",
"description": "The tool or software used to generate the asset"
},
"creator": {
"type": "string",
"description": "Creator of the asset"
"description": "The tool or software used to generate the 3D model of this asset."
},
"creation_date": {
"type": "string",
"description": "Creation date of the asset in the format YYYYMMDDTHHMMSSZ",
"description": "Creation date of the asset in the format YYYYMMDDTHHMMSSZ.",
"pattern": "^\\d{8}T\\d{6}Z$"
}
},
Expand Down

0 comments on commit 860af42

Please sign in to comment.