Packages

object SchemaDiff extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SchemaDiff
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Modified(pointer: SchemaPointer, from: Schema, to: Schema) extends Product with Serializable

Value Members

  1. def build(source: Segment): SchemaDiff

    Build SchemaDiff from list of schemas

  2. def diff(source: SubSchemas, target: SubSchemas): SchemaDiff

    Generate diff from source list of properties to target though sequence of intermediate

    Generate diff from source list of properties to target though sequence of intermediate

    source

    source list of JSON Schema properties

    target

    non-empty list of successive JSON Schema properties including target

    returns

    diff between two Schmea

  3. val empty: SchemaDiff
  4. def getAddedKeys(source: SubSchemas, successive: SubSchemas): Set[(SchemaPointer, Schema)]

    Get list of new properties in order they appear in subsequent Schemas

    Get list of new properties in order they appear in subsequent Schemas

    source

    original Schema

    successive

    all subsequent Schemas

    returns

    possibly empty list of keys in correct order

  5. def getModifiedProperties(source: SubSchemas, target: SubSchemas): Set[Modified]

    Get list of JSON Schema properties modified between two versions

    Get list of JSON Schema properties modified between two versions

    source

    original list of JSON Schema properties

    target

    final list of JSON Schema properties

    returns

    set of properties changed in target Schema

  6. def getRemovedProperties(source: SubSchemas, target: SubSchemas): SubSchemas