Skip to content

Commit 1b9d51b

Browse files
committed
Small adjustments before release
1 parent 9fe16d8 commit 1b9d51b

File tree

3 files changed

+6
-14
lines changed

3 files changed

+6
-14
lines changed

json-schema/endpoint/asset_list.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
},
1818
"response_statistics": {
1919
"$ref":"../datablock/response_statistics.json"
20-
},
21-
"text": {
22-
"$ref":"../datablock/text.json"
2320
}
2421
}
2522
},

json-schema/endpoint/implementation_list.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
"response_statistics": {
1818
"$ref": "../datablock/response_statistics.json"
1919
},
20-
"text": {
21-
"$ref": "../datablock/text.json"
22-
},
2320
"unlock_queries": {
2421
"$ref": "../datablock/unlock_queries.json"
2522
}

spec.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AssetFetch Specification - Draft Version 0.2
1+
# AssetFetch Specification - Version 0.2
22

33
This document specifies **AssetFetch**, an HTTP- and JSON-based system for browsing, retrieving and handling/importing digital assets for media creation.
44
The AssetFetch Protocol aims to provide a standardized way for artists to browse libraries of downloadable assets offered by providers *outside* their current production environment/pipeline, such as those of commercial or non-profit 3D asset vendors, marketplaces or other repositories of models, textures or any other kind of digital assets.
@@ -347,6 +347,7 @@ Examples for proper user-agents are:
347347
cinema4d/2024.2 MyAssetFetchPlugin/1.2.3
348348
3dsmax/2023u1 AssetFetchFor3dsMax/0.5.7
349349
blender/4.0.3 BlenderAssetFetch/v17
350+
standaloneAssetFetchClient/1.4.2.7
350351
```
351352

352353
## Variable and Fixed Queries
@@ -396,8 +397,6 @@ A typical example for a fixed query is a download option for a file where the cl
396397

397398
The full field list of a fixed query object can be found in the [`fixed_query` datablock template](#fixed_query).
398399

399-
400-
401400
## HTTP Codes and Error Handling
402401

403402
Every response sent from an AssetFetch provider MUST use HTTP Status codes appropriately.
@@ -505,7 +504,7 @@ The response on this endpoint MUST have the following structure:
505504
- The `data` field MUST always contain the datablock `asset_list_query`.
506505
- The `data` field SHOULD always contain the datablock `text`.
507506
- The `data` field MAY contain the datablocks `branding`, `authors`, `license`, and/or `web_references`.
508-
- The `data` field MUST contain the datablock `headers` if other parts of the API require header-based authentication to function. It MAY still be used for other purposes.
507+
- The `data` field MUST contain the datablock `headers` if other parts of the API require header-based authentication to function.
509508

510509
## Asset List
511510

@@ -519,7 +518,7 @@ The response on this endpoint MUST have the following structure:
519518
| `data` | `datablock_collection` | yes | |
520519
| `assets` | array of `asset` | yes | |
521520

522-
- The `data` field MAY contain the datablocks `next_query`, `response_statistics` and/or `text`.
521+
- The `data` field MAY contain the datablocks `next_query` and/or `response_statistics`.
523522
- The `assets` field MUST NOT contain more than 100 entries for one response. If more assets than this are contained in the response, the `next_query` datablock SHOULD be used to define a new query that the client can use to fetch more results.
524523

525524
### `asset` Structure
@@ -832,7 +831,7 @@ The destination is defined via the `file_info` datablock.
832831

833832
These datablocks relate to how assets and their details are displayed to the user.
834833

835-
### [Init?/Asset?/AssetList?/ImplementationList?/Implementation?/Component?] `text`
834+
### [Init?/Asset?/Implementation?/Component?] `text`
836835
General text information to be displayed to the user.
837836

838837
| Field | Format | Required | Description |
@@ -1085,8 +1084,7 @@ This allows the use of `.mtlx` files with mesh file formats that do not have the
10851084
### Using loose material declarations
10861085
The workflow outlined in the previous section is not always easily achievable since not all file 3D file formats offer up-to-date (or any) support for defining materials.
10871086
In those cases it is common practice to simply distribute the necessary material maps along with the mesh files without any concrete machine-readable description for how the maps should be applied
1088-
The `loose_material_*` datablocks exist to limit the negative impacts of this limitation.
1089-
The `loose_material_define` and `loose_material_apply` make it possible to define basic PBR materials through datablocks on the individual map components and reference them on the mesh component.
1087+
The `loose_material_*` datablocks exist to limit the negative impacts of this limitation. They make it possible to define basic PBR materials through datablocks on the individual map components and reference them on the mesh component.
10901088

10911089
Providers SHOULD make use of this notation if, and only if, other more native representations of the material are unavailable of severely insufficient.
10921090

0 commit comments

Comments
 (0)