Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

Add JSON schema support for validation and relationships decoration #54

@mnugter

Description

@mnugter
  1. Define a superset for JSON schema which adds cardinality support in #ref tags.
  2. Create a factory method to create the relationship decorator from a JSON schema
  3. Add Resource decorator for validating data when setting the data property.

Create this as a separate package. The package should introduce a helper method that accepts a JSON schema and initializes the relationship and validator decorators on the Resource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions