From ee0633f45496dd10023ed8cef3d87ba128c897b7 Mon Sep 17 00:00:00 2001 From: April John <30842467+CutestNekoAqua@users.noreply.github.com> Date: Mon, 13 May 2024 17:51:54 +0000 Subject: [PATCH] fix: clarify ContentFormat numbers for systems languages --- docs/structures/content-format.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/structures/content-format.md b/docs/structures/content-format.md index 12a5398..c51b859 100644 --- a/docs/structures/content-format.md +++ b/docs/structures/content-format.md @@ -23,6 +23,7 @@ interface ContentFormat { } } ``` +To maintain compatibility with strongly types languages, numbers MUST fit within a [u64](https://doc.rust-lang.org/std/primitive.u64.html). Here's an example of how this structure can be used: @@ -99,4 +100,4 @@ However, this is not: Each `ContentFormat` object should be treated as a **single file in multiple optional formats**, not as multiple files. The multiple formats are intended to optimize bandwidth usage. -If optional fields are provided for one object in the `ContentFormat`, they should be provided for all objects in the `ContentFormat`. For instance, if the `description` field is provided for one object, it should be provided for all objects, as they represent the same file. \ No newline at end of file +If optional fields are provided for one object in the `ContentFormat`, they should be provided for all objects in the `ContentFormat`. For instance, if the `description` field is provided for one object, it should be provided for all objects, as they represent the same file.