mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-06 14:28:20 +01:00
fix: clarify ContentFormat numbers for systems languages
This commit is contained in:
parent
6de1948ac7
commit
ee0633f454
|
|
@ -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:
|
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.
|
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.
|
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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue