{
  "$defs": {
    "CustomTimeWithInterface": {
      "format": "date-time",
      "type": "string"
    },
    "CustomTypeFieldWithInterface": {
      "additionalProperties": false,
      "properties": {
        "CreatedAt": {
          "$ref": "#/$defs/CustomTimeWithInterface"
        }
      },
      "required": [
        "CreatedAt"
      ],
      "type": "object"
    }
  },
  "$id": "https://github.com/invopop/jsonschema/custom-type-field-with-interface",
  "$ref": "#/$defs/CustomTypeFieldWithInterface",
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}