/*
* Grakn - A Distributed Semantic Database
* Copyright (C) 2016 Grakn Labs Limited
*
* Grakn is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Grakn is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Grakn. If not, see <http://www.gnu.org/licenses/gpl.txt>.
*/
/*
* Keys used in HAL API JSON Objects
*/
export const RELATION_TYPE = 'RELATION';
export const TYPE_TYPE = 'TYPE';
export const RULE_TYPE = 'RULE';
export const RESOURCE_TYPE = 'RESOURCE';
export const ROLE_TYPE = 'ROLE';
export const ENTITY_TYPE = 'ENTITY';
export const GENERATED_RELATION_TYPE = 'generated-relation';
export const ROOT_CONCEPT = 'concept';
export const KEY_EMPTY_ROLE_NAME = 'EMPTY-GRAKN-ROLE';
export const KEY_ID = '_id';
export const KEY_EMBEDDED = '_embedded';
export const KEY_TYPE = '_type';
export const KEY_BASE_TYPE = '_baseType';
export const KEY_VALUE = 'value';
export const KEY_ONTOLOGY = 'ontology';
export const KEY_SELF = 'self';
export const KEY_LINKS = '_links';
export const KEY_HREF = 'href';
export const KEY_DIRECTION = '_direction';
export const SHELL_REQUEST = 'shell';
export const HAL_REQUEST = 'hal';
|