This package has been deprecated

Author message:

package moved to @rootintf scope.

@ipsme/json-msg

0.1.0 • Public • Published
{
	"$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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i @ipsme/json-msg

Weekly Downloads

1

Version

0.1.0

License

ISC

Unpacked Size

34.5 kB

Total Files

13

Last publish

Collaborators

  • knev