Class CompilerJsonSchema
- java.lang.Object
-
- org.openprovenance.prov.template.compiler.CompilerJsonSchema
-
public class CompilerJsonSchema extends Object
-
-
Constructor Summary
Constructors Constructor Description CompilerJsonSchema()
-
Method Summary
Modifier and Type Method Description Set<com.networknt.schema.ValidationMessage>checkSchema(com.networknt.schema.JsonSchema schema, String file)ObjectdefaultValue(String jsonType)voidgenerateJSonSchema(String jsonschema, String templateName, String root_dir, com.fasterxml.jackson.databind.JsonNode bindings_schema)voidgenerateJSonSchemaEnd(String jsonschema, String root_dir)Stringget$id()Map<String,Object>initializeSchemaMap()com.networknt.schema.JsonSchemasetupJsonSchemaFromClasspath(String file)com.networknt.schema.JsonSchemasetupJsonSchemaFromClasspathV7(String file)com.networknt.schema.JsonSchemasetupJsonSchemaFromFile(String file)Stringtitle(String key)
-
-
-
Method Detail
-
generateJSonSchema
public void generateJSonSchema(String jsonschema, String templateName, String root_dir, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
get$id
public String get$id()
-
setupJsonSchemaFromClasspath
public com.networknt.schema.JsonSchema setupJsonSchemaFromClasspath(String file)
-
setupJsonSchemaFromClasspathV7
public com.networknt.schema.JsonSchema setupJsonSchemaFromClasspathV7(String file)
-
setupJsonSchemaFromFile
public com.networknt.schema.JsonSchema setupJsonSchemaFromFile(String file) throws FileNotFoundException
- Throws:
FileNotFoundException
-
checkSchema
public Set<com.networknt.schema.ValidationMessage> checkSchema(com.networknt.schema.JsonSchema schema, String file) throws IOException
- Throws:
IOException
-
-