• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

/usr/lib/swipl/library/ext/json/json_schema.pl
All Application Manual Name SummaryHelp

  • ext
    • json
      • json.pl
      • json_grammar.pl -- JavaScript grammar
      • json_convert.pl -- Convert between JSON terms and Prolog application terms
      • json_rpc_client.pl -- JSON RPC client
      • json_rpc_common.pl
      • json_rpc_server.pl
      • json_schema.pl -- JSON Schema reader and validator
        • json_validate/3
        • json_compile_schema/3
        • json_check/3
 json_compile_schema(+Input, -Type, +Options) is det
Load and translated a JSON Schema. Input is either a file name, a specification for absolute_file_name/3 or the output of json_read_dict/2.

If Input is a file name, the loaded and compiled schema is cached. Reusing the cache validates the modification file of the schema file and reloads it if the file's time stamp has changed. Note that true and false are valid schemas and cannot be used as file names.

ClioPatria (version V3.1.1-59-g7b9a7a3)