mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Add Aaru Metadata JSON block documentation
This commit is contained in:
25
docs/spec/blocks/aaru_metadata.adoc
Normal file
25
docs/spec/blocks/aaru_metadata.adoc
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
=== Aaru Metadata JSON Block (`JSMD`)
|
||||||
|
|
||||||
|
This block header signifies the inclusion of an embedded Aaru metadata JSON sidecar.
|
||||||
|
The contents of the JSON are preserved in their original form and are not parsed, interpreted, or validated by the format implementation.
|
||||||
|
|
||||||
|
==== Structure Definition
|
||||||
|
|
||||||
|
[source,c]
|
||||||
|
#define METADATA_JSON_MAGIC 0x444D534A
|
||||||
|
/**Header for the Aaru Metadata JSON block */
|
||||||
|
typedef struct AaruMetadataJsonBlock
|
||||||
|
{
|
||||||
|
/**Identifier, <see cref="BlockType.AaruMetadataJsonBlock" /> */
|
||||||
|
uint32_t identifier;
|
||||||
|
uint32_t length;
|
||||||
|
} AaruMetadataJsonBlock;
|
||||||
|
|
||||||
|
==== Field Descriptions
|
||||||
|
|
||||||
|
[cols="2,2,2,6",options="header"]
|
||||||
|
|===
|
||||||
|
|Type|Size|Name|Description
|
||||||
|
|uint32|4 bytes|identifier|The Aaru metadata JSON identifier, always `JSMD`
|
||||||
|
|uint32|4 bytes|length|The size in bytes of the embedded Aaru metadata JSON that follows this header.
|
||||||
|
|===
|
||||||
@@ -74,6 +74,10 @@ include::blocks/tracks.adoc[]
|
|||||||
|
|
||||||
<<<
|
<<<
|
||||||
|
|
||||||
|
include::blocks/aaru_metadata.adoc[]
|
||||||
|
|
||||||
|
<<<
|
||||||
|
|
||||||
include::blocks/cicm.adoc[]
|
include::blocks/cicm.adoc[]
|
||||||
|
|
||||||
<<<
|
<<<
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ Define twin sector table.
|
|||||||
|
|
||||||
Add annex explaining the meaning and relationship between user, bitstream and flux data.
|
Add annex explaining the meaning and relationship between user, bitstream and flux data.
|
||||||
|
|
||||||
| 31 July 2025
|
| 5 October 2025
|
||||||
| 2.0df
|
| 2.0df
|
||||||
| Draft
|
| Draft
|
||||||
| Natalia Portillo
|
| Natalia Portillo
|
||||||
@@ -96,4 +96,6 @@ Clarify deduplication table size type.
|
|||||||
Clarify deduplication table sector status.
|
Clarify deduplication table sector status.
|
||||||
|
|
||||||
Add encrypted and decrypted sector status.
|
Add encrypted and decrypted sector status.
|
||||||
|
|
||||||
|
Add Aaru Metadata JSON.
|
||||||
|===
|
|===
|
||||||
|
|||||||
Reference in New Issue
Block a user