σ ;6Tc @@s&ddlmZddlZddlZddlZddlmZddlmZd„Z d„Z ej ddƒZ e j d d d d d dde ddƒe j ddddddƒe j ddde ddƒe j dddde ƒd„Zejdd„Zejejd„ZdS( i(tabsolute_importN(tnamedAny(t validator_forcC@s#d|krd|}nt|ƒS(Nt.s jsonschema.(R(tname((s2/usr/lib/python2.7/site-packages/jsonschema/cli.pyt_namedAnyWithDefault s  cC@s&t|ƒ}tj|ƒSWdQXdS(N(topentjsontload(tpathtfile((s2/usr/lib/python2.7/site-packages/jsonschema/cli.pyt _json_filest descriptionsJSON Schema Validation CLIs-is --instancetactiontappendtdestt instancesttypethelpsGa path to a JSON instance to validate (may be specified multiple times)s-Fs--error-formattdefaults"{error.instance}: {error.message} s™the format to use for each error output message, specified in a form suitable for passing to str.format, which will be called with 'error' for each errors-Vs --validatorsŒthe fully qualified object name of a validator to use, or, for validators that are registered with jsonschema, simply the name of the class.tschemas the JSON Schema to validate withcC@sLttjd|pdgƒƒ}|ddkrHt|dƒ|ds<