github.com/alecthomas/jsonschema@v0.0.0-20220216202328-9eeeec9d044b/fixtures/custom_type_with_interface.json (about)

     1  {
     2  	"$schema": "http://json-schema.org/draft-04/schema#",
     3  	"$ref": "#/definitions/CustomTypeFieldWithInterface",
     4  	"definitions": {
     5  		"CustomTypeFieldWithInterface": {
     6  			"required": [
     7  				"CreatedAt"
     8  			],
     9  			"properties": {
    10  				"CreatedAt": {
    11  					"$schema": "http://json-schema.org/draft-04/schema#",
    12  					"$ref": "#/definitions/CustomTimeWithInterface"
    13  				}
    14  			},
    15  			"additionalProperties": false,
    16  			"type": "object"
    17  		},
    18  		"CustomTimeWithInterface": {
    19  			"type": "string",
    20  			"format": "date-time"
    21  		}
    22  	}
    23  }