Skip to content

Commit

Permalink
Merge pull request #1576 from aml-org/W-11542569
Browse files Browse the repository at this point in the history
W 11542569
  • Loading branch information
nschejtman authored Sep 6, 2022
2 parents c7c2afd + 35a2f39 commit 4ca7f39
Show file tree
Hide file tree
Showing 16 changed files with 1,500 additions and 173 deletions.
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"
}
]
}
]
}
Loading

0 comments on commit 4ca7f39

Please sign in to comment.