Skip to content

Agreements do not follow I Agree specification #25

Description

@motero2k

Currently you can post an agreement without the required parameters by IAgree (Registry do not check this in a POST).

Two options:

  • Make registry ask for all the required parameters:

Problem: The json models schemes do not work the same as the mongo schemes. In mongo we don't know if it is possible to use $ref without problems. If you put required in definitions.yourRefDefinition, mongo understand that definitions is required when it is not.

  • Make I Agree less restrictive: At the time of this issue, this is the currently chosen alternative, at least for now.

Only check required at id,context,terms and type.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions