Accord-Project / API-Development

API Development Working Area
0 stars 0 forks source link

Is there any schema of a Building Code? #10

Closed nataschake closed 6 months ago

nataschake commented 6 months ago

hi @beachtom @Gonsco, in the yaml I see elaborated structure to be returned by the API, e.g. shortName, title, etc., but where this schema is defined? In aec3po ontologies family there is no shortName. Moreover, two POST methods envisage GraphQL use, but without the schema GraphQL can't be used. Correct me if I am wrong)

beachtom commented 6 months ago

In terms of those - title should map to dct:title in the ontology - except shortname should be URL Safe. I guess this is not clear and should be updated

So it was a task on @VladimirAlexiev to create the GraphQL schema - but I think he blocked on me fixing a few things that should be done this week

VladimirAlexiev commented 6 months ago

@nataschake : Tom is correct: we're giving up GraphQL for now, until

/{shortName} is only found in Tom's draft API, right? That's the named graph, or its "slug" (i.e. last part after a common namespace).

@beachtom (cc @Gonsco): Aiming for precision (and a round-trip), two corrections are needed for bcrl\FI-accessibility-experiment\Tom Example\FI2.jsonld:

beachtom commented 6 months ago

This is now sorted