UNPKG

@elastic-suite/gally-admin-shared

Version:
1,502 lines (1,501 loc) 135 kB
{ "@context": { "@vocab": "https://localhost/docs.jsonld#", "hydra": "http://www.w3.org/ns/hydra/core#", "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "xmls": "http://www.w3.org/2001/XMLSchema#", "owl": "http://www.w3.org/2002/07/owl#", "schema": "http://schema.org/", "domain": { "@id": "rdfs:domain", "@type": "@id" }, "range": { "@id": "rdfs:range", "@type": "@id" }, "subClassOf": { "@id": "rdfs:subClassOf", "@type": "@id" }, "expects": { "@id": "hydra:expects", "@type": "@id" }, "returns": { "@id": "hydra:returns", "@type": "@id" } }, "@id": "/docs.jsonld", "@type": "hydra:ApiDocumentation", "hydra:title": "Gally API", "hydra:entrypoint": "/", "hydra:supportedClass": [ { "@id": "#Metadata", "@type": "hydra:Class", "label": "Metadata", "hydra:title": "Metadata", "hydra:supportedProperty": [ { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#Metadata/entity", "@type": "rdf:Property", "label": "entity", "domain": "#Metadata", "range": "xmls:string" }, "hydra:title": "entity", "hydra:required": true, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#Metadata/sourceFields", "@type": "hydra:Link", "label": "sourceFields", "domain": "#Metadata", "range": "#SourceField" }, "hydra:title": "sourceFields", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true } ], "hydra:supportedOperation": [ { "@type": ["hydra:Operation", "schema:FindAction"], "hydra:method": "GET", "hydra:title": "Retrieves Metadata resource.", "label": "Retrieves Metadata resource.", "returns": "#Metadata" }, { "@type": ["hydra:Operation", "schema:ReplaceAction"], "expects": "#Metadata", "hydra:method": "PUT", "hydra:title": "Replaces the Metadata resource.", "label": "Replaces the Metadata resource.", "returns": "#Metadata" }, { "@type": "hydra:Operation", "expects": "#Metadata", "hydra:method": "PATCH", "hydra:title": "Updates the Metadata resource.", "label": "Updates the Metadata resource.", "returns": "#Metadata" }, { "@type": ["hydra:Operation", "schema:DeleteAction"], "hydra:method": "DELETE", "hydra:title": "Deletes the Metadata resource.", "label": "Deletes the Metadata resource.", "returns": "owl:Nothing" } ] }, { "@id": "#SourceField", "@type": "hydra:Class", "label": "SourceField", "hydra:title": "SourceField", "hydra:supportedProperty": [ { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceField/code", "@type": "rdf:Property", "label": "Attribute code", "domain": "#SourceField", "range": "xmls:string" }, "hydra:title": "code", "hydra:required": true, "hydra:readable": true, "hydra:writeable": true, "gally": { "visible": true, "editable": false, "position": 10 } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceField/defaultLabel", "@type": "rdf:Property", "label": "Attribute label", "domain": "#SourceField", "range": "xmls:string" }, "hydra:title": "defaultLabel", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "visible": true, "editable": false, "position": 20 } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceField/type", "@type": "rdf:Property", "label": "Attribute type", "domain": "#SourceField", "range": "xmls:string" }, "hydra:title": "type", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "visible": true, "editable": false, "position": 30, "input": "select", "options": { "values": [ { "label": "Text", "value": "text" }, { "label": "Keyword", "value": "keyword" }, { "label": "Select", "value": "select" }, { "label": "Int", "value": "int" }, { "label": "Boolean", "value": "boolean" }, { "label": "Float", "value": "float" }, { "label": "Price", "value": "price" }, { "label": "Stock", "value": "stock" }, { "label": "Category", "value": "category" }, { "label": "Reference", "value": "reference" }, { "label": "Image", "value": "image" }, { "label": "Object", "value": "object" }, { "label": "Date", "value": "date" } ] }, "context": { "search_configuration_attributes": { "visible": false } } } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceField/isFilterable", "@type": "rdf:Property", "label": "Filterable", "domain": "#SourceField", "range": "xmls:boolean" }, "hydra:title": "isFilterable", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "visible": true, "editable": true, "position": 40, "context": { "search_configuration_attributes": { "visible": false } } } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceField/isSearchable", "@type": "rdf:Property", "label": "Searchable", "domain": "#SourceField", "range": "xmls:boolean" }, "hydra:title": "isSearchable", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "visible": true, "editable": true, "position": 50, "context": { "search_configuration_attributes": { "visible": false } } } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceField/isSortable", "@type": "rdf:Property", "label": "Sortable", "domain": "#SourceField", "range": "xmls:boolean" }, "hydra:title": "isSortable", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "visible": true, "editable": true, "position": 60, "context": { "search_configuration_attributes": { "visible": false } } } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceField/isUsedForRules", "@type": "rdf:Property", "label": "Use in rule engine", "domain": "#SourceField", "range": "xmls:boolean" }, "hydra:title": "isUsedForRules", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "visible": true, "editable": true, "position": 70, "context": { "search_configuration_attributes": { "visible": false } } } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceField/weight", "@type": "rdf:Property", "label": "Search weight", "domain": "#SourceField", "range": "xmls:integer" }, "hydra:title": "weight", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "visible": false, "editable": true, "position": 80, "input": "select", "options": { "values": [ { "label": "1", "value": 1 }, { "label": "2", "value": 2 }, { "label": "3", "value": 3 }, { "label": "4", "value": 4 }, { "label": "5", "value": 5 }, { "label": "6", "value": 6 }, { "label": "7", "value": 7 }, { "label": "8", "value": 8 }, { "label": "9", "value": 9 }, { "label": "10", "value": 10 } ] }, "context": { "search_configuration_attributes": { "visible": true } } } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceField/isSpellchecked", "@type": "rdf:Property", "label": "Used in spellcheck", "domain": "#SourceField", "range": "xmls:boolean" }, "hydra:title": "isSpellchecked", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "visible": false, "editable": true, "position": 90, "context": { "search_configuration_attributes": { "visible": true } } } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceField/isSystem", "@type": "rdf:Property", "label": "isSystem", "domain": "#SourceField", "range": "xmls:boolean" }, "hydra:title": "isSystem", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceField/metadata", "@type": "hydra:Link", "label": "metadata", "domain": "#SourceField", "owl:maxCardinality": 1, "range": "#Metadata" }, "hydra:title": "metadata", "hydra:required": true, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceField/labels", "@type": "hydra:Link", "label": "labels", "domain": "#SourceField", "range": "#SourceFieldLabel" }, "hydra:title": "labels", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceField/options", "@type": "hydra:Link", "label": "options", "domain": "#SourceField", "range": "#SourceFieldOption" }, "hydra:title": "options", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true } ], "hydra:supportedOperation": [ { "@type": ["hydra:Operation", "schema:FindAction"], "hydra:method": "GET", "hydra:title": "Retrieves SourceField resource.", "label": "Retrieves SourceField resource.", "returns": "#SourceField" }, { "@type": ["hydra:Operation", "schema:ReplaceAction"], "expects": "#SourceField", "hydra:method": "PUT", "hydra:title": "Replaces the SourceField resource.", "label": "Replaces the SourceField resource.", "returns": "#SourceField" }, { "@type": "hydra:Operation", "expects": "#SourceField", "hydra:method": "PATCH", "hydra:title": "Updates the SourceField resource.", "label": "Updates the SourceField resource.", "returns": "#SourceField" }, { "@type": ["hydra:Operation", "schema:DeleteAction"], "hydra:method": "DELETE", "hydra:title": "Deletes the SourceField resource.", "label": "Deletes the SourceField resource.", "returns": "owl:Nothing" } ] }, { "@id": "#CategoryProductMerchandising", "@type": "hydra:Class", "label": "CategoryProductMerchandising", "hydra:title": "CategoryProductMerchandising", "hydra:supportedProperty": [ { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#CategoryProductMerchandising/category", "@type": "hydra:Link", "label": "category", "domain": "#CategoryProductMerchandising", "owl:maxCardinality": 1, "range": "#Category" }, "hydra:title": "category", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#CategoryProductMerchandising/productId", "@type": "rdf:Property", "label": "productId", "domain": "#CategoryProductMerchandising", "range": "xmls:integer" }, "hydra:title": "productId", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#CategoryProductMerchandising/catalog", "@type": "hydra:Link", "label": "catalog", "domain": "#CategoryProductMerchandising", "owl:maxCardinality": 1, "range": "#Catalog" }, "hydra:title": "catalog", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#CategoryProductMerchandising/localizedCatalog", "@type": "hydra:Link", "label": "localizedCatalog", "domain": "#CategoryProductMerchandising", "owl:maxCardinality": 1, "range": "#LocalizedCatalog" }, "hydra:title": "localizedCatalog", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#CategoryProductMerchandising/position", "@type": "rdf:Property", "label": "position", "domain": "#CategoryProductMerchandising", "range": "xmls:integer" }, "hydra:title": "position", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true } ], "hydra:supportedOperation": [ { "@type": ["hydra:Operation", "schema:FindAction"], "hydra:method": "GET", "hydra:title": "Retrieves CategoryProductMerchandising resource.", "label": "Retrieves CategoryProductMerchandising resource.", "returns": "owl:Nothing" }, { "@type": ["hydra:Operation", "schema:FindAction"], "hydra:method": "GET", "hydra:title": "Retrieves CategoryProductMerchandising resource.", "label": "Retrieves CategoryProductMerchandising resource.", "returns": "#CategoryProductMerchandising" } ] }, { "@id": "#Category", "@type": "hydra:Class", "label": "Category", "hydra:title": "Category", "hydra:supportedProperty": [ { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#Category/id", "@type": "rdf:Property", "label": "id", "domain": "#Category", "range": "xmls:string" }, "hydra:title": "id", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#Category/parentId", "@type": "rdf:Property", "label": "parentId", "domain": "#Category", "range": "xmls:string" }, "hydra:title": "parentId", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#Category/level", "@type": "rdf:Property", "label": "level", "domain": "#Category", "range": "xmls:integer" }, "hydra:title": "level", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#Category/path", "@type": "rdf:Property", "label": "path", "domain": "#Category", "range": "xmls:string" }, "hydra:title": "path", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true } ], "hydra:supportedOperation": [ { "@type": ["hydra:Operation", "schema:FindAction"], "hydra:method": "GET", "hydra:title": "Retrieves Category resource.", "label": "Retrieves Category resource.", "returns": "#Category" }, { "@type": ["hydra:Operation", "schema:ReplaceAction"], "expects": "#Category", "hydra:method": "PUT", "hydra:title": "Replaces the Category resource.", "label": "Replaces the Category resource.", "returns": "#Category" }, { "@type": "hydra:Operation", "expects": "#Category", "hydra:method": "PATCH", "hydra:title": "Updates the Category resource.", "label": "Updates the Category resource.", "returns": "#Category" } ] }, { "@id": "#Catalog", "@type": "hydra:Class", "label": "Catalog", "hydra:title": "Catalog", "hydra:supportedProperty": [ { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#Catalog/code", "@type": "rdf:Property", "label": "code", "domain": "#Catalog", "range": "xmls:string" }, "hydra:title": "code", "hydra:required": true, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#Catalog/name", "@type": "rdf:Property", "label": "name", "domain": "#Catalog", "range": "xmls:string" }, "hydra:title": "name", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#Catalog/localizedCatalogs", "@type": "rdf:Property", "label": "localizedCatalogs", "domain": "#Catalog", "range": "#LocalizedCatalog" }, "hydra:title": "localizedCatalogs", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true } ], "hydra:supportedOperation": [ { "@type": ["hydra:Operation", "schema:FindAction"], "hydra:method": "GET", "hydra:title": "Retrieves Catalog resource.", "label": "Retrieves Catalog resource.", "returns": "#Catalog" }, { "@type": ["hydra:Operation", "schema:ReplaceAction"], "expects": "#Catalog", "hydra:method": "PUT", "hydra:title": "Replaces the Catalog resource.", "label": "Replaces the Catalog resource.", "returns": "#Catalog" }, { "@type": "hydra:Operation", "expects": "#Catalog", "hydra:method": "PATCH", "hydra:title": "Updates the Catalog resource.", "label": "Updates the Catalog resource.", "returns": "#Catalog" }, { "@type": ["hydra:Operation", "schema:DeleteAction"], "hydra:method": "DELETE", "hydra:title": "Deletes the Catalog resource.", "label": "Deletes the Catalog resource.", "returns": "owl:Nothing" } ] }, { "@id": "#LocalizedCatalog", "@type": "hydra:Class", "label": "LocalizedCatalog", "hydra:title": "LocalizedCatalog", "hydra:supportedProperty": [ { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#LocalizedCatalog/name", "@type": "rdf:Property", "label": "name", "domain": "#LocalizedCatalog", "range": "xmls:string" }, "hydra:title": "name", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#LocalizedCatalog/code", "@type": "rdf:Property", "label": "code", "domain": "#LocalizedCatalog", "range": "xmls:string" }, "hydra:title": "code", "hydra:required": true, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#LocalizedCatalog/locale", "@type": "rdf:Property", "label": "locale", "domain": "#LocalizedCatalog", "range": "xmls:string" }, "hydra:title": "locale", "hydra:required": true, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "http://schema.org/priceCurrency", "@type": "rdf:Property", "label": "currency", "domain": "#LocalizedCatalog", "range": "xmls:string" }, "hydra:title": "currency", "hydra:required": true, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#LocalizedCatalog/isDefault", "@type": "rdf:Property", "label": "isDefault", "domain": "#LocalizedCatalog", "range": "xmls:boolean" }, "hydra:title": "isDefault", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "hydra:description": "It\u0027s important to keep the getter for isDefault property,\notherwise Api Platform will be not able to get the value in the response,\nin other words don\u0027t rename by IsDefault()." }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#LocalizedCatalog/catalog", "@type": "hydra:Link", "label": "catalog", "domain": "#LocalizedCatalog", "owl:maxCardinality": 1, "range": "#Catalog" }, "hydra:title": "catalog", "hydra:required": true, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#LocalizedCatalog/localName", "@type": "rdf:Property", "label": "localName", "domain": "#LocalizedCatalog", "range": "xmls:string" }, "hydra:title": "localName", "hydra:required": false, "hydra:readable": true, "hydra:writeable": false } ], "hydra:supportedOperation": [ { "@type": ["hydra:Operation", "schema:FindAction"], "hydra:method": "GET", "hydra:title": "Retrieves LocalizedCatalog resource.", "label": "Retrieves LocalizedCatalog resource.", "returns": "#LocalizedCatalog" }, { "@type": ["hydra:Operation", "schema:ReplaceAction"], "expects": "#LocalizedCatalog", "hydra:method": "PUT", "hydra:title": "Replaces the LocalizedCatalog resource.", "label": "Replaces the LocalizedCatalog resource.", "returns": "#LocalizedCatalog" }, { "@type": "hydra:Operation", "expects": "#LocalizedCatalog", "hydra:method": "PATCH", "hydra:title": "Updates the LocalizedCatalog resource.", "label": "Updates the LocalizedCatalog resource.", "returns": "#LocalizedCatalog" }, { "@type": ["hydra:Operation", "schema:DeleteAction"], "hydra:method": "DELETE", "hydra:title": "Deletes the LocalizedCatalog resource.", "label": "Deletes the LocalizedCatalog resource.", "returns": "owl:Nothing" } ] }, { "@id": "#SourceFieldLabel", "@type": "hydra:Class", "label": "SourceFieldLabel", "hydra:title": "SourceFieldLabel", "hydra:supportedProperty": [ { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceFieldLabel/sourceField", "@type": "hydra:Link", "label": "sourceField", "domain": "#SourceFieldLabel", "owl:maxCardinality": 1, "range": "#SourceField" }, "hydra:title": "sourceField", "hydra:required": true, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceFieldLabel/localizedCatalog", "@type": "hydra:Link", "label": "localizedCatalog", "domain": "#SourceFieldLabel", "owl:maxCardinality": 1, "range": "#LocalizedCatalog" }, "hydra:title": "localizedCatalog", "hydra:required": true, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceFieldLabel/label", "@type": "rdf:Property", "label": "label", "domain": "#SourceFieldLabel", "range": "xmls:string" }, "hydra:title": "label", "hydra:required": true, "hydra:readable": true, "hydra:writeable": true } ], "hydra:supportedOperation": [ { "@type": ["hydra:Operation", "schema:FindAction"], "hydra:method": "GET", "hydra:title": "Retrieves SourceFieldLabel resource.", "label": "Retrieves SourceFieldLabel resource.", "returns": "#SourceFieldLabel" }, { "@type": ["hydra:Operation", "schema:ReplaceAction"], "expects": "#SourceFieldLabel", "hydra:method": "PUT", "hydra:title": "Replaces the SourceFieldLabel resource.", "label": "Replaces the SourceFieldLabel resource.", "returns": "#SourceFieldLabel" }, { "@type": "hydra:Operation", "expects": "#SourceFieldLabel", "hydra:method": "PATCH", "hydra:title": "Updates the SourceFieldLabel resource.", "label": "Updates the SourceFieldLabel resource.", "returns": "#SourceFieldLabel" }, { "@type": ["hydra:Operation", "schema:DeleteAction"], "hydra:method": "DELETE", "hydra:title": "Deletes the SourceFieldLabel resource.", "label": "Deletes the SourceFieldLabel resource.", "returns": "owl:Nothing" } ] }, { "@id": "#SourceFieldOption", "@type": "hydra:Class", "label": "SourceFieldOption", "hydra:title": "SourceFieldOption", "hydra:supportedProperty": [ { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceFieldOption/code", "@type": "rdf:Property", "label": "code", "domain": "#SourceFieldOption", "range": "xmls:string" }, "hydra:title": "code", "hydra:required": true, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceFieldOption/sourceField", "@type": "hydra:Link", "label": "sourceField", "domain": "#SourceFieldOption", "owl:maxCardinality": 1, "range": "#SourceField" }, "hydra:title": "sourceField", "hydra:required": true, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceFieldOption/position", "@type": "rdf:Property", "label": "position", "domain": "#SourceFieldOption", "range": "xmls:integer" }, "hydra:title": "position", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceFieldOption/defaultLabel", "@type": "rdf:Property", "label": "defaultLabel", "domain": "#SourceFieldOption", "range": "xmls:string" }, "hydra:title": "defaultLabel", "hydra:required": true, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#SourceFieldOption/labels", "@type": "rdf:Property", "label": "labels", "domain": "#SourceFieldOption", "range": "#SourceFieldOptionLabel" }, "hydra:title": "labels", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true } ], "hydra:supportedOperation": [ { "@type": ["hydra:Operation", "schema:FindAction"], "hydra:method": "GET", "hydra:title": "Retrieves SourceFieldOption resource.", "label": "Retrieves SourceFieldOption resource.", "returns": "#SourceFieldOption" }, { "@type": ["hydra:Operation", "schema:ReplaceAction"], "expects": "#SourceFieldOption", "hydra:method": "PUT", "hydra:title": "Replaces the SourceFieldOption resource.", "label": "Replaces the SourceFieldOption resource.", "returns": "#SourceFieldOption" }, { "@type": "hydra:Operation", "expects": "#SourceFieldOption", "hydra:method": "PATCH", "hydra:title": "Updates the SourceFieldOption resource.", "label": "Updates the SourceFieldOption resource.", "returns": "#SourceFieldOption" }, { "@type": ["hydra:Operation", "schema:DeleteAction"], "hydra:method": "DELETE", "hydra:title": "Deletes the SourceFieldOption resource.", "label": "Deletes the SourceFieldOption resource.", "returns": "owl:Nothing" } ] }, { "@id": "#CategoryConfiguration", "@type": "hydra:Class", "label": "CategoryConfiguration", "hydra:title": "CategoryConfiguration", "hydra:supportedProperty": [ { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#CategoryConfiguration/category", "@type": "hydra:Link", "label": "category", "domain": "#CategoryConfiguration", "owl:maxCardinality": 1, "range": "#Category" }, "hydra:title": "category", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#CategoryConfiguration/catalog", "@type": "hydra:Link", "label": "catalog", "domain": "#CategoryConfiguration", "owl:maxCardinality": 1, "range": "#Catalog" }, "hydra:title": "catalog", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#CategoryConfiguration/localizedCatalog", "@type": "hydra:Link", "label": "localizedCatalog", "domain": "#CategoryConfiguration", "owl:maxCardinality": 1, "range": "#LocalizedCatalog" }, "hydra:title": "localizedCatalog", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#CategoryConfiguration/name", "@type": "rdf:Property", "label": "name", "domain": "#CategoryConfiguration", "range": "xmls:string" }, "hydra:title": "name", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#CategoryConfiguration/isVirtual", "@type": "rdf:Property", "label": "isVirtual", "domain": "#CategoryConfiguration", "range": "xmls:boolean" }, "hydra:title": "isVirtual", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#CategoryConfiguration/virtualRule", "@type": "rdf:Property", "label": "virtualRule", "domain": "#CategoryConfiguration", "range": "xmls:string" }, "hydra:title": "virtualRule", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#CategoryConfiguration/useNameInProductSearch", "@type": "rdf:Property", "label": "useNameInProductSearch", "domain": "#CategoryConfiguration", "range": "xmls:boolean" }, "hydra:title": "useNameInProductSearch", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "depends": { "conditions": { "isVirtual": true }, "disabled": true } } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#CategoryConfiguration/defaultSorting", "@type": "rdf:Property", "label": "defaultSorting", "domain": "#CategoryConfiguration", "range": "xmls:string" }, "hydra:title": "defaultSorting", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "input": "select", "options": { "api_rest": "/product_sorting_options", "api_graphql": "productSortingOptions" } } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#CategoryConfiguration/isActive", "@type": "rdf:Property", "label": "isActive", "domain": "#CategoryConfiguration", "range": "xmls:boolean" }, "hydra:title": "isActive", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true } ], "hydra:supportedOperation": [ { "@type": ["hydra:Operation", "schema:FindAction"], "hydra:method": "GET", "hydra:title": "Retrieves CategoryConfiguration resource.", "label": "Retrieves CategoryConfiguration resource.", "returns": "#CategoryConfiguration" }, { "@type": ["hydra:Operation", "schema:FindAction"], "hydra:method": "GET", "hydra:title": "Retrieves CategoryConfiguration resource.", "label": "Retrieves CategoryConfiguration resource.", "returns": "#CategoryConfiguration" }, { "@type": ["hydra:Operation", "schema:ReplaceAction"], "expects": "#CategoryConfiguration", "hydra:method": "PUT", "hydra:title": "Replaces the CategoryConfiguration resource.", "label": "Replaces the CategoryConfiguration resource.", "returns": "#CategoryConfiguration" }, { "@type": "hydra:Operation", "expects": "#CategoryConfiguration", "hydra:method": "PATCH", "hydra:title": "Updates the CategoryConfiguration resource.", "label": "Updates the CategoryConfiguration resource.", "returns": "#CategoryConfiguration" } ] }, { "@id": "#FacetConfiguration", "@type": "hydra:Class", "label": "FacetConfiguration", "hydra:title": "FacetConfiguration", "hydra:supportedProperty": [ { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/id", "@type": "rdf:Property", "label": "id", "domain": "#FacetConfiguration", "range": "xmls:string" }, "hydra:title": "id", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/sourceField", "@type": "hydra:Link", "label": "sourceField", "domain": "#FacetConfiguration", "owl:maxCardinality": 1, "range": "#SourceField" }, "hydra:title": "sourceField", "hydra:required": true, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/category", "@type": "hydra:Link", "label": "category", "domain": "#FacetConfiguration", "owl:maxCardinality": 1, "range": "#Category" }, "hydra:title": "category", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/displayMode", "@type": "rdf:Property", "label": "Display", "domain": "#FacetConfiguration", "range": "xmls:string" }, "hydra:title": "displayMode", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "visible": true, "editable": true, "position": 20, "input": "select", "options": { "values": [ { "value": "auto", "label": "Auto" }, { "value": "displayed", "label": "Displayed" }, { "value": "hidden", "label": "Hidden" } ] } } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/coverageRate", "@type": "rdf:Property", "label": "Coverage", "domain": "#FacetConfiguration", "range": "xmls:integer" }, "hydra:title": "coverageRate", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "visible": true, "editable": true, "position": 30, "input": "percentage", "validation": { "min": 0, "max": 100 } } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/maxSize", "@type": "rdf:Property", "label": "Max size", "domain": "#FacetConfiguration", "range": "xmls:integer" }, "hydra:title": "maxSize", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "visible": true, "editable": true, "position": 40, "validation": { "min": 0 } } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/sortOrder", "@type": "rdf:Property", "label": "Sort order", "domain": "#FacetConfiguration", "range": "xmls:string" }, "hydra:title": "sortOrder", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "visible": true, "editable": true, "position": 50, "input": "select", "options": { "values": [ { "value": "_count", "label": "Result count" }, { "value": "_manual", "label": "Admin sort" }, { "value": "_term", "label": "Name" }, { "value": "_score", "label": "Relevance" } ] } } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/isRecommendable", "@type": "rdf:Property", "label": "Facet recommenders", "domain": "#FacetConfiguration", "range": "xmls:boolean" }, "hydra:title": "isRecommendable", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "visible": false, "editable": true, "position": 60 } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/isVirtual", "@type": "rdf:Property", "label": "Virtual attributes", "domain": "#FacetConfiguration", "range": "xmls:boolean" }, "hydra:title": "isVirtual", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "visible": false, "editable": true, "position": 70 } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/position", "@type": "rdf:Property", "label": "Position", "domain": "#FacetConfiguration", "range": "xmls:integer" }, "hydra:title": "position", "hydra:required": false, "hydra:readable": true, "hydra:writeable": true, "gally": { "visible": true, "editable": true, "position": 80, "input": "text" } }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/defaultDisplayMode", "@type": "rdf:Property", "label": "defaultDisplayMode", "domain": "#FacetConfiguration", "range": "xmls:string" }, "hydra:title": "defaultDisplayMode", "hydra:required": false, "hydra:readable": true, "hydra:writeable": false }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/defaultCoverageRate", "@type": "rdf:Property", "label": "defaultCoverageRate", "domain": "#FacetConfiguration", "range": "xmls:integer" }, "hydra:title": "defaultCoverageRate", "hydra:required": false, "hydra:readable": true, "hydra:writeable": false }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/defaultMaxSize", "@type": "rdf:Property", "label": "defaultMaxSize", "domain": "#FacetConfiguration", "range": "xmls:integer" }, "hydra:title": "defaultMaxSize", "hydra:required": false, "hydra:readable": true, "hydra:writeable": false }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/defaultSortOrder", "@type": "rdf:Property", "label": "defaultSortOrder", "domain": "#FacetConfiguration", "range": "xmls:string" }, "hydra:title": "defaultSortOrder", "hydra:required": false, "hydra:readable": true, "hydra:writeable": false }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/defaultIsRecommendable", "@type": "rdf:Property", "label": "defaultIsRecommendable", "domain": "#FacetConfiguration", "range": "xmls:boolean" }, "hydra:title": "defaultIsRecommendable", "hydra:required": false, "hydra:readable": true, "hydra:writeable": false }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/defaultIsVirtual", "@type": "rdf:Property", "label": "defaultIsVirtual", "domain": "#FacetConfiguration", "range": "xmls:boolean" }, "hydra:title": "defaultIsVirtual", "hydra:required": false, "hydra:readable": true, "hydra:writeable": false }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/defaultPosition", "@type": "rdf:Property", "label": "defaultPosition", "domain": "#FacetConfiguration", "range": "xmls:integer" }, "hydra:title": "defaultPosition", "hydra:required": false, "hydra:readable": true, "hydra:writeable": false }, { "@type": "hydra:SupportedProperty", "hydra:property": { "@id": "#FacetConfiguration/sourceFieldCode", "@type": "rdf:Property", "label": "Attribute code", "domain": "#FacetConfiguration", "range": "xmls:string" }, "hydra:title": "sourceFieldCode", "hydra:required": false, "hydra:readable": true, "hydra:writeable": false, "gally": { "visible": true, "editable": false, "position": 10, "alias": "sourceField.code" } } ], "hydra:supportedOperation": [ {