Skip to content

Commit 3a07da8

Browse files
fix asset schema
1 parent ca1d91f commit 3a07da8

File tree

1 file changed

+22
-23
lines changed
  • content/swagger/resources/assets/definitions

1 file changed

+22
-23
lines changed

content/swagger/resources/assets/definitions/asset.yaml

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,28 @@ properties:
99
type: object
1010
description: "Asset attributes values, see the <a href='/concepts/asset-manager.html#focus-on-the-asset-values'>Focus on the asset values</a> section for more details."
1111
x-validation-rules: Validation rules detailed in Asset attribute values section
12-
properties:
13-
attributeCode:
14-
type: array
15-
items:
16-
type: object
17-
properties:
18-
channel:
19-
type: string
20-
description: Channel code of the asset attribute value
21-
locale:
22-
type: string
23-
description: Locale code of the asset attribute value
24-
data:
25-
type: object
26-
description: Asset attribute value. See <a href='/concepts/asset-manager.html#the-data-format'>the `data` format</a> section for more details.
27-
_links:
28-
type: object
29-
description: Related links for the `media file` attribute values. See <a href='/concepts/asset-manager.html#the-_links-format'>the `_links` format</a> section for more details.
30-
x-validation-rules: The share link is returned when asset sharing is enabled
31-
linked_data:
32-
type: object
33-
description: Linked data for the `media link` attribute values. See <a href='/concepts/asset-manager.html#the-linked_data-format'>the `linked_data` format</a> section for more details.
34-
x-from-version: "SaaS"
12+
additionalProperties:
13+
type: array
14+
items:
15+
type: object
16+
properties:
17+
channel:
18+
type: string
19+
description: Channel code of the asset attribute value
20+
locale:
21+
type: string
22+
description: Locale code of the asset attribute value
23+
data:
24+
type: object
25+
description: Asset attribute value. See <a href='/concepts/asset-manager.html#the-data-format'>the `data` format</a> section for more details.
26+
_links:
27+
type: object
28+
description: Related links for the `media file` attribute values. See <a href='/concepts/asset-manager.html#the-_links-format'>the `_links` format</a> section for more details.
29+
x-validation-rules: The share link is returned when asset sharing is enabled
30+
linked_data:
31+
type: object
32+
description: Linked data for the `media link` attribute values. See <a href='/concepts/asset-manager.html#the-linked_data-format'>the `linked_data` format</a> section for more details.
33+
x-from-version: "SaaS"
3534

3635
created:
3736
type: string

0 commit comments

Comments
 (0)