Skip to content

Commit 5ddb7f4

Browse files
committed
Add json schema for keywords
1 parent baff1f6 commit 5ddb7f4

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"title": "Datablock: keywords",
4+
"$id": "af.datablock.keywords",
5+
"description": "Contains keywords or tags that the client MAY use for local asset organization.",
6+
"type": "array",
7+
"items": {
8+
"type": "string"
9+
}
10+
}

json-schema/endpoint/asset_list.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@
7070
},
7171
"authors": {
7272
"$ref": "../datablock/authors.json"
73+
},
74+
"keywords": {
75+
"$ref": "../datablock/keywords.json"
7376
}
7477
},
7578
"required": [

spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,7 @@ If the provider does not have insight into the dimensions of the thumbnail that
11641164
### 7.3.9. `keywords`
11651165
Contains keywords or tags that the client MAY use for local asset organization.
11661166

1167-
This datablock is **an array** consisting of `string`s.
1167+
This datablock is **an array** consisting of type `string`.
11681168

11691169
## 7.4. Unlocking-related Datablocks
11701170

0 commit comments

Comments
 (0)