@elastic-suite/gally-admin-shared
Version:
Shared package for gally admin BO
456 lines (455 loc) • 13 kB
JSON
{
"@id": "https://localhost/docs.jsonld#Boost",
"@type": "http://www.w3.org/ns/hydra/core#Class",
"gally": {
"fieldset": {
"general": {
"position": 10
},
"sub": {
"position": 20,
"label": "Fonctionnement du boost",
"tooltip": "Fonctionnement du boost blabla tooltip"
}
}
},
"supportedOperation": [
{
"@type": [
"http://www.w3.org/ns/hydra/core#Operation",
"http://schema.org/FindAction"
],
"method": "GET",
"title": "Retrieves the collection of Boost resources.",
"label": "Retrieves the collection of Boost resources.",
"returns": {
"@id": "http://www.w3.org/ns/hydra/core#Collection"
}
},
{
"@type": [
"http://www.w3.org/ns/hydra/core#Operation",
"http://schema.org/CreateAction"
],
"expects": {
"@id": "https://localhost/docs.jsonld#Boost"
},
"method": "POST",
"title": "Creates a Boost resource.",
"label": "Creates a Boost resource.",
"returns": {
"@id": "https://localhost/docs.jsonld#Boost"
}
},
{
"@type": [
"http://www.w3.org/ns/hydra/core#Operation",
"http://schema.org/FindAction"
],
"method": "GET",
"title": "Retrieves Boost resource.",
"label": "Retrieves Boost resource.",
"returns": {
"@id": "https://localhost/docs.jsonld#Boost"
}
},
{
"@type": [
"http://www.w3.org/ns/hydra/core#Operation",
"http://schema.org/ReplaceAction"
],
"expects": {
"@id": "https://localhost/docs.jsonld#Boost"
},
"method": "PUT",
"title": "Replaces the Boost resource.",
"label": "Replaces the Boost resource.",
"returns": {
"@id": "https://localhost/docs.jsonld#Boost"
}
},
{
"@type": [
"http://www.w3.org/ns/hydra/core#Operation",
"http://schema.org/DeleteAction"
],
"method": "DELETE",
"title": "Deletes the Boost resource.",
"label": "Deletes the Boost resource.",
"returns": {
"@id": "http://www.w3.org/2002/07/owl#Nothing"
}
}
],
"supportedProperty": [
{
"@type": "http://www.w3.org/ns/hydra/core#SupportedProperty",
"gally": {
"visible": true,
"editable": false,
"position": 10,
"fieldset": "general"
},
"property": {
"@id": "https://localhost/docs.jsonld#Boost/name",
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
"domain": {
"@id": "https://localhost/docs.jsonld#Boost"
},
"range": {
"@id": "http://www.w3.org/2001/XMLSchema#string"
},
"label": "Name"
},
"readable": true,
"required": true,
"title": "name",
"writeable": true
},
{
"@type": "http://www.w3.org/ns/hydra/core#SupportedProperty",
"gally": {
"context": {
"search_configuration_attributes": {
"visible": false
}
},
"visible": true,
"editable": false,
"position": 20,
"fieldset": "general",
"depends": [
{
"field": "name",
"value": "adr"
},
{
"field": "conditionRule",
"value": "adr"
}
]
},
"property": {
"@id": "https://localhost/docs.jsonld#Boost/isActive",
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
"domain": {
"@id": "https://localhost/docs.jsonld#Boost"
},
"range": {
"@id": "http://www.w3.org/2001/XMLSchema#boolean"
},
"label": "Enabled"
},
"readable": true,
"required": false,
"title": "isActive",
"writeable": true
},
{
"@type": "http://www.w3.org/ns/hydra/core#SupportedProperty",
"gally": {
"position": 30,
"input": "rangeDate",
"visible": true,
"fieldset": "general",
"rangeDateType": "to",
"rangeDateId": 1
},
"property": {
"@id": "https://localhost/docs.jsonld#Boost/fromDate",
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
"domain": {
"@id": "https://localhost/docs.jsonld#Boost"
},
"range": {
"@id": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"label": "fromDate"
},
"readable": true,
"required": false,
"title": "fromDate",
"writeable": true
},
{
"@type": "http://www.w3.org/ns/hydra/core#SupportedProperty",
"gally": {
"position": 30,
"input": "rangeDate",
"visible": true,
"fieldset": "general",
"rangeDateType": "from",
"rangeDateId": 1
},
"property": {
"@id": "https://localhost/docs.jsonld#Boost/toDate",
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
"domain": {
"@id": "https://localhost/docs.jsonld#Boost"
},
"range": {
"@id": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"label": "toDate"
},
"readable": true,
"required": false,
"title": "toDate",
"writeable": true
},
{
"@type": "http://www.w3.org/ns/hydra/core#SupportedProperty",
"gally": {
"position": 50,
"visible": true,
"fieldset": "general",
"input": "ruleEngine"
},
"property": {
"@id": "https://localhost/docs.jsonld#Boost/conditionRule",
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
"domain": {
"@id": "https://localhost/docs.jsonld#Boost"
},
"range": {
"@id": "http://www.w3.org/2001/XMLSchema#string"
},
"label": "conditionRule"
},
"readable": true,
"required": false,
"title": "conditionRule",
"writeable": true
},
{
"@type": "http://www.w3.org/ns/hydra/core#SupportedProperty",
"gally": {
"editable": false,
"input": "select",
"options": {
"api_graphql": "boostModelOptions",
"api_rest": "/boost_model_options"
},
"position": 1,
"visible": true,
"fieldset": "general"
},
"property": {
"@id": "https://localhost/docs.jsonld#Boost/model",
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
"domain": {
"@id": "https://localhost/docs.jsonld#Boost"
},
"range": {
"@id": "http://www.w3.org/2001/XMLSchema#string"
},
"label": "Model"
},
"readable": true,
"required": true,
"title": "model",
"writeable": true
},
{
"@type": "http://www.w3.org/ns/hydra/core#SupportedProperty",
"gally": {
"position": 2,
"visible": true,
"fieldset": "general",
"input": "modelConfig",
"infoTooltip": "tooltip hello",
"options": {
"values": [
{ "field": "model", "value": "constant_score", "input": "slider" },
{
"field": "model",
"value": "behavioral_data",
"input": "boolean"
}
]
}
},
"property": {
"@id": "https://localhost/docs.jsonld#Boost/modelConfig",
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
"domain": {
"@id": "https://localhost/docs.jsonld#Boost"
},
"range": {
"@id": "http://www.w3.org/2001/XMLSchema#string"
},
"label": "modelConfig"
},
"readable": true,
"required": true,
"title": "modelConfig",
"writeable": true
},
{
"@type": "http://www.w3.org/ns/hydra/core#SupportedProperty",
"gally": {
"position": 80,
"visible": true,
"fieldset": "general"
},
"property": {
"@id": "https://localhost/docs.jsonld#Boost/localizedCatalogs",
"@type": "http://www.w3.org/ns/hydra/core#Link",
"domain": {
"@id": "https://localhost/docs.jsonld#Boost"
},
"range": {
"@id": "https://localhost/docs.jsonld#LocalizedCatalog"
},
"label": "localizedCatalogs"
},
"readable": true,
"required": true,
"title": "localizedCatalogs",
"writeable": true
},
{
"@type": "http://www.w3.org/ns/hydra/core#SupportedProperty",
"gally": {
"position": 90,
"input": "requestType",
"visible": true,
"fieldset": "general",
"requestTypeConfigurations": {
"operatorOptionsApi": "boost_query_text_operator_options",
"limitationTypeOptionsApi": "boost_limitation_type_options",
"requestTypeOptionsApi": "boost_request_type_options"
}
},
"property": {
"@id": "https://localhost/docs.jsonld#Boost/requestTypes",
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
"domain": {
"@id": "https://localhost/docs.jsonld#Boost"
},
"range": {
"@id": "http://www.w3.org/2001/XMLSchema#array"
},
"label": "Request type"
},
"readable": true,
"required": false,
"title": "requestTypes",
"writeable": true
},
{
"@type": "http://www.w3.org/ns/hydra/core#SupportedProperty",
"gally": {
"position": 110,
"visible": true,
"fieldset": "general",
"input": "categoryLimitations"
},
"property": {
"@id": "https://localhost/docs.jsonld#Boost/categoryLimitations",
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
"domain": {
"@id": "https://localhost/docs.jsonld#Boost"
},
"range": {
"@id": "http://www.w3.org/2001/XMLSchema#array"
},
"label": "categoryLimitations"
},
"readable": true,
"required": false,
"title": "categoryLimitations",
"writeable": true
},
{
"@type": "http://www.w3.org/ns/hydra/core#SupportedProperty",
"gally": {
"position": 120,
"visible": true,
"fieldset": "general",
"input": "searchLimitations"
},
"property": {
"@id": "https://localhost/docs.jsonld#Boost/searchLimitations",
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
"domain": {
"@id": "https://localhost/docs.jsonld#Boost"
},
"range": {
"@id": "http://www.w3.org/2001/XMLSchema#array"
},
"label": "searchLimitations"
},
"readable": true,
"required": false,
"title": "searchLimitations",
"writeable": true
},
{
"@type": "http://www.w3.org/ns/hydra/core#SupportedProperty",
"property": {
"@id": "https://localhost/docs.jsonld#Boost/createdAt",
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
"domain": {
"@id": "https://localhost/docs.jsonld#Boost"
},
"range": {
"@id": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"label": "createdAt"
},
"readable": true,
"required": false,
"title": "createdAt",
"writeable": false
},
{
"@type": "http://www.w3.org/ns/hydra/core#SupportedProperty",
"property": {
"@id": "https://localhost/docs.jsonld#Boost/updatedAt",
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
"domain": {
"@id": "https://localhost/docs.jsonld#Boost"
},
"range": {
"@id": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"label": "updatedAt"
},
"readable": true,
"required": false,
"title": "updatedAt",
"writeable": false
},
{
"@type": "http://www.w3.org/ns/hydra/core#SupportedProperty",
"gally": {
"alias": "localizedCatalogs.id",
"editable": true,
"input": "optgroup",
"options": {
"api_graphql": "localizedCatalogGroupOptions",
"api_rest": "/localized_catalog_group_options"
},
"position": 130,
"visible": true,
"fieldset": "general"
},
"property": {
"@id": "https://localhost/docs.jsonld#Boost/localizedCatalogLabels",
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
"domain": {
"@id": "https://localhost/docs.jsonld#Boost"
},
"label": "Scope"
},
"readable": true,
"required": false,
"title": "localizedCatalogLabels",
"writeable": false
}
],
"title": "Boost",
"label": "Boost",
"url": "https://localhost/boosts"
}