Différences entre les versions de « Discussion utilisateur:Kghbln »
De Semantic MediaWiki - Sandbox
(+ toc) |
(merci) Balise : Éditeur de wikicode 2017 |
||
(5 versions intermédiaires par 2 utilisateurs non affichées) | |||
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.<br />[[Utilisateur:Alex Mashin|Alex Mashin]] ([[Discussion utilisateur:Alex Mashin|discussion]]) 20 novembre 2021 à 10:35 (CET) | ||
+ | : Done. Showing an error though. Cheers --[[Utilisateur:Kghbln|[[kgh]]]] ([[Discussion utilisateur:Kghbln|discussion]]) 20 novembre 2021 à 10:36 (CET) | ||
+ | :: Ah not saved. Omg. --[[Utilisateur:Kghbln|[[kgh]]]] ([[Discussion utilisateur:Kghbln|discussion]]) 20 novembre 2021 à 10:40 (CET) | ||
+ | ::: Done now after disabling Lingo and Semantic Glossary. --[[Utilisateur:Kghbln|[[kgh]]]] ([[Discussion utilisateur:Kghbln|discussion]]) 20 novembre 2021 à 10:40 (CET) | ||
+ | * Thank you.<br />[[Utilisateur:Alex Mashin|Alex Mashin]] ([[Discussion utilisateur:Alex Mashin|discussion]]) 20 novembre 2021 à 10:59 (CET) |
Dernière version du 20 novembre 2021 à 11:59
→ page for storing reference data
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.
Alex Mashin (discussion) 20 novembre 2021 à 10:35 (CET)
- Done. Showing an error though. Cheers --[[kgh]] (discussion) 20 novembre 2021 à 10:36 (CET)
- Ah not saved. Omg. --[[kgh]] (discussion) 20 novembre 2021 à 10:40 (CET)
- Done now after disabling Lingo and Semantic Glossary. --[[kgh]] (discussion) 20 novembre 2021 à 10:40 (CET)
- Ah not saved. Omg. --[[kgh]] (discussion) 20 novembre 2021 à 10:40 (CET)
- Thank you.
Alex Mashin (discussion) 20 novembre 2021 à 10:59 (CET)