1
0
mirror of https://codeberg.org/fediverse/fep.git synced 2026-08-17 15:08:39 +00:00

0499: Add ontology statement that multibox is optional

This commit is contained in:
a
2024-10-10 13:58:17 -05:00
parent 753a399dd7
commit 841511ff56
9 changed files with 53 additions and 32 deletions
+26 -22
View File
@@ -6,28 +6,6 @@
}
},
"@graph": [
{
"@id": "https://w3id.org/fep/0499/multibox",
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
"http://www.w3.org/2000/01/rdf-schema#comment": {
"@language": "en",
"@value": "An optional endpoint used for wide delivery of activities to multiple inboxes. POST an Add activity where the object is at least one activity to be delivered, and the target is at least one inbox to deliver to."
},
"http://www.w3.org/2000/01/rdf-schema#isDefinedBy": {
"@id": "https://w3id.org/fep/0499"
},
"http://www.w3.org/2000/01/rdf-schema#label": {
"@language": "en",
"@value": "multibox endpoint"
},
"http://www.w3.org/2000/01/rdf-schema#range": {
"@id": "http://www.w3.org/2000/01/rdf-schema#Resource"
},
"http://www.w3.org/2002/07/owl#maxCardinality": {
"@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger",
"@value": "1"
}
},
{
"@id": "https://w3id.org/fep/0499",
"@type": "http://www.w3.org/2002/07/owl#Ontology",
@@ -49,6 +27,32 @@
"@id": "https://creativecommons.org/publicdomain/zero/1.0/"
},
"http://purl.org/dc/terms/title": "FEP-0499: Delivering to multiple inboxes with a multibox endpoint"
},
{
"@id": "https://w3id.org/fep/0499/multibox",
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
"http://www.w3.org/2000/01/rdf-schema#comment": {
"@language": "en",
"@value": "An optional endpoint used for wide delivery of activities to multiple inboxes. POST an Add activity where the object is at least one activity to be delivered, and the target is at least one inbox to deliver to."
},
"http://www.w3.org/2000/01/rdf-schema#isDefinedBy": {
"@id": "https://w3id.org/fep/0499"
},
"http://www.w3.org/2000/01/rdf-schema#label": {
"@language": "en",
"@value": "multibox endpoint"
},
"http://www.w3.org/2000/01/rdf-schema#range": {
"@id": "http://www.w3.org/2000/01/rdf-schema#Resource"
},
"http://www.w3.org/2002/07/owl#maxCardinality": {
"@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger",
"@value": "1"
},
"http://www.w3.org/2002/07/owl#minCardinality": {
"@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger",
"@value": "0"
}
}
],
"@id": "https://w3id.org/fep/0499#"
+2
View File
@@ -157,6 +157,8 @@ Content-Type: application/ld+json; profile="https://www.w3.org/ns/activitystream
"@context": "https://www.w3.org/ns/activitystreams",
"id": "https://remote.example/actors/af4c8205cd81",
"type": "Person",
"name": "Alice P. Hacker",
"inbox": "https://remote.example/inboxes/fbb433c8e6c4",
"endpoints": {
"https://w3id.org/fep/0499/multibox": {"id": "https://remote.example/multibox"}
}
+9 -8
View File
@@ -6,14 +6,6 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
>
<rdf:Description rdf:about="https://w3id.org/fep/0499/multibox">
<rdfs:isDefinedBy rdf:resource="https://w3id.org/fep/0499"/>
<owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:maxCardinality>
<rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
<rdfs:comment xml:lang="en">An optional endpoint used for wide delivery of activities to multiple inboxes. POST an Add activity where the object is at least one activity to be delivered, and the target is at least one inbox to deliver to.</rdfs:comment>
<rdfs:label xml:lang="en">multibox endpoint</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about="https://w3id.org/fep/0499">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Ontology"/>
<dcterms:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">https://w3id.org/fep/0499</dcterms:identifier>
@@ -24,4 +16,13 @@
<dc:creator>a &lt;trwnh.com&gt;</dc:creator>
<dcterms:dateSubmitted rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2024-09-30</dcterms:dateSubmitted>
</rdf:Description>
<rdf:Description rdf:about="https://w3id.org/fep/0499/multibox">
<owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:maxCardinality>
<rdfs:isDefinedBy rdf:resource="https://w3id.org/fep/0499"/>
<owl:minCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">0</owl:minCardinality>
<rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
<rdfs:comment xml:lang="en">An optional endpoint used for wide delivery of activities to multiple inboxes. POST an Add activity where the object is at least one activity to be delivered, and the target is at least one inbox to deliver to.</rdfs:comment>
<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
<rdfs:label xml:lang="en">multibox endpoint</rdfs:label>
</rdf:Description>
</rdf:RDF>
+2 -1
View File
@@ -10,7 +10,8 @@
rdfs:comment "An optional endpoint used for wide delivery of activities to multiple inboxes. POST an Add activity where the object is at least one activity to be delivered, and the target is at least one inbox to deliver to."@en ;
rdfs:isDefinedBy <https://w3id.org/fep/0499> ;
rdfs:range rdfs:Resource ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger .
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:minCardinality "0"^^xsd:nonNegativeInteger .
<https://w3id.org/fep/0499> a owl:Ontology ;
dc:creator "a <trwnh.com>" ;
+3
View File
@@ -15,6 +15,9 @@ Domain
Range
: The endpoint (@id)
Required
: No
Functional
: Yes
+2
View File
@@ -17,6 +17,8 @@
<dd>A map of <code>endpoints</code></dd>
<dt>Range</dt>
<dd property="rdfs:range" resource="rdfs:Resource">The endpoint (@id)</dd>
<dt>Required</dt>
<dd content="0" datatype="xsd:nonNegativeInteger" property="owl:minCardinality">No</dd>
<dt>Functional</dt>
<dd content="1" datatype="xsd:nonNegativeInteger" property="owl:maxCardinality">Yes</dd>
<dt>Is defined by</dt>
+6
View File
@@ -31,6 +31,12 @@
"@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger",
"@value": "1"
}
],
"http://www.w3.org/2002/07/owl#minCardinality": [
{
"@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger",
"@value": "0"
}
]
}
]
+1
View File
@@ -9,6 +9,7 @@
<rdfs:label xml:lang="en">multibox endpoint</rdfs:label>
<rdfs:comment xml:lang="en">An optional endpoint used for wide delivery of activities to multiple inboxes. POST an Add activity where the object is at least one activity to be delivered, and the target is at least one inbox to deliver to.</rdfs:comment>
<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
<owl:minCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">0</owl:minCardinality>
<owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:maxCardinality>
<rdfs:isDefinedBy rdf:resource="https://w3id.org/fep/0499"/>
</rdf:Description>
+2 -1
View File
@@ -8,4 +8,5 @@
rdfs:comment "An optional endpoint used for wide delivery of activities to multiple inboxes. POST an Add activity where the object is at least one activity to be delivered, and the target is at least one inbox to deliver to."@en ;
rdfs:isDefinedBy <https://w3id.org/fep/0499> ;
rdfs:range rdfs:Resource ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger .
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:minCardinality "0"^^xsd:nonNegativeInteger .