Skip to content

Updated to use PropertyValue method for fixed values / regexes - #33

Open
ptsefton wants to merge 1 commit into
masterfrom
32-new-value-handling
Open

Updated to use PropertyValue method for fixed values / regexes#33
ptsefton wants to merge 1 commit into
masterfrom
32-new-value-handling

Conversation

@ptsefton

Copy link
Copy Markdown
Contributor

This updates the schema and profile to use the new method of handling fixed values (and new regex support - which will change again soon to use shacl props) as per issue 32

"sh:maxCount": "1",
"description": "There must with the path `README.html` in the root of the RO-Crate, and it must be described by an entity of type README_Entity with an @id of `README.html`.",
"value": "README.html"
"description": "There must with the path `README.html` in the root of the RO-Crate, and it must be described by an entity of type README_Entity with an @id of `README.html`."

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sentence doesn't make sense here. And where is the README.html? don't see it in this crate

{
"@id": "#property_CreativeWork_README.id",
"@type": "rdf:Property",
"description": "README file must have an @id matching /^readme\\.md$/i.",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the escaped \ here intentional?

@@ -1,4 +1,4 @@
{

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{ should be kept or the end bracket removed as well

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants