1

For example, what would you name a module containing all of the Pydantic models for your FastAPI project? What would you put as a subtitle in your documentation below an example JSON api response? In XML you'd call it a 'schema' but I don't see that word used to describe this in the json world (because there's no schema document which will enforce the shape.)

closed as primarily opinion-based by gnat, Becuzz, Robert Harvey Aug 10 at 5:06

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

  • I actually think this is not opinion based, he’s asking for a community-agreed term to refer to the schema of a JSON file. There must be a term that can be backed by more documentation and references which should be what the OP is looking for. I think this question is in cat 1: softwareengineering.meta.stackexchange.com/questions/6582/… – Shane Hsu Aug 10 at 10:42
4

I would still call it a schema. There's even a standard: https://json-schema.org/

Not the answer you're looking for? Browse other questions tagged or ask your own question.