File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ """A JSON schema"""
2+ type JSONSchema {
3+ """The identifier of the schema"""
4+ id : String !
5+
6+ """A URL from which the schema can be accessed"""
7+ url : String !
8+
9+ """The type of object the shema describes (if known)"""
10+ type : String
11+
12+ """The title of the schema"""
13+ title : String
14+
15+ """The version of the schema"""
16+ version : String
17+
18+ """The instrument the schema was created for"""
19+ instrument : String
20+
21+ """The description og the schema"""
22+ description : String
23+ }
24+
25+ type Query {
26+ _service : _Service !
27+ jsonSchema (url : String ! ): JSONSchema
28+ jsonSchemas (type : String = null , instrument : String = null ): [JSONSchema ! ]!
29+ }
30+
31+ scalar _Any
32+
33+ type _Service {
34+ sdl : String !
35+ }
Original file line number Diff line number Diff line change @@ -15,3 +15,7 @@ subgraphs:
1515 routing_url : https://sample-information.diamond.ac.uk/api/graphql
1616 schema :
1717 file : schema/samples.graphql
18+ schemas :
19+ routing_url : https://schemas.diamond.ac.uk/graphql
20+ schema :
21+ file : schema/schemas.graphql
You can’t perform that action at this time.
0 commit comments