why can't you use hash pinned schemas with existing json? Why do you need a new format for it?

Here's some json: []

How do you add schema info to that?

Like this:

    {
        'schema': 'c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2',
        'data': []
    }

And there you go, just `[]` is no longer valid, so you need a new format.

If you need a schema for [] you have lost the plot.

Are you serious? Do you honestly think that I am talking about a schema for passing empty lists around?

If you are passing around lists of structured objects, I need you to send me what those objects are supposed to look like even if the list is empty sometimes. If you say "ok so sometimes I'll give you an object with a schema key and a list of data, other times I will just give you an empty list because I don't feel like it", everyone will hate you.

Well, you could be annotating type that the array is for.

It's the schema's root type, obviously.

What record types are valid to add to that array?

Don't ask me, ask the schema.

[deleted]