[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: JSON Schema
From: |
Konstantinos Chasialis |
Subject: |
Re: JSON Schema |
Date: |
Sat, 30 May 2020 00:43:07 +0300 |
User-agent: |
SquirrelMail/1.4.23 [email.uoa.gr] |
>>
>> "Method" : {
>> "type" : "object",
>> "properties" : {
>> "name" : {
>> "type" : "object",
>> "$ref" : "#/definitions/String"
>> },
>> "value" : {
>> "type" : "object",
>> "$ref" : "#/definitions/Closure"
>> }
>> }
>> },
>> [...]
>> "Closure" : {
>> "type" : "object",
>> "properties" : {
>> "type" : {
>> "type" : "string",
>> "const" : "Closure"
>> },
>> },
>> "$comment" : "maxProperties 1 for now",
>> "maxProperties" : 1,
>> "required" : ["type"]
>> },
>>
>> I don't think it is a good idea to export the notion of closure in the
>> JSON interface, since we don't have an useful way to describe their
>> components: the associated PVM program and the run-time environment. I
>> suggest to remove them from the schema.
>>
>
So, to sum up, you think its a good idea to remove Closure object and
Methods from Struct object (and also from the pk-val interface). Am I
right? :)
- JSON Schema, Konstantinos Chasialis, 2020/05/27
- Re: JSON Schema, Konstantinos Chasialis, 2020/05/27
- Re: JSON Schema, Jose E. Marchesi, 2020/05/29
- Message not available
- Re: JSON Schema,
Konstantinos Chasialis <=