Package org.restheart.mongodb.handlers.schema


package org.restheart.mongodb.handlers.schema
Handlers for HTTP requests related to shcema store and schema resources
Author:
Andrea Di Cesare <[email protected]>
  • Class
    Description
    checks the schema of the schemas using json metaschema
     
     
    On write, escapes schema properties ($ prefixed) On read, unescape schema properties
    A json-schema client that loads the schema from the db if the url refer to a schema store.
    if the id of the schema is a valid SchemaStoreURL it can be loaded from the schema store (querying mongodb with caching and avoiding the http overhead) the format is: http://schema-store/schemaStoreDb/schemaId schemaId refers to the mongodb _id and not to the id property