-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1576 from aml-org/W-11542569
W 11542569
- Loading branch information
Showing
16 changed files
with
1,500 additions
and
173 deletions.
There are no files selected for viewing
247 changes: 247 additions & 0 deletions
247
...li/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.flattened.jsonld
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,247 @@ | ||
{ | ||
"@graph": [ | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/web-api", | ||
"@type": [ | ||
"http://a.ml/vocabularies/apiContract#WebAPI", | ||
"http://a.ml/vocabularies/apiContract#API", | ||
"http://a.ml/vocabularies/document#RootDomainElement", | ||
"http://a.ml/vocabularies/document#DomainElement" | ||
], | ||
"http://a.ml/vocabularies/core#name": "directive-repeatable.graphql" | ||
}, | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/BaseUnitProcessingData", | ||
"@type": [ | ||
"http://a.ml/vocabularies/document#APIContractProcessingData" | ||
], | ||
"http://a.ml/vocabularies/apiContract#modelVersion": "3.6.0", | ||
"http://a.ml/vocabularies/document#sourceSpec": "GraphQL" | ||
}, | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql", | ||
"http://a.ml/vocabularies/document#declares": [ | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/shape/Person" | ||
}, | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/doc" | ||
} | ||
], | ||
"@type": [ | ||
"http://a.ml/vocabularies/document#Document", | ||
"http://a.ml/vocabularies/document#Fragment", | ||
"http://a.ml/vocabularies/document#Module", | ||
"http://a.ml/vocabularies/document#Unit" | ||
], | ||
"http://a.ml/vocabularies/document#encodes": { | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/web-api" | ||
}, | ||
"http://a.ml/vocabularies/document#root": true, | ||
"http://a.ml/vocabularies/document#processingData": { | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/BaseUnitProcessingData" | ||
} | ||
}, | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/shape/Person", | ||
"@type": [ | ||
"http://www.w3.org/ns/shacl#NodeShape", | ||
"http://a.ml/vocabularies/shapes#AnyShape", | ||
"http://www.w3.org/ns/shacl#Shape", | ||
"http://a.ml/vocabularies/shapes#Shape", | ||
"http://a.ml/vocabularies/document#DomainElement" | ||
], | ||
"http://www.w3.org/ns/shacl#property": [ | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/shape/Person/property/property/name" | ||
} | ||
], | ||
"http://www.w3.org/ns/shacl#name": "Person", | ||
"file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/doc": [ | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/shape/Person/customDomainProperties/doc/data-node" | ||
}, | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/shape/Person/customDomainProperties/doc_1/data-node" | ||
} | ||
], | ||
"http://a.ml/vocabularies/document#customDomainProperties": [ | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/doc" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/doc", | ||
"@type": [ | ||
"http://a.ml/vocabularies/document#DomainProperty", | ||
"http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", | ||
"http://a.ml/vocabularies/document#DomainElement" | ||
], | ||
"http://www.w3.org/2000/01/rdf-schema#domain": [ | ||
{ | ||
"@id": "http://www.w3.org/ns/shacl#NodeShape" | ||
} | ||
], | ||
"http://a.ml/vocabularies/shapes#schema": { | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/doc/shape/default-node" | ||
}, | ||
"http://a.ml/vocabularies/core#name": "doc", | ||
"http://a.ml/vocabularies/core#repeatable": true | ||
}, | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/shape/Person/property/property/name", | ||
"@type": [ | ||
"http://www.w3.org/ns/shacl#PropertyShape", | ||
"http://www.w3.org/ns/shacl#Shape", | ||
"http://a.ml/vocabularies/shapes#Shape", | ||
"http://a.ml/vocabularies/document#DomainElement" | ||
], | ||
"http://a.ml/vocabularies/shapes#range": { | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/shape/Person/property/property/name/scalar/default-scalar" | ||
}, | ||
"http://www.w3.org/ns/shacl#minCount": 0, | ||
"http://www.w3.org/ns/shacl#name": "name" | ||
}, | ||
{ | ||
"http://a.ml/vocabularies/core#extensionName": "doc", | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/shape/Person/customDomainProperties/doc/data-node", | ||
"@type": [ | ||
"http://a.ml/vocabularies/data#Object", | ||
"http://a.ml/vocabularies/data#Node", | ||
"http://a.ml/vocabularies/document#DomainElement" | ||
], | ||
"http://a.ml/vocabularies/data#value": { | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/shape/Person/customDomainProperties/doc/data-node/value" | ||
} | ||
}, | ||
{ | ||
"http://a.ml/vocabularies/core#extensionName": "doc", | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/shape/Person/customDomainProperties/doc_1/data-node", | ||
"@type": [ | ||
"http://a.ml/vocabularies/data#Object", | ||
"http://a.ml/vocabularies/data#Node", | ||
"http://a.ml/vocabularies/document#DomainElement" | ||
], | ||
"http://a.ml/vocabularies/data#value": { | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/shape/Person/customDomainProperties/doc_1/data-node/value" | ||
} | ||
}, | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/doc/shape/default-node", | ||
"@type": [ | ||
"http://www.w3.org/ns/shacl#NodeShape", | ||
"http://a.ml/vocabularies/shapes#AnyShape", | ||
"http://www.w3.org/ns/shacl#Shape", | ||
"http://a.ml/vocabularies/shapes#Shape", | ||
"http://a.ml/vocabularies/document#DomainElement" | ||
], | ||
"http://www.w3.org/ns/shacl#property": [ | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/doc/shape/default-node/property/property/value" | ||
} | ||
], | ||
"http://a.ml/vocabularies/shapes#inputOnly": true | ||
}, | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/shape/Person/property/property/name/scalar/default-scalar", | ||
"@type": [ | ||
"http://a.ml/vocabularies/shapes#ScalarShape", | ||
"http://a.ml/vocabularies/shapes#AnyShape", | ||
"http://www.w3.org/ns/shacl#Shape", | ||
"http://a.ml/vocabularies/shapes#Shape", | ||
"http://a.ml/vocabularies/document#DomainElement" | ||
], | ||
"http://www.w3.org/ns/shacl#datatype": [ | ||
{ | ||
"@id": "http://www.w3.org/2001/XMLSchema#string" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/shape/Person/customDomainProperties/doc/data-node/value", | ||
"@type": [ | ||
"http://a.ml/vocabularies/data#Scalar", | ||
"http://a.ml/vocabularies/data#Node", | ||
"http://a.ml/vocabularies/document#DomainElement" | ||
], | ||
"http://a.ml/vocabularies/data#value": "Doc 1", | ||
"http://www.w3.org/ns/shacl#datatype": [ | ||
{ | ||
"@id": "http://www.w3.org/2001/XMLSchema#string" | ||
} | ||
], | ||
"http://a.ml/vocabularies/core#name": "value" | ||
}, | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/shape/Person/customDomainProperties/doc_1/data-node/value", | ||
"@type": [ | ||
"http://a.ml/vocabularies/data#Scalar", | ||
"http://a.ml/vocabularies/data#Node", | ||
"http://a.ml/vocabularies/document#DomainElement" | ||
], | ||
"http://a.ml/vocabularies/data#value": "Doc 2", | ||
"http://www.w3.org/ns/shacl#datatype": [ | ||
{ | ||
"@id": "http://www.w3.org/2001/XMLSchema#string" | ||
} | ||
], | ||
"http://a.ml/vocabularies/core#name": "value" | ||
}, | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/doc/shape/default-node/property/property/value", | ||
"@type": [ | ||
"http://www.w3.org/ns/shacl#PropertyShape", | ||
"http://www.w3.org/ns/shacl#Shape", | ||
"http://a.ml/vocabularies/shapes#Shape", | ||
"http://a.ml/vocabularies/document#DomainElement" | ||
], | ||
"http://a.ml/vocabularies/shapes#range": { | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/doc/shape/default-node/property/property/value/union/default-union" | ||
}, | ||
"http://www.w3.org/ns/shacl#name": "value" | ||
}, | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/doc/shape/default-node/property/property/value/union/default-union", | ||
"@type": [ | ||
"http://a.ml/vocabularies/shapes#UnionShape", | ||
"http://a.ml/vocabularies/shapes#AnyShape", | ||
"http://www.w3.org/ns/shacl#Shape", | ||
"http://a.ml/vocabularies/shapes#Shape", | ||
"http://a.ml/vocabularies/document#DomainElement" | ||
], | ||
"http://a.ml/vocabularies/shapes#anyOf": [ | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/doc/shape/default-node/property/property/value/union/default-union/anyOf/nil/default-nil" | ||
}, | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/doc/shape/default-node/property/property/value/union/default-union/anyOf/scalar/default-scalar" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/doc/shape/default-node/property/property/value/union/default-union/anyOf/nil/default-nil", | ||
"@type": [ | ||
"http://a.ml/vocabularies/shapes#NilShape", | ||
"http://www.w3.org/ns/shacl#Shape", | ||
"http://a.ml/vocabularies/shapes#Shape", | ||
"http://a.ml/vocabularies/document#DomainElement" | ||
] | ||
}, | ||
{ | ||
"@id": "file://amf-cli/shared/src/test/resources/graphql/tck/apis/valid/directive-repeatable.graphql#/declares/doc/shape/default-node/property/property/value/union/default-union/anyOf/scalar/default-scalar", | ||
"@type": [ | ||
"http://a.ml/vocabularies/shapes#ScalarShape", | ||
"http://a.ml/vocabularies/shapes#AnyShape", | ||
"http://www.w3.org/ns/shacl#Shape", | ||
"http://a.ml/vocabularies/shapes#Shape", | ||
"http://a.ml/vocabularies/document#DomainElement" | ||
], | ||
"http://www.w3.org/ns/shacl#datatype": [ | ||
{ | ||
"@id": "http://www.w3.org/2001/XMLSchema#string" | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.