0.1.8 • Published 8 years ago

snobject v0.1.8

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

Snobject

JavaScript Style Guidelicense

Install Example Documentation

Snobject aka (JSON) Schema Naked Object is a software architecture pattern based on json schema and naked object. This Javascript reference implementation provides strong object-orientation principles to Javascript objects. Each snobject is self contained and self describing, managing all of its own resources and interfaces.

Each snobject includes it's own json schema, accessible through the getSchema, addSchema, and validate methods. This level of introspection combines code comments and API documentation into a single, runtime-accessible location.

Properties

TypeDescriptionRequired
versionSnobject.versionNo
licenseSnobject.licenseNo
getSchemaSnobject.getSchema:white_check_mark: Yes
addSchemaSnobject.addSchema:white_check_mark: Yes
validateSnobject.validate:white_check_mark: Yes

Additional properties are allowed.

Snobject.version

  • Type: Snobject.version
  • Required: No

Snobject.license

  • Type: Snobject.license
  • Required: No

Snobject.getSchema :white_check_mark:

  • Type: Snobject.getSchema
  • Required: Yes

Snobject.addSchema :white_check_mark:

  • Type: Snobject.addSchema
  • Required: Yes

Snobject.validate :white_check_mark:

  • Type: Snobject.validate
  • Required: Yes
0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.9

8 years ago