logo

Crowdly

Browser

Add to Chrome

Soit le schéma suivant. Quelles instances sont valides ? { "type": "object",...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Soit le schéma suivant. Quelles instances sont valides ?

{

"type": "object",

"properties": {

"pays": { "type": "string" },

"cp": { "type": "string" }

},

"if": { "properties": { "pays": { "const": "FR" } },

"required": ["pays"] },

"then": { "required": ["cp"],

"properties": { "cp": { "pattern": "^[0-9]{5}$" } } }

}

0%
0%
0%
0%
100%
More questions like this

Want instant access to all verified answers on moodle.univ-lr.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome