Title / Description
Code { "$schema": "http://json-schema.org/draft/2019-09/schema", "$id": "http://example.org/some-definitions-schema.json", "$defs": { "Class1": { "type": "object", "properties": { "prop1": {"type": "string"} }, "required": ["prop1"] }, "Class2": { "type": "object", "properties": { "prop2": {"type": "number"} }, "required": ["prop2"] } } }
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code