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.)

1
  • 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, 2019 at 10:42

1 Answer 1

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.