-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Needs schema files #83
Comments
@mamund I'm working to create JSONSchema for ALPS. One question. I found {
"alps" : {
"version" : "1.0",
"doc" : {
"href" : "http://example.org/samples/full/doc.html"
},
"descriptor" : [
{
"id" : "search",
"type" : "safe",
"doc" : {"value" :
"A search form with a two inputs"
},
"descriptor" : [
{
"id" : "value",
"name" : "search",
"type" : "descriptor",
"doc" : { "value" : "input for search" }
},
{ "href" : "#resultType" }
]
},
{
"id" : "resultType",
"type" : "descriptor",
"description" : {"value" : "results format"},
"ext" : [
{
"href" : "http://alps.io/ext/range",
"value" : "summary,detail"
}
]
}
]
}
} but What is the type |
Hmmmm.
Not sure about this.
Is this summer kind of extension?
Or just a typo?
…On Fri, Apr 5, 2019, 23:00 Akihito Koriyama ***@***.***> wrote:
@mamund <https://github.com/mamund> I'm working to create JSONSchema for
ALPS.
One question.
I found "type" : "descriptor" in the sample list on last in
http://alps.io/spec/drafts/draft-01.html#prop-descriptor .
{
"alps" : {
"version" : "1.0",
"doc" : {
"href" : "http://example.org/samples/full/doc.html"
},
"descriptor" : [
{
"id" : "search",
"type" : "safe",
"doc" : {"value" :
"A search form with a two inputs"
},
"descriptor" : [
{
"id" : "value",
"name" : "search",
"type" : "descriptor",
"doc" : { "value" : "input for search" }
},
{ "href" : "#resultType" }
]
},
{
"id" : "resultType",
"type" : "descriptor",
"description" : {"value" : "results format"},
"ext" : [
{
"href" : "http://alps.io/ext/range",
"value" : "summary,detail"
}
]
}
]
}
}
but type should be either semantic, safe, idempotent or unsafe ?
http://alps.io/spec/drafts/draft-01.html#rfc.section.2.2.12
What is the type descriptor?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#83 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AACVyPB0VduSEJiv4aAwXLbNxczeDLtDks5veA27gaJpZM4cf7yk>
.
|
Seems typo for me ... |
Found PR (the year 2015) for this 😅 |
Create JSON Schema file [#83] i've merged this into master. it may need a bit of tweaking but is a great start. thanks.
@mamund You are welcome. Feel good that I could contribute your work at last. :) |
happy we are working on this together, too. |
It would be great if we have schema files (XSD and JSONSchema). Not only the validator can check the validity but also It helps to complete input in the modern text editor.
The text was updated successfully, but these errors were encountered: