Json Schema file extension

Is there any naming convention for the json schema file extension? XML has .xsd (XML schema definition), what should json schema files have, .jsd (JSON schema definition)?

+47
json jsonschema
Feb 22 '12 at 8:27
source share
3 answers

From Gary Court:

I personally use .schema.json, but there is no official file extension. However, the official mime type is "Application / Schema + JSON".

+47
May 8 '12 at 22:43
source share

According to the latest project (v4) , a new extension is not offered for files that store json schemes. The .json extension is widely used inside this document .. json is also the preferred extension in validators (PHP, Ruby, Python).

Therefore, I think .json should be the preferred option in the absence of an official / standard new extension.

+13
Jan 04 '14 at 17:17
source share

I started using .jschema after I had a session with extensions-based JSON Schema parser that automatically added the identifier to external RAML examples, which are also .json files.

In the end, this is a special format. HTML is XML, which is UML, and we use a different file extension for each of them.

+2
Oct 22 '15 at 15:39
source share



All Articles