Skip to content

Provide shape for Data Model section #18

Description

@elf-pavlik

The current description somehow makes sense for JSON-LD, but it isn't very clear as content type independent definition.
Providing a shape in ShEx and SHACL should provide an unambiguous and validatable way of defining it.

I can write one in ShEx, it can also constrain that it has to use IRI and can't be a blank node, it would go something like this:

:Notification IRI {
  a [ as:Update as:Add as:Delete as:Create ] ;
  as:object IRI;
  as:published xsd:dateTime ;
  notify:state xsd:string
}

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