object JsonSchemaUtils

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonSchemaUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def expandAllVariants(shape: Shape): Seq[Shape]

    Recursively expands all variants (allOf/anyOf/oneOf) to leaf shapes without filtering.

    Recursively expands all variants (allOf/anyOf/oneOf) to leaf shapes without filtering. Returns the shape itself if it has no variants.

  9. def expandVariants(shape: Shape, obj: Option[AmfObject]): Seq[Shape]

    Expands anyOf/oneOf/allOf variants from a shape.

    Expands anyOf/oneOf/allOf variants from a shape. - allOf variants are always kept. - anyOf/oneOf variants are filtered by discriminator const/enum when obj is provided. If filtering narrows the set (some eliminated), uses filtered; otherwise keeps all. - When obj is None, all variants are returned unfiltered.

  10. def extractEnumValues(shape: Shape): Seq[String]
  11. def extractSemanticTypeIris(shape: Shape): Seq[String]

    Extracts the @type IRIs from a Shape's @context semantic metadata.

    Extracts the @type IRIs from a Shape's @context semantic metadata. For PropertyShapes, looks at the range. Then traverses: shape.fields -> meta#semantics -> meta#typeMapping (AmfArray).

  12. def extractSiblingKeys(obj: AmfObject): Set[String]

    Extracts the set of property keys present in the object

  13. def filterValidVariants(variants: Seq[Shape], obj: AmfObject): Seq[Shape]

    Filters union variants to only those that are still valid given the object's current state.

    Filters union variants to only those that are still valid given the object's current state. A variant is valid if: - All sibling keys present in the object exist as properties in the variant - All enum constraints in the variant match the actual values in the object

  14. def findDynamicPropertySchema(nodeShape: NodeShape, propertyName: String): Option[Shape]

    Finds the schema for a dynamic property (not explicitly defined in the schema).

    Finds the schema for a dynamic property (not explicitly defined in the schema). First tries to match a pattern property, then falls back to additionalPropertiesSchema. This is the same logic used in SchemaDefinitionResolver.findViableDefinitions.

  15. def findProperty(nodeShape: NodeShape, name: String): Option[PropertyShape]

    Find a property in a NodeShape by name, first trying exact match, then pattern properties.

  16. def findPropertyByName(nodeShape: NodeShape, name: String): Option[PropertyShape]
  17. def findPropertyByPatternName(nodeShape: NodeShape, name: String): Option[PropertyShape]
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  19. def getFieldEntryDefinition(fieldEntry: FieldEntry): Option[Shape]

    Extracts the schema definition shape from a FieldEntry's sourceSchemaDef annotation.

    Extracts the schema definition shape from a FieldEntry's sourceSchemaDef annotation. Unwraps PropertyShape to its range.

  20. def getShapeDefinition(obj: AmfObject): Option[Shape]
  21. def getValidProperties(nodeShape: NodeShape): Seq[PropertyShape]
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped