Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adding status property and ResourceStatus class with active and delet…
…ed individuals
  • Loading branch information
escowles committed Sep 3, 2014
1 parent cba085a commit 92536b8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions rest-api.rdf
Expand Up @@ -50,4 +50,24 @@
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
</owl:DatatypeProperty>

<owl:ObjectProperty rdf:about="http://fedora.info/definitions/v4/rest-api#status">
<rdfs:label xml:lang="en">status</rdfs:label>
<rdfs:comment xml:lang="en">Describes the status of a resource, such as active or deleted.</rdfs:comment>
<rdfs:range rdf:resource="http://fedora.info/definitions/v4/rest-api#ResourceStatus"/>
</owl:ObjectProperty>

This comment has been minimized.

Copy link
@ajs6f

ajs6f Sep 3, 2014

Contributor

Do we want to put a domain on this?

This comment has been minimized.

Copy link
@escowles

escowles Sep 3, 2014

Author Contributor

fcrepo:Resource?

This comment has been minimized.

Copy link
@ajs6f

ajs6f Sep 3, 2014

Contributor

That would be my immediate take. But maybe we want to be open about this? I'm trying to think of cases for a non-fcrepo:Resource to have a state... can an fcrepo:Fixity have a state? Can a fcrepo:InboundReferences have a state?Etc.

This comment has been minimized.

Copy link
@awoods

awoods Sep 3, 2014

fcrepo:Resource sounds like a reasonable start.
We can push this through once the domain has been added.

This comment has been minimized.

Copy link
@ajs6f

ajs6f Sep 3, 2014

Contributor

Wouldn't you rather dither and debate it a few more days? We could really get into the minutia of what a resource really is, and what it means to have a state, and all kinds of navel-gazing...

<owl:Class rdf:about="http://fedora.info/definitions/v4/rest-api#ResourceStatus">
<rdfs:label xml:lang="en">resource status</rdfs:label>
<rdfs:comment xml:lang="en">Values of the status property. The default values are active and deleted -- but additional values can be created.</rdfs:comment>
</owl:Class>
<owl:Individual rdf:about="http://fedora.info/definitions/v4/rest-api#active">
<rdfs:label xml:lang="en">active</rdfs:label>
<rdfs:comment xml:lang="en">The resource is active.</rdfs:comment>
<rdf:type rdf:resource="http://fedora.info/definitions/v4/rest-api#ResourceStatus"/>
</owl:Individual>
<owl:Individual rdf:about="http://fedora.info/definitions/v4/rest-api#deleted">
<rdfs:label xml:lang="en">deleted</rdfs:label>
<rdfs:comment xml:lang="en">The resource has been marked for deletion.</rdfs:comment>
<rdf:type rdf:resource="http://fedora.info/definitions/v4/rest-api#ResourceStatus"/>
</owl:Individual>

</rdf:RDF>

0 comments on commit 92536b8

Please sign in to comment.