{ "title": "schemarepository.basic", "description": "Simple schema repository that can be queried about a schema name", "lang": "en", "documentation": "http://recherche.telecom-bretagne.eu/xaal/documentation/", "ref": "http://recherche.telecom-bretagne.eu/xaal/documentation/schemarepository.basic", "license": "Copyright Christophe Lohr Telecom Bretagne 2014 - Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.", "extends": "any.any", "methods": { "getSchema": { "description": "Get a schema", "parameters": { "devType": { "description": "Name of the schema", "unit": "", "direction": "in", "type": { "$schema": "http://json-schema.org/schema#", "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*.[a-zA-Z][a-zA-Z0-9_-]*$" } }, "schema": { "description": "Content of the schema", "unit": "", "direction": "out", "type": { "$schema": "http://json-schema.org/schema#", "type": "string" } } }, "relatedAttributes": [ ] }, "getExpandedSchema": { "description": "Get a schema expanded by including schemas it extends", "parameters": { "devType": { "description": "Name of the schema", "unit": "", "direction": "in", "type": { "$schema": "http://json-schema.org/schema#", "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*.[a-zA-Z][a-zA-Z0-9_-]*$" } }, "schema": { "description": "Content of the schema", "unit": "", "direction": "out", "type": { "$schema": "http://json-schema.org/schema#", "type": "string" } } }, "relatedAttributes": [ ] } } }