YUI.add("datasource-jsonschema",function(s,a){var e=function(){e.superclass.constructor.apply(this,arguments)};s.mix(e,{NS:"schema",NAME:"dataSourceJSONSchema",ATTRS:{schema:{}}}),s.extend(e,s.Plugin.Base,{initializer:function(a){this.doBefore("_defDataFn",this._beforeDefDataFn)},_beforeDefDataFn:function(a){var e=a.data&&(a.data.responseText||a.data),t=this.get("schema"),a=a.details[0];return a.response=s.DataSchema.JSON.apply.call(this,t,e)||{meta:{},results:e},this.get("host").fire("response",a),new s.Do.Halt("DataSourceJSONSchema plugin halted _defDataFn")}}),s.namespace("Plugin").DataSourceJSONSchema=e},"patched-v3.18.3",{requires:["datasource-local","plugin","dataschema-json"]});