1.1.5 • Published 7 months ago

@rootintf/json-msg v1.1.5

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
7 months ago
{
	"$id": "validate_Msg",
	"$schema": "http://json-schema.org/draft-07/schema#",
	"type" : "object",
	"required" : ["id", "referer", "dt"],
	"properties" : {
		"id" : { "type" : "string"},
		"referer" : { "type" : "string"},
		"dt" : { "type" : "string" }
	}
}
{
	"$id": "validate_Msg_msg",
	"$schema": "http://json-schema.org/draft-07/schema#",
	"type" : "object",
	"required" : ["_msg"]
}
{
	"$id": "validate_MsgAck",
	"$schema": "http://json-schema.org/draft-07/schema#",
	"type" : "object",
	"required" : ["ack"],
	"properties" : {
		"ack" : {
			"type" : "object",
			"required" : ["ok"],
			"properties" : {
				"ok" : { "type" : "boolean" }
			}
		}
	}
}

TODO: add optional expired property

1.1.1

7 months ago

1.1.5

7 months ago

1.1.3

7 months ago

1.0.4

7 months ago

0.2.1

3 years ago

0.1.0

3 years ago