| Package | Description |
|---|---|
| org.wikimedia.eventutilities.core.event | |
| org.wikimedia.eventutilities.core.json |
| Modifier and Type | Method and Description |
|---|---|
com.github.fge.jsonschema.main.JsonSchema |
EventSchemaLoader.getEventJsonSchema(com.fasterxml.jackson.databind.JsonNode event)
Given a JSON event, get its schema URI,
and load and return schema for the event as a JsonSchema (suited for validation).
|
com.github.fge.jsonschema.main.JsonSchema |
EventSchemaLoader.getEventJsonSchema(String eventString)
Given a JSON event, get its schema URI,
and load and return schema for the event as a JsonSchema (suited for validation).
|
com.fasterxml.jackson.databind.JsonNode |
EventLoggingSchemaLoader.getEventLoggingSchema(String schemaName)
Given an EventLogging schema name , this will get the
latest schema revision from EVENTLOGGING_SCHEMA_BASE_URI and encapsulate it.
|
com.fasterxml.jackson.databind.JsonNode |
EventLoggingSchemaLoader.getEventLoggingSchema(String schemaName,
Integer revision)
Given an EventLogging event schema name and revision, this will get the
schema from EVENTLOGGING_SCHEMA_BASE_URI and encapsulate it.
|
com.fasterxml.jackson.databind.JsonNode |
EventLoggingSchemaLoader.getEventSchema(com.fasterxml.jackson.databind.JsonNode event)
Given an EventLogging event object, this extracts its schema name at /schema
and uses it to get the latest EventLogging schema.
|
com.fasterxml.jackson.databind.JsonNode |
EventSchemaLoader.getEventSchema(com.fasterxml.jackson.databind.JsonNode event)
Given an event object, this extracts its schema URI at schemaField
(prefixed with baseURI) and returns the schema there.
|
com.fasterxml.jackson.databind.JsonNode |
EventLoggingSchemaLoader.getEventSchema(String eventString)
Given an EventLogging json event string, this parses it to a JsonNode and then
extracts its schema name at /schema and uses it to get the latest EventLogging schema.
|
com.fasterxml.jackson.databind.JsonNode |
EventSchemaLoader.getEventSchema(String eventString)
Given a JSON event string, get its schema URI,
and load and return schema for the event.
|
com.fasterxml.jackson.databind.JsonNode |
EventLoggingSchemaLoader.getLatestEventSchema(com.fasterxml.jackson.databind.JsonNode event) |
com.fasterxml.jackson.databind.JsonNode |
EventSchemaLoader.getLatestEventSchema(com.fasterxml.jackson.databind.JsonNode event)
Given an event object, this extracts its schema URI at schemaField
(prefixed with baseURI) and resolves it to the latest schema URI and returns
the schema there.
|
com.fasterxml.jackson.databind.JsonNode |
EventLoggingSchemaLoader.getLatestEventSchema(String eventString) |
com.fasterxml.jackson.databind.JsonNode |
EventSchemaLoader.getLatestEventSchema(String eventString)
Given a JSON event string, get its schema URI,
and load and return latest schema for the event.
|
com.fasterxml.jackson.databind.JsonNode |
EventSchemaLoader.getLatestSchema(URI schemaUri)
Get a 'latest' JsonSchema given a schema URI looking in all baseUris.
|
com.fasterxml.jackson.databind.JsonNode |
EventSchemaLoader.getSchema(URI schemaUri)
Get a JsonSchema at schemaUri looking in all baseUris.
|
com.fasterxml.jackson.databind.JsonNode |
EventLoggingSchemaLoader.load(URI schemaUri)
Given a URI to an EventLogging 'event' field (un-encapsulated) schema,
this will get the 'event' field schema at that URI, and then encapsulate
it.
|
com.fasterxml.jackson.databind.JsonNode |
EventSchemaLoader.load(URI schemaUri)
Returns the content at schemaURI as a JsonNode JSONSchema.
|
com.github.fge.jsonschema.core.report.ProcessingReport |
EventSchemaValidator.validate(com.fasterxml.jackson.databind.JsonNode event) |
com.github.fge.jsonschema.core.report.ProcessingReport |
EventSchemaValidator.validate(String eventData) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
JsonSchemaLoader.load(URI schemaUri)
Given a schemaUri, this will request the JSON or YAML content at that URI and
parse it into a JsonNode.
|
com.fasterxml.jackson.databind.JsonNode |
JsonLoader.load(URI uri)
Given a schemaURI, this will request the JSON or YAML content at that URI and
parse it into a JsonNode.
|
com.fasterxml.jackson.databind.JsonNode |
JsonSchemaLoader.parse(String data)
Parses the JSON or YAML string into a JsonNode.
|
com.fasterxml.jackson.databind.JsonNode |
JsonLoader.parse(String data)
Parses the JSON or YAML string into a JsonNode.
|
Copyright © 2026. All rights reserved.