Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #291 from weegeekps/khr_xmp_json_ld_examples
Browse files Browse the repository at this point in the history
Rounded Cube sample for KHR_xmp_json_ld extension.

Folders will be renamed prior to merging this with glTF-Sample-Assets.
  • Loading branch information
DRx3D authored Dec 3, 2023
2 parents 5ede04e + e76e1f5 commit 300e3c8
Show file tree
Hide file tree
Showing 5 changed files with 643 additions and 0 deletions.
75 changes: 75 additions & 0 deletions 2.0/XmpMetadataRoundedCube/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# KHR_xmp_json_ld Metadata Example - Rounded Cube

## Sample XMP JSON

```json
{
"extensionsUsed": ["KHR_xmp_json_ld"],
"extensions": {
"KHR_xmp_json_ld": {
"packets": [
{
"@context": {
"dc": "http://purl.org/dc/elements/1.1/",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
},
"@id": "",
"dc:contributor": {
"@set": [
"Creator1Name",
"[email protected]",
"Creator3Name<[email protected]>"
]
},
"dc:coverage": "Bay Area, California, United States",
"dc:creator": {
"@list": ["CreatorName", "[email protected]"]
},
"dc:date": {
"@list": ["2019-05-16T19:20:30+01:00"]
},
"dc:description": {
"@type": "rdf:Alt",
"rdf:_1": {
"@language": "en-us",
"@value": "An example of a glTF file with XMP metadata in it"
}
},
"dc:format": "model/gltf+json",
"dc:language": {
"@set": ["en"]
},
"dc:publisher": {
"@set": ["Khronos"]
},
"dc:title": {
"@type": "rdf:Alt",
"rdf:_1": {
"@language": "en-us",
"@value": "Sample glTF with XMP metadata"
}
}
},
{
"@context": {
"dc": "http://purl.org/dc/elements/1.1/",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
},
"dc:title": {
"@type": "rdf:Alt",
"rdf:_1": {
"@language": "en-us",
"@value": "My Cube Mesh"
}
}
}
]
}
},
...
}
```

## License Information

This model is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).
Binary file not shown.
Loading

0 comments on commit 300e3c8

Please sign in to comment.