I'm trying to understand why the OCA Bundle is a set of JSON files in a ZIP file vs. just a single JSON file that contains a set of overlays?
For example, when we use in a piece of software (say, a wallet), we want the JSON to be in this form, which is a single JSON file that is:
{
"capture_base": {
"type": "spec/capture_base/1.0",
.
.
.
},
"overlays": [
{
"capture_base": "EfeQBz5tyC0gett-ETgkg4pkxBwwuQoeYsT-9Nt0cNsc",
"type": "spec/overlays/meta/1.0"
.
.
.
]
}
We currently plan on have the code that retrieves a bundle convert it to the single JSON structure format for internal use. Is there a good reason to pass it around as a zipped set of JSON files and leave the JSON assembly to later in the process?
I'm trying to understand why the OCA Bundle is a set of JSON files in a ZIP file vs. just a single JSON file that contains a set of overlays?
For example, when we use in a piece of software (say, a wallet), we want the JSON to be in this form, which is a single JSON file that is:
We currently plan on have the code that retrieves a bundle convert it to the single JSON structure format for internal use. Is there a good reason to pass it around as a zipped set of JSON files and leave the JSON assembly to later in the process?