Différences entre les versions de « Discussion utilisateur:Kghbln »

De Semantic MediaWiki - Sandbox

(+ toc)
(→‎Constraint : nouvelle section)
Balise : Éditeur de wikicode 2017
Ligne 4 : Ligne 4 :
 
----
 
----
 
----
 
----
 +
 +
== Constraint ==
 +
 +
Could you please create a constraint called ''[[smw/schema:Constraint:MandatoryProperties]]'' with the content:
 +
<pre>{
 +
    "type": "CLASS_CONSTRAINT_SCHEMA",
 +
    "constraints": {
 +
        "mandatory_properties": [ "Mandatory 1", "Mandatory 2" ]
 +
    },
 +
    "tags": [
 +
        "class constraint",
 +
        "mandatory properties"
 +
    ]
 +
}</pre>? I have no permissions do that. I am trying to reproduce an integration test case "#4 (violation of `mandatory_properties`, missing two properties, subobject)" from p-1110.json.

Version du 20 novembre 2021 à 11:35

→ page for storing reference data

Archives of this page: 2019 - 2018 - 2017 - 2015


Constraint

Could you please create a constraint called smw/schema:Constraint:MandatoryProperties with the content:

{
    "type": "CLASS_CONSTRAINT_SCHEMA",
    "constraints": {
        "mandatory_properties": [ "Mandatory 1", "Mandatory 2" ]
    },
    "tags": [
        "class constraint",
        "mandatory properties"
    ]
}

? I have no permissions do that. I am trying to reproduce an integration test case "#4 (violation of `mandatory_properties`, missing two properties, subobject)" from p-1110.json.

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.