poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] JSON Schema Mapping property now works as expected


From: Jose E. Marchesi
Subject: Re: [PATCH] JSON Schema Mapping property now works as expected
Date: Sat, 03 Apr 2021 12:25:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hi Kostas.

> Recently we had a discussion with Mohammad on IRC about "Mapping" object
> on the JSON Schema.
>
> We had an issue the following issue.
>
> Suppose "mapped" was false (which means the object is not mapped), then
> "IOS", "strict" and "offset" did not need to be defined so the only truly
> "required" field was "mapped".

I don't agree with that premise.

Composite PVM values can be mapped or not.
They also have attributes IOS/strict/offset.

These are orthogonal: IOS, strict and offset can (and are) set
independently of the value being mapped or not.

Consequently I would say the JSON should require the user to provide all
of these fields...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]