Roberto Polli

Results 469 comments of Roberto Polli

> having the Primer treated as its own doc (doesn't need to be a separate repo) from inception is best +1 to integrate in a separate repo, unless there's specific...

From @gkellogg https://github.com/json-ld/yaml-ld/pull/34/files#r912093915 > We should probably discuss how YAML dates and dateTime (equivalents) are treated. Presumably, as part of the extended > profile, they can be expanded into their...

I just learn now about JSON Literals... I think it is a very complex feature if you see it as a literal, because even JSON parsers will not treat it...

@VladimirAlexiev Afaik JSON grammar allows duplicate keys. You need JCS to forbid duplicate keys @gkellogg > A SHOULD statement on using the JSON sub-set of YAML seems reasonable, and allows...

@gkellogg > treated as JSON Literals ... Does JSON-LD use JCS or JSON? What happens in the case of the JSON literal I wrote above ? https://github.com/json-ld/yaml-ld/issues/36#issuecomment-1173637884

> JSON Literals, the spec uses JCS iiuc: > "JSON subset" is the subset of YAML which is, effectively JSON > .. Infra map ... Infra map: ordered sequence of...

@gkellogg can you please check if this way of using `@json` in YAML is consistent with the above words? https://github.com/ioggstream/draft-polli-restapi-ld-keywords/pull/3/files

That's exactly the kind of discussions and examples we need :) ``` "@context": xsd: http://www.w3.org/2001/XMLSchema# "@vocab": http://example.com/ns/Company/ founder: "@context": &person-context "@vocab": http://example.com/ns/Person/ birthDate: "@type": xsd:date employee: "@context": *person-context ```

@VladimirAlexiev let me try to clarify your examples: ### Syntax tweak. A keyword cannot start with `*`; Anchor is attached to a node. ``` Bart: &BartSimpsons # create an anchor...

@gkellogg there's an ongoing discussion on YAML fragids here https://github.com/ietf-wg-httpapi/mediatypes/issues/50 There's a proposal for applying to all xxx+yaml the fragid defined for yaml. Please have a look at the thread...